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_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4784 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4785 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4789 (char *) "self",(char *) "defAttr", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 (arg1
)->SetDefAttr(arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4814 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4816 return Py_BuildValue((char *)"");
4818 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 wxGridCellAttrProvider
*result
;
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4842 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4845 PyObject
*arg2
= (PyObject
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4849 (char *) "self",(char *) "_self", NULL
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 Py_INCREF(Py_None
); resultobj
= Py_None
;
4870 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4876 wxGridCellAttr
*result
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 PyObject
* obj2
= 0 ;
4880 PyObject
* obj3
= 0 ;
4882 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4888 arg2
= (int) SWIG_AsInt(obj1
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4890 arg3
= (int) SWIG_AsInt(obj2
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4892 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= wxPyMake_wxGridCellAttr(result
);
4910 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4913 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4918 PyObject
* obj2
= 0 ;
4919 PyObject
* obj3
= 0 ;
4921 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4929 arg3
= (int) SWIG_AsInt(obj2
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4931 arg4
= (int) SWIG_AsInt(obj3
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 Py_INCREF(Py_None
); resultobj
= Py_None
;
4947 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
;
4949 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4950 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4956 (char *) "self",(char *) "attr",(char *) "row", NULL
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4964 arg3
= (int) SWIG_AsInt(obj2
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 (arg1
)->SetRowAttr(arg2
,arg3
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4983 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4987 PyObject
* obj2
= 0 ;
4989 (char *) "self",(char *) "attr",(char *) "col", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
4994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4997 arg3
= (int) SWIG_AsInt(obj2
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 (arg1
)->SetColAttr(arg2
,arg3
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5018 PyObject
* obj0
= 0 ;
5019 PyObject
* obj1
= 0 ;
5020 PyObject
* obj2
= 0 ;
5022 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5028 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5030 arg3
= (int) SWIG_AsInt(obj2
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 (arg1
)->UpdateAttrRows(arg2
,arg3
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5053 PyObject
* obj2
= 0 ;
5055 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5061 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5063 arg3
= (int) SWIG_AsInt(obj2
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 (arg1
)->UpdateAttrCols(arg2
,arg3
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5082 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
5084 return Py_BuildValue((char *)"");
5086 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxPyGridCellAttrProvider
*result
;
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
5108 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5111 PyObject
*arg2
= (PyObject
*) 0 ;
5112 PyObject
*arg3
= (PyObject
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5115 PyObject
* obj2
= 0 ;
5117 (char *) "self",(char *) "self",(char *) "_class", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 Py_INCREF(Py_None
); resultobj
= Py_None
;
5139 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
;
5141 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5145 wxGridCellAttr
*result
;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 PyObject
* obj2
= 0 ;
5149 PyObject
* obj3
= 0 ;
5151 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5157 arg2
= (int) SWIG_AsInt(obj1
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5159 arg3
= (int) SWIG_AsInt(obj2
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5161 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= wxPyMake_wxGridCellAttr(result
);
5179 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5182 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5186 PyObject
* obj1
= 0 ;
5187 PyObject
* obj2
= 0 ;
5188 PyObject
* obj3
= 0 ;
5190 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5198 arg3
= (int) SWIG_AsInt(obj2
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5200 arg4
= (int) SWIG_AsInt(obj3
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 Py_INCREF(Py_None
); resultobj
= Py_None
;
5216 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5219 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5223 PyObject
* obj2
= 0 ;
5225 (char *) "self",(char *) "attr",(char *) "row", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 arg3
= (int) SWIG_AsInt(obj2
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 Py_INCREF(Py_None
); resultobj
= Py_None
;
5249 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5252 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5256 PyObject
* obj2
= 0 ;
5258 (char *) "self",(char *) "attr",(char *) "col", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 arg3
= (int) SWIG_AsInt(obj2
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 (arg1
)->base_SetColAttr(arg2
,arg3
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 Py_INCREF(Py_None
); resultobj
= Py_None
;
5282 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5285 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5287 return Py_BuildValue((char *)"");
5289 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5292 PyObject
*arg2
= (PyObject
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5296 (char *) "self",(char *) "_self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 wxGridTableBase__setOORInfo(arg1
,arg2
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 Py_INCREF(Py_None
); resultobj
= Py_None
;
5317 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
;
5319 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5320 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5324 (char *) "self",(char *) "attrProvider", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
,
5331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 (arg1
)->SetAttrProvider(arg2
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 Py_INCREF(Py_None
); resultobj
= Py_None
;
5346 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
;
5348 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5349 wxGridCellAttrProvider
*result
;
5350 PyObject
* obj0
= 0 ;
5352 (char *) "self", NULL
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5366 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5374 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5377 wxGrid
*arg2
= (wxGrid
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5381 (char *) "self",(char *) "grid", NULL
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
5388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetView(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5409 (char *) "self", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= wxPyMake_wxObject(result
);
5431 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5435 PyObject
* obj0
= 0 ;
5437 (char *) "self", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 result
= (int)(arg1
)->GetNumberRows();
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_FromInt((int)result
);
5457 static PyObject
*_wrap_GridTableBase_GetNumberCols(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_GetNumberCols",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
)->GetNumberCols();
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_FromInt((int)result
);
5483 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5491 PyObject
* obj2
= 0 ;
5493 (char *) "self",(char *) "row",(char *) "col", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5499 arg2
= (int) SWIG_AsInt(obj1
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5501 arg3
= (int) SWIG_AsInt(obj2
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5519 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5525 PyObject
* obj0
= 0 ;
5526 PyObject
* obj1
= 0 ;
5527 PyObject
* obj2
= 0 ;
5529 (char *) "self",(char *) "row",(char *) "col", NULL
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 arg2
= (int) SWIG_AsInt(obj1
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5537 arg3
= (int) SWIG_AsInt(obj2
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (arg1
)->GetValue(arg2
,arg3
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5559 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5564 wxString
*arg4
= 0 ;
5565 bool temp4
= False
;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5568 PyObject
* obj2
= 0 ;
5569 PyObject
* obj3
= 0 ;
5571 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5577 arg2
= (int) SWIG_AsInt(obj1
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5579 arg3
= (int) SWIG_AsInt(obj2
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 arg4
= wxString_in_helper(obj3
);
5583 if (arg4
== NULL
) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 Py_INCREF(Py_None
); resultobj
= Py_None
;
5608 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 PyObject
* obj2
= 0 ;
5618 (char *) "self",(char *) "row",(char *) "col", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5624 arg2
= (int) SWIG_AsInt(obj1
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5626 arg3
= (int) SWIG_AsInt(obj2
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5648 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5653 wxString
*arg4
= 0 ;
5655 bool temp4
= False
;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5658 PyObject
* obj2
= 0 ;
5659 PyObject
* obj3
= 0 ;
5661 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5667 arg2
= (int) SWIG_AsInt(obj1
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5669 arg3
= (int) SWIG_AsInt(obj2
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 arg4
= wxString_in_helper(obj3
);
5673 if (arg4
== NULL
) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5700 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5705 wxString
*arg4
= 0 ;
5707 bool temp4
= False
;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5710 PyObject
* obj2
= 0 ;
5711 PyObject
* obj3
= 0 ;
5713 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5719 arg2
= (int) SWIG_AsInt(obj1
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5721 arg3
= (int) SWIG_AsInt(obj2
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5752 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
*resultobj
;
5754 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5760 PyObject
* obj2
= 0 ;
5762 (char *) "self",(char *) "row",(char *) "col", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5768 arg2
= (int) SWIG_AsInt(obj1
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5770 arg3
= (int) SWIG_AsInt(obj2
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_FromLong((long)result
);
5786 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5793 PyObject
* obj1
= 0 ;
5794 PyObject
* obj2
= 0 ;
5796 (char *) "self",(char *) "row",(char *) "col", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5802 arg2
= (int) SWIG_AsInt(obj1
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5804 arg3
= (int) SWIG_AsInt(obj2
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= SWIG_FromDouble((double)result
);
5820 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5828 PyObject
* obj2
= 0 ;
5830 (char *) "self",(char *) "row",(char *) "col", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 arg2
= (int) SWIG_AsInt(obj1
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5838 arg3
= (int) SWIG_AsInt(obj2
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5856 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 PyObject
* obj2
= 0 ;
5865 PyObject
* obj3
= 0 ;
5867 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 arg2
= (int) SWIG_AsInt(obj1
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5875 arg3
= (int) SWIG_AsInt(obj2
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5877 arg4
= (long) SWIG_AsLong(obj3
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5901 PyObject
* obj2
= 0 ;
5902 PyObject
* obj3
= 0 ;
5904 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 arg2
= (int) SWIG_AsInt(obj1
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5912 arg3
= (int) SWIG_AsInt(obj2
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5914 arg4
= (double) SWIG_AsDouble(obj3
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 Py_INCREF(Py_None
); resultobj
= Py_None
;
5930 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5936 PyObject
* obj0
= 0 ;
5937 PyObject
* obj1
= 0 ;
5938 PyObject
* obj2
= 0 ;
5939 PyObject
* obj3
= 0 ;
5941 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5947 arg2
= (int) SWIG_AsInt(obj1
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5949 arg3
= (int) SWIG_AsInt(obj2
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5951 arg4
= (bool) SWIG_AsBool(obj3
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 Py_INCREF(Py_None
); resultobj
= Py_None
;
5967 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5972 (char *) "self", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 Py_INCREF(Py_None
); resultobj
= Py_None
;
5992 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5995 size_t arg2
= (size_t) 0 ;
5996 size_t arg3
= (size_t) 1 ;
5998 PyObject
* obj0
= 0 ;
5999 PyObject
* obj1
= 0 ;
6000 PyObject
* obj2
= 0 ;
6002 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6013 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6032 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
;
6034 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6035 size_t arg2
= (size_t) 1 ;
6037 PyObject
* obj0
= 0 ;
6038 PyObject
* obj1
= 0 ;
6040 (char *) "self",(char *) "numRows", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (bool)(arg1
)->AppendRows(arg2
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6066 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6069 size_t arg2
= (size_t) 0 ;
6070 size_t arg3
= (size_t) 1 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6076 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6083 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6106 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6109 size_t arg2
= (size_t) 0 ;
6110 size_t arg3
= (size_t) 1 ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 PyObject
* obj2
= 0 ;
6116 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6123 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6146 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6149 size_t arg2
= (size_t) 1 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6154 (char *) "self",(char *) "numCols", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6161 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)(arg1
)->AppendCols(arg2
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6180 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6183 size_t arg2
= (size_t) 0 ;
6184 size_t arg3
= (size_t) 1 ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6188 PyObject
* obj2
= 0 ;
6190 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6220 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "row", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 arg2
= (int) SWIG_AsInt(obj1
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (arg1
)->GetRowLabelValue(arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6256 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "col", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 arg2
= (int) SWIG_AsInt(obj1
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (arg1
)->GetColLabelValue(arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6292 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6296 wxString
*arg3
= 0 ;
6297 bool temp3
= False
;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6300 PyObject
* obj2
= 0 ;
6302 (char *) "self",(char *) "row",(char *) "value", NULL
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 arg2
= (int) SWIG_AsInt(obj1
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 arg3
= wxString_in_helper(obj2
);
6312 if (arg3
== NULL
) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 Py_INCREF(Py_None
); resultobj
= Py_None
;
6337 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6341 wxString
*arg3
= 0 ;
6342 bool temp3
= False
;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6345 PyObject
* obj2
= 0 ;
6347 (char *) "self",(char *) "col",(char *) "value", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6353 arg2
= (int) SWIG_AsInt(obj1
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 arg3
= wxString_in_helper(obj2
);
6357 if (arg3
== NULL
) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 Py_INCREF(Py_None
); resultobj
= Py_None
;
6382 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6386 PyObject
* obj0
= 0 ;
6388 (char *) "self", NULL
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 result
= (bool)(arg1
)->CanHaveAttributes();
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6410 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6416 wxGridCellAttr
*result
;
6417 PyObject
* obj0
= 0 ;
6418 PyObject
* obj1
= 0 ;
6419 PyObject
* obj2
= 0 ;
6420 PyObject
* obj3
= 0 ;
6422 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 arg2
= (int) SWIG_AsInt(obj1
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6430 arg3
= (int) SWIG_AsInt(obj2
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6432 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= wxPyMake_wxGridCellAttr(result
);
6450 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6453 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6458 PyObject
* obj2
= 0 ;
6459 PyObject
* obj3
= 0 ;
6461 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 arg3
= (int) SWIG_AsInt(obj2
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6471 arg4
= (int) SWIG_AsInt(obj3
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 Py_INCREF(Py_None
); resultobj
= Py_None
;
6487 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6490 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6494 PyObject
* obj2
= 0 ;
6496 (char *) "self",(char *) "attr",(char *) "row", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6504 arg3
= (int) SWIG_AsInt(obj2
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 (arg1
)->SetRowAttr(arg2
,arg3
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 Py_INCREF(Py_None
); resultobj
= Py_None
;
6520 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6523 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 PyObject
* obj2
= 0 ;
6529 (char *) "self",(char *) "attr",(char *) "col", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6537 arg3
= (int) SWIG_AsInt(obj2
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 (arg1
)->SetColAttr(arg2
,arg3
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 Py_INCREF(Py_None
); resultobj
= Py_None
;
6553 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6556 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6558 return Py_BuildValue((char *)"");
6560 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxPyGridTableBase
*result
;
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
6582 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6585 PyObject
*arg2
= (PyObject
*) 0 ;
6586 PyObject
*arg3
= (PyObject
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6589 PyObject
* obj2
= 0 ;
6591 (char *) "self",(char *) "self",(char *) "_class", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 Py_INCREF(Py_None
); resultobj
= Py_None
;
6613 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6618 (char *) "self", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 wxPyGridTableBase_Destroy(arg1
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 Py_INCREF(Py_None
); resultobj
= Py_None
;
6638 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6646 PyObject
* obj2
= 0 ;
6648 (char *) "self",(char *) "row",(char *) "col", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 arg2
= (int) SWIG_AsInt(obj1
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6656 arg3
= (int) SWIG_AsInt(obj2
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6678 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6683 wxString
*arg4
= 0 ;
6685 bool temp4
= False
;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6688 PyObject
* obj2
= 0 ;
6689 PyObject
* obj3
= 0 ;
6691 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 arg2
= (int) SWIG_AsInt(obj1
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6699 arg3
= (int) SWIG_AsInt(obj2
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 arg4
= wxString_in_helper(obj3
);
6703 if (arg4
== NULL
) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6730 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6735 wxString
*arg4
= 0 ;
6737 bool temp4
= False
;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6740 PyObject
* obj2
= 0 ;
6741 PyObject
* obj3
= 0 ;
6743 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6749 arg2
= (int) SWIG_AsInt(obj1
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6751 arg3
= (int) SWIG_AsInt(obj2
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 arg4
= wxString_in_helper(obj3
);
6755 if (arg4
== NULL
) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6782 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6785 PyObject
* obj0
= 0 ;
6787 (char *) "self", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 (arg1
)->base_Clear();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 Py_INCREF(Py_None
); resultobj
= Py_None
;
6807 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6810 size_t arg2
= (size_t) 0 ;
6811 size_t arg3
= (size_t) 1 ;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6815 PyObject
* obj2
= 0 ;
6817 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6824 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6828 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6847 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6850 size_t arg2
= (size_t) 1 ;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6855 (char *) "self",(char *) "numRows", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6881 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6884 size_t arg2
= (size_t) 0 ;
6885 size_t arg3
= (size_t) 1 ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6889 PyObject
* obj2
= 0 ;
6891 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6898 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6902 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6921 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6924 size_t arg2
= (size_t) 0 ;
6925 size_t arg3
= (size_t) 1 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 PyObject
* obj2
= 0 ;
6931 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6938 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6961 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
;
6963 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6964 size_t arg2
= (size_t) 1 ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6969 (char *) "self",(char *) "numCols", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6976 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6995 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6998 size_t arg2
= (size_t) 0 ;
6999 size_t arg3
= (size_t) 1 ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 PyObject
* obj2
= 0 ;
7005 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7016 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7035 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7043 (char *) "self",(char *) "row", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7049 arg2
= (int) SWIG_AsInt(obj1
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (arg1
)->base_GetRowLabelValue(arg2
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7071 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7079 (char *) "self",(char *) "col", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7085 arg2
= (int) SWIG_AsInt(obj1
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (arg1
)->base_GetColLabelValue(arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7107 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7111 wxString
*arg3
= 0 ;
7112 bool temp3
= False
;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 PyObject
* obj2
= 0 ;
7117 (char *) "self",(char *) "row",(char *) "value", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7123 arg2
= (int) SWIG_AsInt(obj1
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 arg3
= wxString_in_helper(obj2
);
7127 if (arg3
== NULL
) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7152 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7156 wxString
*arg3
= 0 ;
7157 bool temp3
= False
;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7160 PyObject
* obj2
= 0 ;
7162 (char *) "self",(char *) "col",(char *) "value", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7168 arg2
= (int) SWIG_AsInt(obj1
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 arg3
= wxString_in_helper(obj2
);
7172 if (arg3
== NULL
) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 Py_INCREF(Py_None
); resultobj
= Py_None
;
7197 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (bool)(arg1
)->base_CanHaveAttributes();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7225 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7231 wxGridCellAttr
*result
;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7234 PyObject
* obj2
= 0 ;
7235 PyObject
* obj3
= 0 ;
7237 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7243 arg2
= (int) SWIG_AsInt(obj1
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7245 arg3
= (int) SWIG_AsInt(obj2
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7247 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_AsInt(obj3
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= wxPyMake_wxGridCellAttr(result
);
7265 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7268 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7273 PyObject
* obj2
= 0 ;
7274 PyObject
* obj3
= 0 ;
7276 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7284 arg3
= (int) SWIG_AsInt(obj2
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7286 arg4
= (int) SWIG_AsInt(obj3
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7305 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 PyObject
* obj2
= 0 ;
7311 (char *) "self",(char *) "attr",(char *) "row", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7319 arg3
= (int) SWIG_AsInt(obj2
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 Py_INCREF(Py_None
); resultobj
= Py_None
;
7335 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
;
7337 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7338 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7340 PyObject
* obj0
= 0 ;
7341 PyObject
* obj1
= 0 ;
7342 PyObject
* obj2
= 0 ;
7344 (char *) "self",(char *) "attr",(char *) "col", NULL
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7352 arg3
= (int) SWIG_AsInt(obj2
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 (arg1
)->base_SetColAttr(arg2
,arg3
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 Py_INCREF(Py_None
); resultobj
= Py_None
;
7368 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
7370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7371 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7373 return Py_BuildValue((char *)"");
7375 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 int arg1
= (int) 0 ;
7378 int arg2
= (int) 0 ;
7379 wxGridStringTable
*result
;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7383 (char *) "numRows",(char *) "numCols", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7388 arg1
= (int) SWIG_AsInt(obj0
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7392 arg2
= (int) SWIG_AsInt(obj1
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
7409 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
7411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7412 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7414 return Py_BuildValue((char *)"");
7416 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7420 int arg3
= (int) -1 ;
7421 int arg4
= (int) -1 ;
7422 wxGridTableMessage
*result
;
7423 PyObject
* obj0
= 0 ;
7424 PyObject
* obj1
= 0 ;
7425 PyObject
* obj2
= 0 ;
7426 PyObject
* obj3
= 0 ;
7428 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7434 arg2
= (int) SWIG_AsInt(obj1
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 arg3
= (int) SWIG_AsInt(obj2
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7441 arg4
= (int) SWIG_AsInt(obj3
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
7458 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7463 (char *) "self", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 Py_INCREF(Py_None
); resultobj
= Py_None
;
7483 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7486 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7490 (char *) "self",(char *) "table", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
7497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 (arg1
)->SetTableObject(arg2
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7515 wxGridTableBase
*result
;
7516 PyObject
* obj0
= 0 ;
7518 (char *) "self", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= wxPyMake_wxGridTableBase(result
);
7540 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
*resultobj
;
7542 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7547 (char *) "self",(char *) "id", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7553 arg2
= (int) SWIG_AsInt(obj1
);
7554 if (PyErr_Occurred()) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 (arg1
)->SetId(arg2
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 Py_INCREF(Py_None
); resultobj
= Py_None
;
7569 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7575 (char *) "self", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (int)(arg1
)->GetId();
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= SWIG_FromInt((int)result
);
7595 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
;
7597 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7602 (char *) "self",(char *) "comInt1", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7608 arg2
= (int) SWIG_AsInt(obj1
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 (arg1
)->SetCommandInt(arg2
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 Py_INCREF(Py_None
); resultobj
= Py_None
;
7624 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "self", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (int)(arg1
)->GetCommandInt();
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_FromInt((int)result
);
7650 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7657 (char *) "self",(char *) "comInt2", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 arg2
= (int) SWIG_AsInt(obj1
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 (arg1
)->SetCommandInt2(arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 Py_INCREF(Py_None
); resultobj
= Py_None
;
7679 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (int)(arg1
)->GetCommandInt2();
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_FromInt((int)result
);
7705 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7708 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7710 return Py_BuildValue((char *)"");
7712 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 int arg1
= (int) -1 ;
7715 int arg2
= (int) -1 ;
7716 wxGridCellCoords
*result
;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7720 (char *) "r",(char *) "c", NULL
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7725 arg1
= (int) SWIG_AsInt(obj0
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7729 arg2
= (int) SWIG_AsInt(obj1
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
7746 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7751 (char *) "self", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 Py_INCREF(Py_None
); resultobj
= Py_None
;
7771 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7777 (char *) "self", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",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();
7785 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_FromInt((int)result
);
7797 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7804 (char *) "self",(char *) "n", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7810 arg2
= (int) SWIG_AsInt(obj1
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 (arg1
)->SetRow(arg2
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 Py_INCREF(Py_None
); resultobj
= Py_None
;
7826 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7832 (char *) "self", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_FromInt((int)result
);
7852 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7857 PyObject
* obj1
= 0 ;
7859 (char *) "self",(char *) "n", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 arg2
= (int) SWIG_AsInt(obj1
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7869 (arg1
)->SetCol(arg2
);
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 Py_INCREF(Py_None
); resultobj
= Py_None
;
7881 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
*resultobj
;
7883 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7888 PyObject
* obj2
= 0 ;
7890 (char *) "self",(char *) "row",(char *) "col", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7896 arg2
= (int) SWIG_AsInt(obj1
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7898 arg3
= (int) SWIG_AsInt(obj2
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 (arg1
)->Set(arg2
,arg3
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 Py_INCREF(Py_None
); resultobj
= Py_None
;
7914 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7917 wxGridCellCoords
*arg2
= 0 ;
7919 wxGridCellCoords temp2
;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7923 (char *) "self",(char *) "other", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7931 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7949 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7952 wxGridCellCoords
*arg2
= 0 ;
7954 wxGridCellCoords temp2
;
7955 PyObject
* obj0
= 0 ;
7956 PyObject
* obj1
= 0 ;
7958 (char *) "self",(char *) "other", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7966 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7984 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8010 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
8012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8013 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
8015 return Py_BuildValue((char *)"");
8017 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxWindow
*arg1
= (wxWindow
*) 0 ;
8021 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8022 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8023 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8024 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8025 long arg5
= (long) wxWANTS_CHARS
;
8026 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8027 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8031 bool temp6
= False
;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8034 PyObject
* obj2
= 0 ;
8035 PyObject
* obj3
= 0 ;
8036 PyObject
* obj4
= 0 ;
8037 PyObject
* obj5
= 0 ;
8039 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8045 arg2
= (int) SWIG_AsInt(obj1
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8056 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8060 arg5
= (long) SWIG_AsLong(obj4
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8065 arg6
= wxString_in_helper(obj5
);
8066 if (arg6
== NULL
) SWIG_fail
;
8071 if (!wxPyCheckForApp()) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= wxPyMake_wxObject(result
);
8095 static PyObject
*_wrap_new_PreGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
;
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
8104 if (!wxPyCheckForApp()) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (wxGrid
*)new wxGrid();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= wxPyMake_wxObject(result
);
8120 static PyObject
*_wrap_Grid_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
;
8122 wxGrid
*arg1
= (wxGrid
*) 0 ;
8123 wxWindow
*arg2
= (wxWindow
*) 0 ;
8125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8129 long arg6
= (long) wxWANTS_CHARS
;
8130 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8131 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8135 bool temp7
= False
;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8138 PyObject
* obj2
= 0 ;
8139 PyObject
* obj3
= 0 ;
8140 PyObject
* obj4
= 0 ;
8141 PyObject
* obj5
= 0 ;
8142 PyObject
* obj6
= 0 ;
8144 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8152 arg3
= (int) SWIG_AsInt(obj2
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8157 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8163 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8167 arg6
= (long) SWIG_AsLong(obj5
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8172 arg7
= wxString_in_helper(obj6
);
8173 if (arg7
== NULL
) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8201 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8203 wxGrid
*arg1
= (wxGrid
*) 0 ;
8206 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8210 PyObject
* obj2
= 0 ;
8211 PyObject
* obj3
= 0 ;
8213 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8219 arg2
= (int) SWIG_AsInt(obj1
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8221 arg3
= (int) SWIG_AsInt(obj2
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8243 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxGrid
*arg1
= (wxGrid
*) 0 ;
8246 WXGRIDSELECTIONMODES arg2
;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8250 (char *) "self",(char *) "selmode", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 arg2
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj1
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 (arg1
)->SetSelectionMode(arg2
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 Py_INCREF(Py_None
); resultobj
= Py_None
;
8272 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxGrid
*arg1
= (wxGrid
*) 0 ;
8275 WXGRIDSELECTIONMODES result
;
8276 PyObject
* obj0
= 0 ;
8278 (char *) "self", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_FromInt((int)result
);
8298 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxGrid
*arg1
= (wxGrid
*) 0 ;
8302 PyObject
* obj0
= 0 ;
8304 (char *) "self", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 result
= (int)(arg1
)->GetNumberRows();
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= SWIG_FromInt((int)result
);
8324 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxGrid
*arg1
= (wxGrid
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8330 (char *) "self", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (int)(arg1
)->GetNumberCols();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_FromInt((int)result
);
8350 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
;
8352 wxGrid
*arg1
= (wxGrid
*) 0 ;
8353 wxGridTableMessage
*arg2
= 0 ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8358 (char *) "self","arg2", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8368 PyErr_SetString(PyExc_TypeError
,"null reference");
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8387 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 wxGrid
*arg1
= (wxGrid
*) 0 ;
8390 wxGridTableBase
*result
;
8391 PyObject
* obj0
= 0 ;
8393 (char *) "self", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= wxPyMake_wxGridTableBase(result
);
8415 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
;
8417 wxGrid
*arg1
= (wxGrid
*) 0 ;
8418 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8419 bool arg3
= (bool) False
;
8420 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8424 PyObject
* obj2
= 0 ;
8425 PyObject
* obj3
= 0 ;
8427 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 arg3
= (bool) SWIG_AsBool(obj2
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8440 arg4
= (WXGRIDSELECTIONMODES
) SWIG_AsInt(obj3
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8459 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxGrid
*arg1
= (wxGrid
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 (arg1
)->ClearGrid();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 Py_INCREF(Py_None
); resultobj
= Py_None
;
8484 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxGrid
*arg1
= (wxGrid
*) 0 ;
8487 int arg2
= (int) 0 ;
8488 int arg3
= (int) 1 ;
8489 bool arg4
= (bool) True
;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8493 PyObject
* obj2
= 0 ;
8494 PyObject
* obj3
= 0 ;
8496 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 arg2
= (int) SWIG_AsInt(obj1
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8507 arg3
= (int) SWIG_AsInt(obj2
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 arg4
= (bool) SWIG_AsBool(obj3
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8530 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxGrid
*arg1
= (wxGrid
*) 0 ;
8533 int arg2
= (int) 1 ;
8534 bool arg3
= (bool) True
;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj1
= 0 ;
8538 PyObject
* obj2
= 0 ;
8540 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8547 arg2
= (int) SWIG_AsInt(obj1
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8551 arg3
= (bool) SWIG_AsBool(obj2
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8570 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxGrid
*arg1
= (wxGrid
*) 0 ;
8573 int arg2
= (int) 0 ;
8574 int arg3
= (int) 1 ;
8575 bool arg4
= (bool) True
;
8577 PyObject
* obj0
= 0 ;
8578 PyObject
* obj1
= 0 ;
8579 PyObject
* obj2
= 0 ;
8580 PyObject
* obj3
= 0 ;
8582 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 arg2
= (int) SWIG_AsInt(obj1
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8593 arg3
= (int) SWIG_AsInt(obj2
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8597 arg4
= (bool) SWIG_AsBool(obj3
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8616 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxGrid
*arg1
= (wxGrid
*) 0 ;
8619 int arg2
= (int) 0 ;
8620 int arg3
= (int) 1 ;
8621 bool arg4
= (bool) True
;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8625 PyObject
* obj2
= 0 ;
8626 PyObject
* obj3
= 0 ;
8628 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8635 arg2
= (int) SWIG_AsInt(obj1
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 arg3
= (int) SWIG_AsInt(obj2
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8643 arg4
= (bool) SWIG_AsBool(obj3
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8662 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxGrid
*arg1
= (wxGrid
*) 0 ;
8665 int arg2
= (int) 1 ;
8666 bool arg3
= (bool) True
;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8670 PyObject
* obj2
= 0 ;
8672 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8679 arg2
= (int) SWIG_AsInt(obj1
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8683 arg3
= (bool) SWIG_AsBool(obj2
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8702 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxGrid
*arg1
= (wxGrid
*) 0 ;
8705 int arg2
= (int) 0 ;
8706 int arg3
= (int) 1 ;
8707 bool arg4
= (bool) True
;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8711 PyObject
* obj2
= 0 ;
8712 PyObject
* obj3
= 0 ;
8714 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8721 arg2
= (int) SWIG_AsInt(obj1
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8725 arg3
= (int) SWIG_AsInt(obj2
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8729 arg4
= (bool) SWIG_AsBool(obj3
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8748 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxGrid
*arg1
= (wxGrid
*) 0 ;
8752 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8753 PyObject
* obj0
= 0 ;
8754 PyObject
* obj1
= 0 ;
8755 PyObject
* obj2
= 0 ;
8757 (char *) "self",(char *) "dc",(char *) "attr", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8767 PyErr_SetString(PyExc_TypeError
,"null reference");
8770 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxGrid
*arg1
= (wxGrid
*) 0 ;
8790 wxString
*arg3
= 0 ;
8792 int arg5
= (int) wxLEFT
;
8793 int arg6
= (int) wxTOP
;
8794 int arg7
= (int) wxHORIZONTAL
;
8795 bool temp3
= False
;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8799 PyObject
* obj2
= 0 ;
8800 PyObject
* obj3
= 0 ;
8801 PyObject
* obj4
= 0 ;
8802 PyObject
* obj5
= 0 ;
8803 PyObject
* obj6
= 0 ;
8805 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8815 PyErr_SetString(PyExc_TypeError
,"null reference");
8819 arg3
= wxString_in_helper(obj2
);
8820 if (arg3
== NULL
) SWIG_fail
;
8825 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8828 arg5
= (int) SWIG_AsInt(obj4
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8832 arg6
= (int) SWIG_AsInt(obj5
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 arg7
= (int) SWIG_AsInt(obj6
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 Py_INCREF(Py_None
); resultobj
= Py_None
;
8861 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxGrid
*arg1
= (wxGrid
*) 0 ;
8865 wxArrayString
*arg3
= 0 ;
8866 long *arg4
= (long *) 0 ;
8867 long *arg5
= (long *) 0 ;
8868 bool temp3
= False
;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8873 PyObject
* obj2
= 0 ;
8875 (char *) "self",(char *) "dc",(char *) "lines", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8887 PyErr_SetString(PyExc_TypeError
,"null reference");
8891 if (! PySequence_Check(obj2
)) {
8892 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8895 arg3
= new wxArrayString
;
8897 int i
, len
=PySequence_Length(obj2
);
8898 for (i
=0; i
<len
; i
++) {
8899 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8901 PyObject
* str
= PyObject_Unicode(item
);
8903 PyObject
* str
= PyObject_Str(item
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8906 arg3
->Add(Py2wxString(str
));
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8921 resultobj
= t_output_helper(resultobj
,o
);
8924 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8925 resultobj
= t_output_helper(resultobj
,o
);
8928 if (temp3
) delete arg3
;
8933 if (temp3
) delete arg3
;
8939 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxGrid
*arg1
= (wxGrid
*) 0 ;
8942 PyObject
* obj0
= 0 ;
8944 (char *) "self", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 (arg1
)->BeginBatch();
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 Py_INCREF(Py_None
); resultobj
= Py_None
;
8964 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxGrid
*arg1
= (wxGrid
*) 0 ;
8967 PyObject
* obj0
= 0 ;
8969 (char *) "self", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
8973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxGrid
*arg1
= (wxGrid
*) 0 ;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "self", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
8999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (int)(arg1
)->GetBatchCount();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_FromInt((int)result
);
9015 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxGrid
*arg1
= (wxGrid
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->ForceRefresh();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxGrid
*arg1
= (wxGrid
*) 0 ;
9044 PyObject
* obj0
= 0 ;
9046 (char *) "self", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (bool)(arg1
)->IsEditable();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9068 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxGrid
*arg1
= (wxGrid
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9073 PyObject
* obj1
= 0 ;
9075 (char *) "self",(char *) "edit", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 arg2
= (bool) SWIG_AsBool(obj1
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 (arg1
)->EnableEditing(arg2
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 Py_INCREF(Py_None
); resultobj
= Py_None
;
9097 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxGrid
*arg1
= (wxGrid
*) 0 ;
9100 bool arg2
= (bool) True
;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9104 (char *) "self",(char *) "enable", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 arg2
= (bool) SWIG_AsBool(obj1
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->EnableCellEditControl(arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxGrid
*arg1
= (wxGrid
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9133 (char *) "self", NULL
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
9137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 (arg1
)->DisableCellEditControl();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 Py_INCREF(Py_None
); resultobj
= Py_None
;
9153 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxGrid
*arg1
= (wxGrid
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9159 (char *) "self", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9181 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxGrid
*arg1
= (wxGrid
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9187 (char *) "self", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
9191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9209 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxGrid
*arg1
= (wxGrid
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9237 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxGrid
*arg1
= (wxGrid
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9243 (char *) "self", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9265 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxGrid
*arg1
= (wxGrid
*) 0 ;
9268 PyObject
* obj0
= 0 ;
9270 (char *) "self", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 (arg1
)->ShowCellEditControl();
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 Py_INCREF(Py_None
); resultobj
= Py_None
;
9290 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
*resultobj
;
9292 wxGrid
*arg1
= (wxGrid
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9295 (char *) "self", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 (arg1
)->HideCellEditControl();
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 Py_INCREF(Py_None
); resultobj
= Py_None
;
9315 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9317 wxGrid
*arg1
= (wxGrid
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9320 (char *) "self", NULL
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 (arg1
)->SaveEditControlValue();
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 Py_INCREF(Py_None
); resultobj
= Py_None
;
9340 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxGrid
*arg1
= (wxGrid
*) 0 ;
9345 wxGridCellCoords result
;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 PyObject
* obj2
= 0 ;
9350 (char *) "self",(char *) "x",(char *) "y", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9356 arg2
= (int) SWIG_AsInt(obj1
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9358 arg3
= (int) SWIG_AsInt(obj2
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9368 wxGridCellCoords
* resultptr
;
9369 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
9378 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxGrid
*arg1
= (wxGrid
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9386 (char *) "self",(char *) "y", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 arg2
= (int) SWIG_AsInt(obj1
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (int)(arg1
)->YToRow(arg2
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_FromInt((int)result
);
9408 static PyObject
*_wrap_Grid_XToCol(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 *) "x", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",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
)->XToCol(arg2
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_FromInt((int)result
);
9438 static PyObject
*_wrap_Grid_YToEdgeOfRow(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 *) "y", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",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
)->YToEdgeOfRow(arg2
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_FromInt((int)result
);
9468 static PyObject
*_wrap_Grid_XToEdgeOfCol(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 *) "x", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",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
)->XToEdgeOfCol(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_FromInt((int)result
);
9498 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxGrid
*arg1
= (wxGrid
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9508 (char *) "self",(char *) "row",(char *) "col", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9514 arg2
= (int) SWIG_AsInt(obj1
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9516 arg3
= (int) SWIG_AsInt(obj2
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= (arg1
)->CellToRect(arg2
,arg3
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9527 resultptr
= new wxRect((wxRect
&) result
);
9528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9536 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxGrid
*arg1
= (wxGrid
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (int)(arg1
)->GetGridCursorRow();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_FromInt((int)result
);
9562 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxGrid
*arg1
= (wxGrid
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9568 (char *) "self", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (int)(arg1
)->GetGridCursorCol();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_FromInt((int)result
);
9588 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxGrid
*arg1
= (wxGrid
*) 0 ;
9593 bool arg4
= (bool) True
;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 PyObject
* obj2
= 0 ;
9598 PyObject
* obj3
= 0 ;
9600 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 arg2
= (int) SWIG_AsInt(obj1
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9608 arg3
= (int) SWIG_AsInt(obj2
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 arg4
= (bool) SWIG_AsBool(obj3
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9630 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxGrid
*arg1
= (wxGrid
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9637 PyObject
* obj2
= 0 ;
9639 (char *) "self",(char *) "row",(char *) "col", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9645 arg2
= (int) SWIG_AsInt(obj1
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9647 arg3
= (int) SWIG_AsInt(obj2
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 (arg1
)->MakeCellVisible(arg2
,arg3
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 Py_INCREF(Py_None
); resultobj
= Py_None
;
9663 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxGrid
*arg1
= (wxGrid
*) 0 ;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9670 PyObject
* obj2
= 0 ;
9672 (char *) "self",(char *) "row",(char *) "col", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 arg2
= (int) SWIG_AsInt(obj1
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9680 arg3
= (int) SWIG_AsInt(obj2
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 (arg1
)->SetGridCursor(arg2
,arg3
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 Py_INCREF(Py_None
); resultobj
= Py_None
;
9696 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxGrid
*arg1
= (wxGrid
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9704 (char *) "self",(char *) "expandSelection", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 arg2
= (bool) SWIG_AsBool(obj1
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxGrid
*arg1
= (wxGrid
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9736 (char *) "self",(char *) "expandSelection", NULL
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9742 arg2
= (bool) SWIG_AsBool(obj1
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9760 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxGrid
*arg1
= (wxGrid
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9768 (char *) "self",(char *) "expandSelection", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9774 arg2
= (bool) SWIG_AsBool(obj1
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9792 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxGrid
*arg1
= (wxGrid
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9798 PyObject
* obj1
= 0 ;
9800 (char *) "self",(char *) "expandSelection", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9806 arg2
= (bool) SWIG_AsBool(obj1
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9824 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxGrid
*arg1
= (wxGrid
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (bool)(arg1
)->MovePageDown();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9852 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxGrid
*arg1
= (wxGrid
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9858 (char *) "self", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (bool)(arg1
)->MovePageUp();
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9880 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxGrid
*arg1
= (wxGrid
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9888 (char *) "self",(char *) "expandSelection", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 arg2
= (bool) SWIG_AsBool(obj1
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9912 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
;
9914 wxGrid
*arg1
= (wxGrid
*) 0 ;
9917 PyObject
* obj0
= 0 ;
9918 PyObject
* obj1
= 0 ;
9920 (char *) "self",(char *) "expandSelection", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9926 arg2
= (bool) SWIG_AsBool(obj1
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9944 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxGrid
*arg1
= (wxGrid
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9950 PyObject
* obj1
= 0 ;
9952 (char *) "self",(char *) "expandSelection", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9958 arg2
= (bool) SWIG_AsBool(obj1
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9976 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxGrid
*arg1
= (wxGrid
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "expandSelection", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9990 arg2
= (bool) SWIG_AsBool(obj1
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10008 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxGrid
*arg1
= (wxGrid
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (int)(arg1
)->GetDefaultRowLabelSize();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= SWIG_FromInt((int)result
);
10034 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxGrid
*arg1
= (wxGrid
*) 0 ;
10038 PyObject
* obj0
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (int)(arg1
)->GetRowLabelSize();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_FromInt((int)result
);
10060 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxGrid
*arg1
= (wxGrid
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (int)(arg1
)->GetDefaultColLabelSize();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= SWIG_FromInt((int)result
);
10086 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxGrid
*arg1
= (wxGrid
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "self", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
10096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (int)(arg1
)->GetColLabelSize();
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_FromInt((int)result
);
10112 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxGrid
*arg1
= (wxGrid
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
10122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (arg1
)->GetLabelBackgroundColour();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10132 wxColour
* resultptr
;
10133 resultptr
= new wxColour((wxColour
&) result
);
10134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10142 static PyObject
*_wrap_Grid_GetLabelTextColour(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_GetLabelTextColour",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
)->GetLabelTextColour();
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_GetLabelFont(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_GetLabelFont",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
)->GetLabelFont();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10192 wxFont
* resultptr
;
10193 resultptr
= new wxFont((wxFont
&) result
);
10194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
10202 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxGrid
*arg1
= (wxGrid
*) 0 ;
10205 int *arg2
= (int *) 0 ;
10206 int *arg3
= (int *) 0 ;
10209 PyObject
* obj0
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self", NULL
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
10217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10229 resultobj
= t_output_helper(resultobj
,o
);
10232 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10233 resultobj
= t_output_helper(resultobj
,o
);
10241 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxGrid
*arg1
= (wxGrid
*) 0 ;
10244 int *arg2
= (int *) 0 ;
10245 int *arg3
= (int *) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 Py_INCREF(Py_None
); resultobj
= Py_None
;
10267 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10268 resultobj
= t_output_helper(resultobj
,o
);
10271 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10272 resultobj
= t_output_helper(resultobj
,o
);
10280 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxGrid
*arg1
= (wxGrid
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (int)(arg1
)->GetColLabelTextOrientation();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_FromInt((int)result
);
10306 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxGrid
*arg1
= (wxGrid
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self",(char *) "row", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 arg2
= (int) SWIG_AsInt(obj1
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (arg1
)->GetRowLabelValue(arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10342 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxGrid
*arg1
= (wxGrid
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self",(char *) "col", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10356 arg2
= (int) SWIG_AsInt(obj1
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (arg1
)->GetColLabelValue(arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10378 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxGrid
*arg1
= (wxGrid
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (arg1
)->GetGridLineColour();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 wxColour
* resultptr
;
10399 resultptr
= new wxColour((wxColour
&) result
);
10400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10408 static PyObject
*_wrap_Grid_GetCellHighlightColour(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_GetCellHighlightColour",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
)->GetCellHighlightColour();
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_GetCellHighlightPenWidth(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_GetCellHighlightPenWidth",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
= (int)(arg1
)->GetCellHighlightPenWidth();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_FromInt((int)result
);
10464 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxGrid
*arg1
= (wxGrid
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= SWIG_FromInt((int)result
);
10490 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxGrid
*arg1
= (wxGrid
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "width", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 arg2
= (int) SWIG_AsInt(obj1
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 (arg1
)->SetRowLabelSize(arg2
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 Py_INCREF(Py_None
); resultobj
= Py_None
;
10519 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxGrid
*arg1
= (wxGrid
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 PyObject
* obj1
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self",(char *) "height", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 arg2
= (int) SWIG_AsInt(obj1
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 (arg1
)->SetColLabelSize(arg2
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 Py_INCREF(Py_None
); resultobj
= Py_None
;
10548 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxGrid
*arg1
= (wxGrid
*) 0 ;
10551 wxColour
*arg2
= 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self","arg2", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10564 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10573 Py_INCREF(Py_None
); resultobj
= Py_None
;
10580 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxGrid
*arg1
= (wxGrid
*) 0 ;
10583 wxColour
*arg2
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char *kwnames
[] = {
10588 (char *) "self","arg2", NULL
10591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 Py_INCREF(Py_None
); resultobj
= Py_None
;
10612 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxGrid
*arg1
= (wxGrid
*) 0 ;
10616 PyObject
* obj0
= 0 ;
10617 PyObject
* obj1
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self","arg2", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
10626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10628 if (arg2
== NULL
) {
10629 PyErr_SetString(PyExc_TypeError
,"null reference");
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 Py_INCREF(Py_None
); resultobj
= Py_None
;
10646 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxGrid
*arg1
= (wxGrid
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 PyObject
* obj2
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10661 arg2
= (int) SWIG_AsInt(obj1
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10663 arg3
= (int) SWIG_AsInt(obj2
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 Py_INCREF(Py_None
); resultobj
= Py_None
;
10679 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxGrid
*arg1
= (wxGrid
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 arg2
= (int) SWIG_AsInt(obj1
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10696 arg3
= (int) SWIG_AsInt(obj2
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxGrid
*arg1
= (wxGrid
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "textOrientation", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10725 arg2
= (int) SWIG_AsInt(obj1
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 (arg1
)->SetColLabelTextOrientation(arg2
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 Py_INCREF(Py_None
); resultobj
= Py_None
;
10741 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxGrid
*arg1
= (wxGrid
*) 0 ;
10745 wxString
*arg3
= 0 ;
10746 bool temp3
= False
;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 PyObject
* obj2
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self",(char *) "row","arg3", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10757 arg2
= (int) SWIG_AsInt(obj1
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 arg3
= wxString_in_helper(obj2
);
10761 if (arg3
== NULL
) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 Py_INCREF(Py_None
); resultobj
= Py_None
;
10786 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxGrid
*arg1
= (wxGrid
*) 0 ;
10790 wxString
*arg3
= 0 ;
10791 bool temp3
= False
;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 PyObject
* obj2
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "self",(char *) "col","arg3", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10802 arg2
= (int) SWIG_AsInt(obj1
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 arg3
= wxString_in_helper(obj2
);
10806 if (arg3
== NULL
) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10831 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxGrid
*arg1
= (wxGrid
*) 0 ;
10834 wxColour
*arg2
= 0 ;
10836 PyObject
* obj0
= 0 ;
10837 PyObject
* obj1
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self","arg2", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 Py_INCREF(Py_None
); resultobj
= Py_None
;
10863 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxGrid
*arg1
= (wxGrid
*) 0 ;
10866 wxColour
*arg2
= 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self","arg2", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxGrid
*arg1
= (wxGrid
*) 0 ;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "width", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= (int) SWIG_AsInt(obj1
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 (arg1
)->SetCellHighlightPenWidth(arg2
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxGrid
*arg1
= (wxGrid
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self",(char *) "width", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 arg2
= (int) SWIG_AsInt(obj1
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 Py_INCREF(Py_None
); resultobj
= Py_None
;
10953 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxGrid
*arg1
= (wxGrid
*) 0 ;
10956 bool arg2
= (bool) True
;
10957 PyObject
* obj0
= 0 ;
10958 PyObject
* obj1
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self",(char *) "enable", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10967 arg2
= (bool) SWIG_AsBool(obj1
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 (arg1
)->EnableDragRowSize(arg2
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 Py_INCREF(Py_None
); resultobj
= Py_None
;
10984 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxGrid
*arg1
= (wxGrid
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 (arg1
)->DisableDragRowSize();
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 Py_INCREF(Py_None
); resultobj
= Py_None
;
11009 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
;
11011 wxGrid
*arg1
= (wxGrid
*) 0 ;
11013 PyObject
* obj0
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
11019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (bool)(arg1
)->CanDragRowSize();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11037 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxGrid
*arg1
= (wxGrid
*) 0 ;
11040 bool arg2
= (bool) True
;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "enable", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11051 arg2
= (bool) SWIG_AsBool(obj1
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->EnableDragColSize(arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxGrid
*arg1
= (wxGrid
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 (arg1
)->DisableDragColSize();
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 Py_INCREF(Py_None
); resultobj
= Py_None
;
11093 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxGrid
*arg1
= (wxGrid
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (bool)(arg1
)->CanDragColSize();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11121 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxGrid
*arg1
= (wxGrid
*) 0 ;
11124 bool arg2
= (bool) True
;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "enable", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11135 arg2
= (bool) SWIG_AsBool(obj1
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->EnableDragGridSize(arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxGrid
*arg1
= (wxGrid
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
11161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 (arg1
)->DisableDragGridSize();
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 Py_INCREF(Py_None
); resultobj
= Py_None
;
11177 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
*resultobj
;
11179 wxGrid
*arg1
= (wxGrid
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
11187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 result
= (bool)(arg1
)->CanDragGridSize();
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11205 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxGrid
*arg1
= (wxGrid
*) 0 ;
11210 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 PyObject
* obj2
= 0 ;
11214 PyObject
* obj3
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11222 arg2
= (int) SWIG_AsInt(obj1
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11224 arg3
= (int) SWIG_AsInt(obj2
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11226 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
,
11227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 Py_INCREF(Py_None
); resultobj
= Py_None
;
11242 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
;
11244 wxGrid
*arg1
= (wxGrid
*) 0 ;
11246 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 PyObject
* obj2
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "row",(char *) "attr", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11257 arg2
= (int) SWIG_AsInt(obj1
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11259 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 (arg1
)->SetRowAttr(arg2
,arg3
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 Py_INCREF(Py_None
); resultobj
= Py_None
;
11275 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxGrid
*arg1
= (wxGrid
*) 0 ;
11279 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 PyObject
* obj2
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self",(char *) "col",(char *) "attr", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11290 arg2
= (int) SWIG_AsInt(obj1
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11292 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 (arg1
)->SetColAttr(arg2
,arg3
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 Py_INCREF(Py_None
); resultobj
= Py_None
;
11308 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxGrid
*arg1
= (wxGrid
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "col", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 arg2
= (int) SWIG_AsInt(obj1
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 (arg1
)->SetColFormatBool(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 Py_INCREF(Py_None
); resultobj
= Py_None
;
11337 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxGrid
*arg1
= (wxGrid
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "col", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 arg2
= (int) SWIG_AsInt(obj1
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 (arg1
)->SetColFormatNumber(arg2
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 Py_INCREF(Py_None
); resultobj
= Py_None
;
11366 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxGrid
*arg1
= (wxGrid
*) 0 ;
11370 int arg3
= (int) -1 ;
11371 int arg4
= (int) -1 ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 PyObject
* obj2
= 0 ;
11375 PyObject
* obj3
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 arg2
= (int) SWIG_AsInt(obj1
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 arg3
= (int) SWIG_AsInt(obj2
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 arg4
= (int) SWIG_AsInt(obj3
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 Py_INCREF(Py_None
); resultobj
= Py_None
;
11407 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxGrid
*arg1
= (wxGrid
*) 0 ;
11411 wxString
*arg3
= 0 ;
11412 bool temp3
= False
;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 PyObject
* obj2
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self",(char *) "col",(char *) "typeName", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11423 arg2
= (int) SWIG_AsInt(obj1
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 arg3
= wxString_in_helper(obj2
);
11427 if (arg3
== NULL
) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 Py_INCREF(Py_None
); resultobj
= Py_None
;
11452 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxGrid
*arg1
= (wxGrid
*) 0 ;
11455 bool arg2
= (bool) True
;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self",(char *) "enable", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11466 arg2
= (bool) SWIG_AsBool(obj1
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->EnableGridLines(arg2
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxGrid
*arg1
= (wxGrid
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= (bool)(arg1
)->GridLinesEnabled();
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11511 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxGrid
*arg1
= (wxGrid
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (int)(arg1
)->GetDefaultRowSize();
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= SWIG_FromInt((int)result
);
11537 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11538 PyObject
*resultobj
;
11539 wxGrid
*arg1
= (wxGrid
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj1
= 0 ;
11544 char *kwnames
[] = {
11545 (char *) "self",(char *) "row", NULL
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11551 arg2
= (int) SWIG_AsInt(obj1
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (int)(arg1
)->GetRowSize(arg2
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_FromInt((int)result
);
11567 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxGrid
*arg1
= (wxGrid
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (int)(arg1
)->GetDefaultColSize();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_FromInt((int)result
);
11593 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxGrid
*arg1
= (wxGrid
*) 0 ;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self",(char *) "col", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11607 arg2
= (int) SWIG_AsInt(obj1
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (int)(arg1
)->GetColSize(arg2
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_FromInt((int)result
);
11623 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxGrid
*arg1
= (wxGrid
*) 0 ;
11627 PyObject
* obj0
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (arg1
)->GetDefaultCellBackgroundColour();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 wxColour
* resultptr
;
11644 resultptr
= new wxColour((wxColour
&) result
);
11645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11653 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxGrid
*arg1
= (wxGrid
*) 0 ;
11659 PyObject
* obj0
= 0 ;
11660 PyObject
* obj1
= 0 ;
11661 PyObject
* obj2
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self",(char *) "row",(char *) "col", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11669 arg2
= (int) SWIG_AsInt(obj1
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11671 arg3
= (int) SWIG_AsInt(obj2
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11681 wxColour
* resultptr
;
11682 resultptr
= new wxColour((wxColour
&) result
);
11683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11691 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
;
11693 wxGrid
*arg1
= (wxGrid
*) 0 ;
11695 PyObject
* obj0
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (arg1
)->GetDefaultCellTextColour();
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_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxGrid
*arg1
= (wxGrid
*) 0 ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 PyObject
* obj2
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self",(char *) "row",(char *) "col", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11737 arg2
= (int) SWIG_AsInt(obj1
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11739 arg3
= (int) SWIG_AsInt(obj2
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11749 wxColour
* resultptr
;
11750 resultptr
= new wxColour((wxColour
&) result
);
11751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11759 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxGrid
*arg1
= (wxGrid
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (arg1
)->GetDefaultCellFont();
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11779 wxFont
* resultptr
;
11780 resultptr
= new wxFont((wxFont
&) result
);
11781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11789 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxGrid
*arg1
= (wxGrid
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 PyObject
* obj2
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self",(char *) "row",(char *) "col", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 arg2
= (int) SWIG_AsInt(obj1
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11807 arg3
= (int) SWIG_AsInt(obj2
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 wxFont
* resultptr
;
11818 resultptr
= new wxFont((wxFont
&) result
);
11819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11827 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxGrid
*arg1
= (wxGrid
*) 0 ;
11830 int *arg2
= (int *) 0 ;
11831 int *arg3
= (int *) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 Py_INCREF(Py_None
); resultobj
= Py_None
;
11853 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11854 resultobj
= t_output_helper(resultobj
,o
);
11857 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11858 resultobj
= t_output_helper(resultobj
,o
);
11866 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxGrid
*arg1
= (wxGrid
*) 0 ;
11871 int *arg4
= (int *) 0 ;
11872 int *arg5
= (int *) 0 ;
11875 PyObject
* obj0
= 0 ;
11876 PyObject
* obj1
= 0 ;
11877 PyObject
* obj2
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self",(char *) "row",(char *) "col", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11887 arg2
= (int) SWIG_AsInt(obj1
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11889 arg3
= (int) SWIG_AsInt(obj2
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 Py_INCREF(Py_None
); resultobj
= Py_None
;
11900 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11901 resultobj
= t_output_helper(resultobj
,o
);
11904 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11905 resultobj
= t_output_helper(resultobj
,o
);
11913 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxGrid
*arg1
= (wxGrid
*) 0 ;
11917 PyObject
* obj0
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (bool)(arg1
)->GetDefaultCellOverflow();
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11941 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxGrid
*arg1
= (wxGrid
*) 0 ;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 PyObject
* obj2
= 0 ;
11950 char *kwnames
[] = {
11951 (char *) "self",(char *) "row",(char *) "col", NULL
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11957 arg2
= (int) SWIG_AsInt(obj1
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11959 arg3
= (int) SWIG_AsInt(obj2
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11977 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxGrid
*arg1
= (wxGrid
*) 0 ;
11982 int *arg4
= (int *) 0 ;
11983 int *arg5
= (int *) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 PyObject
* obj2
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self",(char *) "row",(char *) "col", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 arg2
= (int) SWIG_AsInt(obj1
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12000 arg3
= (int) SWIG_AsInt(obj2
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 Py_INCREF(Py_None
); resultobj
= Py_None
;
12011 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12012 resultobj
= t_output_helper(resultobj
,o
);
12015 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12016 resultobj
= t_output_helper(resultobj
,o
);
12024 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxGrid
*arg1
= (wxGrid
*) 0 ;
12028 bool arg3
= (bool) False
;
12029 PyObject
* obj0
= 0 ;
12030 PyObject
* obj1
= 0 ;
12031 PyObject
* obj2
= 0 ;
12032 char *kwnames
[] = {
12033 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12039 arg2
= (int) SWIG_AsInt(obj1
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 arg3
= (bool) SWIG_AsBool(obj2
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 Py_INCREF(Py_None
); resultobj
= Py_None
;
12059 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
;
12061 wxGrid
*arg1
= (wxGrid
*) 0 ;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 PyObject
* obj2
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "self",(char *) "row",(char *) "height", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12074 arg2
= (int) SWIG_AsInt(obj1
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12076 arg3
= (int) SWIG_AsInt(obj2
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 (arg1
)->SetRowSize(arg2
,arg3
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 Py_INCREF(Py_None
); resultobj
= Py_None
;
12092 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxGrid
*arg1
= (wxGrid
*) 0 ;
12096 bool arg3
= (bool) False
;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 PyObject
* obj2
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 arg2
= (int) SWIG_AsInt(obj1
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 arg3
= (bool) SWIG_AsBool(obj2
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 (arg1
)->SetDefaultColSize(arg2
,arg3
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 Py_INCREF(Py_None
); resultobj
= Py_None
;
12127 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxGrid
*arg1
= (wxGrid
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 PyObject
* obj2
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self",(char *) "col",(char *) "width", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12142 arg2
= (int) SWIG_AsInt(obj1
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12144 arg3
= (int) SWIG_AsInt(obj2
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 (arg1
)->SetColSize(arg2
,arg3
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 Py_INCREF(Py_None
); resultobj
= Py_None
;
12160 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxGrid
*arg1
= (wxGrid
*) 0 ;
12164 bool arg3
= (bool) True
;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 PyObject
* obj2
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12175 arg2
= (int) SWIG_AsInt(obj1
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 arg3
= (bool) SWIG_AsBool(obj2
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 (arg1
)->AutoSizeColumn(arg2
,arg3
);
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 Py_INCREF(Py_None
); resultobj
= Py_None
;
12195 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxGrid
*arg1
= (wxGrid
*) 0 ;
12199 bool arg3
= (bool) True
;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 PyObject
* obj2
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 arg2
= (int) SWIG_AsInt(obj1
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 arg3
= (bool) SWIG_AsBool(obj2
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 (arg1
)->AutoSizeRow(arg2
,arg3
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 Py_INCREF(Py_None
); resultobj
= Py_None
;
12230 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxGrid
*arg1
= (wxGrid
*) 0 ;
12233 bool arg2
= (bool) True
;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self",(char *) "setAsMin", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 arg2
= (bool) SWIG_AsBool(obj1
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 (arg1
)->AutoSizeColumns(arg2
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 Py_INCREF(Py_None
); resultobj
= Py_None
;
12261 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxGrid
*arg1
= (wxGrid
*) 0 ;
12264 bool arg2
= (bool) True
;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "setAsMin", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 arg2
= (bool) SWIG_AsBool(obj1
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->AutoSizeRows(arg2
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12292 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxGrid
*arg1
= (wxGrid
*) 0 ;
12295 PyObject
* obj0
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "self", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 (arg1
)->AutoSize();
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 Py_INCREF(Py_None
); resultobj
= Py_None
;
12317 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxGrid
*arg1
= (wxGrid
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self",(char *) "row", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12330 arg2
= (int) SWIG_AsInt(obj1
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 (arg1
)->AutoSizeRowLabelSize(arg2
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 Py_INCREF(Py_None
); resultobj
= Py_None
;
12346 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxGrid
*arg1
= (wxGrid
*) 0 ;
12350 PyObject
* obj0
= 0 ;
12351 PyObject
* obj1
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self",(char *) "col", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12359 arg2
= (int) SWIG_AsInt(obj1
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->AutoSizeColLabelSize(arg2
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 Py_INCREF(Py_None
); resultobj
= Py_None
;
12375 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxGrid
*arg1
= (wxGrid
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 PyObject
* obj2
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self",(char *) "col",(char *) "width", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12390 arg2
= (int) SWIG_AsInt(obj1
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12392 arg3
= (int) SWIG_AsInt(obj2
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12408 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxGrid
*arg1
= (wxGrid
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 PyObject
* obj2
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self",(char *) "row",(char *) "width", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12423 arg2
= (int) SWIG_AsInt(obj1
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12425 arg3
= (int) SWIG_AsInt(obj2
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 Py_INCREF(Py_None
); resultobj
= Py_None
;
12441 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxGrid
*arg1
= (wxGrid
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "width", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 arg2
= (int) SWIG_AsInt(obj1
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxGrid
*arg1
= (wxGrid
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self",(char *) "width", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 arg2
= (int) SWIG_AsInt(obj1
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxGrid
*arg1
= (wxGrid
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_FromInt((int)result
);
12525 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxGrid
*arg1
= (wxGrid
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= SWIG_FromInt((int)result
);
12551 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxGrid
*arg1
= (wxGrid
*) 0 ;
12554 wxColour
*arg2
= 0 ;
12556 PyObject
* obj0
= 0 ;
12557 PyObject
* obj1
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self","arg2", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12567 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 Py_INCREF(Py_None
); resultobj
= Py_None
;
12583 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxGrid
*arg1
= (wxGrid
*) 0 ;
12588 wxColour
*arg4
= 0 ;
12590 PyObject
* obj0
= 0 ;
12591 PyObject
* obj1
= 0 ;
12592 PyObject
* obj2
= 0 ;
12593 PyObject
* obj3
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 arg2
= (int) SWIG_AsInt(obj1
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12603 arg3
= (int) SWIG_AsInt(obj2
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12607 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 Py_INCREF(Py_None
); resultobj
= Py_None
;
12623 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxGrid
*arg1
= (wxGrid
*) 0 ;
12626 wxColour
*arg2
= 0 ;
12628 PyObject
* obj0
= 0 ;
12629 PyObject
* obj1
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self","arg2", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxGrid
*arg1
= (wxGrid
*) 0 ;
12660 wxColour
*arg4
= 0 ;
12662 PyObject
* obj0
= 0 ;
12663 PyObject
* obj1
= 0 ;
12664 PyObject
* obj2
= 0 ;
12665 PyObject
* obj3
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12673 arg2
= (int) SWIG_AsInt(obj1
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12675 arg3
= (int) SWIG_AsInt(obj2
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12679 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 Py_INCREF(Py_None
); resultobj
= Py_None
;
12695 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxGrid
*arg1
= (wxGrid
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 PyObject
* obj1
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self","arg2", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12711 if (arg2
== NULL
) {
12712 PyErr_SetString(PyExc_TypeError
,"null reference");
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxGrid
*arg1
= (wxGrid
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 PyObject
* obj3
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12746 arg2
= (int) SWIG_AsInt(obj1
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12748 arg3
= (int) SWIG_AsInt(obj2
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12750 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
12751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12753 if (arg4
== NULL
) {
12754 PyErr_SetString(PyExc_TypeError
,"null reference");
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 Py_INCREF(Py_None
); resultobj
= Py_None
;
12771 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxGrid
*arg1
= (wxGrid
*) 0 ;
12776 PyObject
* obj0
= 0 ;
12777 PyObject
* obj1
= 0 ;
12778 PyObject
* obj2
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12786 arg2
= (int) SWIG_AsInt(obj1
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12788 arg3
= (int) SWIG_AsInt(obj2
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxGrid
*arg1
= (wxGrid
*) 0 ;
12811 PyObject
* obj0
= 0 ;
12812 PyObject
* obj1
= 0 ;
12813 PyObject
* obj2
= 0 ;
12814 PyObject
* obj3
= 0 ;
12815 PyObject
* obj4
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 arg2
= (int) SWIG_AsInt(obj1
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12825 arg3
= (int) SWIG_AsInt(obj2
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12827 arg4
= (int) SWIG_AsInt(obj3
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12829 arg5
= (int) SWIG_AsInt(obj4
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 Py_INCREF(Py_None
); resultobj
= Py_None
;
12845 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxGrid
*arg1
= (wxGrid
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 PyObject
* obj1
= 0 ;
12851 char *kwnames
[] = {
12852 (char *) "self",(char *) "allow", NULL
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 arg2
= (bool) SWIG_AsBool(obj1
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->SetDefaultCellOverflow(arg2
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 Py_INCREF(Py_None
); resultobj
= Py_None
;
12874 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxGrid
*arg1
= (wxGrid
*) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 PyObject
* obj1
= 0 ;
12882 PyObject
* obj2
= 0 ;
12883 PyObject
* obj3
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12891 arg2
= (int) SWIG_AsInt(obj1
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12893 arg3
= (int) SWIG_AsInt(obj2
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12895 arg4
= (bool) SWIG_AsBool(obj3
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxGrid
*arg1
= (wxGrid
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 PyObject
* obj1
= 0 ;
12920 PyObject
* obj2
= 0 ;
12921 PyObject
* obj3
= 0 ;
12922 PyObject
* obj4
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12930 arg2
= (int) SWIG_AsInt(obj1
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12932 arg3
= (int) SWIG_AsInt(obj2
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12934 arg4
= (int) SWIG_AsInt(obj3
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12936 arg5
= (int) SWIG_AsInt(obj4
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 Py_INCREF(Py_None
); resultobj
= Py_None
;
12952 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxGrid
*arg1
= (wxGrid
*) 0 ;
12955 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self",(char *) "renderer", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
12966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 (arg1
)->SetDefaultRenderer(arg2
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 Py_INCREF(Py_None
); resultobj
= Py_None
;
12981 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
;
12983 wxGrid
*arg1
= (wxGrid
*) 0 ;
12986 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 PyObject
* obj2
= 0 ;
12990 PyObject
* obj3
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 arg2
= (int) SWIG_AsInt(obj1
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13000 arg3
= (int) SWIG_AsInt(obj2
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13002 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 Py_INCREF(Py_None
); resultobj
= Py_None
;
13018 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxGrid
*arg1
= (wxGrid
*) 0 ;
13021 wxGridCellRenderer
*result
;
13022 PyObject
* obj0
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13038 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13046 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxGrid
*arg1
= (wxGrid
*) 0 ;
13051 wxGridCellRenderer
*result
;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 PyObject
* obj2
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self",(char *) "row",(char *) "col", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13062 arg2
= (int) SWIG_AsInt(obj1
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13064 arg3
= (int) SWIG_AsInt(obj2
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13082 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxGrid
*arg1
= (wxGrid
*) 0 ;
13085 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self",(char *) "editor", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->SetDefaultEditor(arg2
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxGrid
*arg1
= (wxGrid
*) 0 ;
13116 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 PyObject
* obj2
= 0 ;
13120 PyObject
* obj3
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 arg2
= (int) SWIG_AsInt(obj1
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13130 arg3
= (int) SWIG_AsInt(obj2
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13132 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxGrid
*arg1
= (wxGrid
*) 0 ;
13151 wxGridCellEditor
*result
;
13152 PyObject
* obj0
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= wxPyMake_wxGridCellEditor(result
);
13176 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxGrid
*arg1
= (wxGrid
*) 0 ;
13181 wxGridCellEditor
*result
;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 PyObject
* obj2
= 0 ;
13185 char *kwnames
[] = {
13186 (char *) "self",(char *) "row",(char *) "col", NULL
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13192 arg2
= (int) SWIG_AsInt(obj1
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13194 arg3
= (int) SWIG_AsInt(obj2
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= wxPyMake_wxGridCellEditor(result
);
13212 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxGrid
*arg1
= (wxGrid
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 PyObject
* obj1
= 0 ;
13220 PyObject
* obj2
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "row",(char *) "col", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13228 arg2
= (int) SWIG_AsInt(obj1
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13230 arg3
= (int) SWIG_AsInt(obj2
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13252 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxGrid
*arg1
= (wxGrid
*) 0 ;
13257 wxString
*arg4
= 0 ;
13258 bool temp4
= False
;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 PyObject
* obj2
= 0 ;
13262 PyObject
* obj3
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 arg2
= (int) SWIG_AsInt(obj1
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13272 arg3
= (int) SWIG_AsInt(obj2
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 arg4
= wxString_in_helper(obj3
);
13276 if (arg4
== NULL
) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxGrid
*arg1
= (wxGrid
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 PyObject
* obj2
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self",(char *) "row",(char *) "col", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13317 arg2
= (int) SWIG_AsInt(obj1
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13319 arg3
= (int) SWIG_AsInt(obj2
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13337 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxGrid
*arg1
= (wxGrid
*) 0 ;
13342 bool arg4
= (bool) True
;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 PyObject
* obj2
= 0 ;
13346 PyObject
* obj3
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 arg2
= (int) SWIG_AsInt(obj1
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13356 arg3
= (int) SWIG_AsInt(obj2
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13359 arg4
= (bool) SWIG_AsBool(obj3
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 Py_INCREF(Py_None
); resultobj
= Py_None
;
13376 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxGrid
*arg1
= (wxGrid
*) 0 ;
13380 bool arg3
= (bool) False
;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 PyObject
* obj2
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 arg2
= (int) SWIG_AsInt(obj1
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 arg3
= (bool) SWIG_AsBool(obj2
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 (arg1
)->SelectRow(arg2
,arg3
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 Py_INCREF(Py_None
); resultobj
= Py_None
;
13411 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxGrid
*arg1
= (wxGrid
*) 0 ;
13415 bool arg3
= (bool) False
;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 PyObject
* obj2
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 arg2
= (int) SWIG_AsInt(obj1
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 arg3
= (bool) SWIG_AsBool(obj2
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 (arg1
)->SelectCol(arg2
,arg3
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 Py_INCREF(Py_None
); resultobj
= Py_None
;
13446 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxGrid
*arg1
= (wxGrid
*) 0 ;
13453 bool arg6
= (bool) False
;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 PyObject
* obj2
= 0 ;
13457 PyObject
* obj3
= 0 ;
13458 PyObject
* obj4
= 0 ;
13459 PyObject
* obj5
= 0 ;
13460 char *kwnames
[] = {
13461 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 arg2
= (int) SWIG_AsInt(obj1
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13469 arg3
= (int) SWIG_AsInt(obj2
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13471 arg4
= (int) SWIG_AsInt(obj3
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13473 arg5
= (int) SWIG_AsInt(obj4
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 arg6
= (bool) SWIG_AsBool(obj5
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 Py_INCREF(Py_None
); resultobj
= Py_None
;
13493 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxGrid
*arg1
= (wxGrid
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 (arg1
)->SelectAll();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 Py_INCREF(Py_None
); resultobj
= Py_None
;
13518 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxGrid
*arg1
= (wxGrid
*) 0 ;
13522 PyObject
* obj0
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (bool)(arg1
)->IsSelection();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13546 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
;
13548 wxGrid
*arg1
= (wxGrid
*) 0 ;
13549 PyObject
* obj0
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 (arg1
)->ClearSelection();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 Py_INCREF(Py_None
); resultobj
= Py_None
;
13571 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxGrid
*arg1
= (wxGrid
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 PyObject
* obj2
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self",(char *) "row",(char *) "col", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13587 arg2
= (int) SWIG_AsInt(obj1
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13589 arg3
= (int) SWIG_AsInt(obj2
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13607 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxGrid
*arg1
= (wxGrid
*) 0 ;
13610 wxGridCellCoordsArray result
;
13611 PyObject
* obj0
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= wxGridCellCoordsArray_helper(result
);
13635 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
;
13637 wxGrid
*arg1
= (wxGrid
*) 0 ;
13638 wxGridCellCoordsArray result
;
13639 PyObject
* obj0
= 0 ;
13640 char *kwnames
[] = {
13641 (char *) "self", NULL
13644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= wxGridCellCoordsArray_helper(result
);
13663 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
;
13665 wxGrid
*arg1
= (wxGrid
*) 0 ;
13666 wxGridCellCoordsArray result
;
13667 PyObject
* obj0
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= wxGridCellCoordsArray_helper(result
);
13691 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxGrid
*arg1
= (wxGrid
*) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= PyList_New(0);
13713 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13714 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13715 PyList_Append(resultobj
, val
);
13725 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxGrid
*arg1
= (wxGrid
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= PyList_New(0);
13747 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13748 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13749 PyList_Append(resultobj
, val
);
13759 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxGrid
*arg1
= (wxGrid
*) 0 ;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self",(char *) "row", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13772 arg2
= (int) SWIG_AsInt(obj1
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 (arg1
)->DeselectRow(arg2
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13781 Py_INCREF(Py_None
); resultobj
= Py_None
;
13788 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxGrid
*arg1
= (wxGrid
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 PyObject
* obj1
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self",(char *) "col", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13801 arg2
= (int) SWIG_AsInt(obj1
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 (arg1
)->DeselectCol(arg2
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 Py_INCREF(Py_None
); resultobj
= Py_None
;
13817 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxGrid
*arg1
= (wxGrid
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 PyObject
* obj1
= 0 ;
13824 PyObject
* obj2
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self",(char *) "row",(char *) "col", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 arg2
= (int) SWIG_AsInt(obj1
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13834 arg3
= (int) SWIG_AsInt(obj2
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 (arg1
)->DeselectCell(arg2
,arg3
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 Py_INCREF(Py_None
); resultobj
= Py_None
;
13850 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
;
13852 wxGrid
*arg1
= (wxGrid
*) 0 ;
13853 wxGridCellCoords
*arg2
= 0 ;
13854 wxGridCellCoords
*arg3
= 0 ;
13856 wxGridCellCoords temp2
;
13857 wxGridCellCoords temp3
;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 PyObject
* obj2
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13870 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
13874 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13884 wxRect
* resultptr
;
13885 resultptr
= new wxRect((wxRect
&) result
);
13886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13894 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
;
13896 wxGrid
*arg1
= (wxGrid
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 wxColour
* resultptr
;
13915 resultptr
= new wxColour((wxColour
&) result
);
13916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13924 static PyObject
*_wrap_Grid_GetSelectionForeground(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_GetSelectionForeground",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
)->GetSelectionForeground();
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_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxGrid
*arg1
= (wxGrid
*) 0 ;
13957 wxColour
*arg2
= 0 ;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "c", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 Py_INCREF(Py_None
); resultobj
= Py_None
;
13986 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxGrid
*arg1
= (wxGrid
*) 0 ;
13989 wxColour
*arg2
= 0 ;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self",(char *) "c", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14002 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 Py_INCREF(Py_None
); resultobj
= Py_None
;
14018 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxGrid
*arg1
= (wxGrid
*) 0 ;
14021 wxString
*arg2
= 0 ;
14022 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
14023 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
14024 bool temp2
= False
;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 PyObject
* obj2
= 0 ;
14028 PyObject
* obj3
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 arg2
= wxString_in_helper(obj1
);
14038 if (arg2
== NULL
) SWIG_fail
;
14041 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
,
14042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14043 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
14044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxGrid
*arg1
= (wxGrid
*) 0 ;
14072 wxGridCellEditor
*result
;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 PyObject
* obj2
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self",(char *) "row",(char *) "col", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 arg2
= (int) SWIG_AsInt(obj1
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14085 arg3
= (int) SWIG_AsInt(obj2
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= wxPyMake_wxGridCellEditor(result
);
14103 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxGrid
*arg1
= (wxGrid
*) 0 ;
14108 wxGridCellRenderer
*result
;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 PyObject
* obj2
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self",(char *) "row",(char *) "col", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14119 arg2
= (int) SWIG_AsInt(obj1
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14121 arg3
= (int) SWIG_AsInt(obj2
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14139 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxGrid
*arg1
= (wxGrid
*) 0 ;
14142 wxString
*arg2
= 0 ;
14143 wxGridCellEditor
*result
;
14144 bool temp2
= False
;
14145 PyObject
* obj0
= 0 ;
14146 PyObject
* obj1
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self",(char *) "typeName", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14155 arg2
= wxString_in_helper(obj1
);
14156 if (arg2
== NULL
) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= wxPyMake_wxGridCellEditor(result
);
14183 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxGrid
*arg1
= (wxGrid
*) 0 ;
14186 wxString
*arg2
= 0 ;
14187 wxGridCellRenderer
*result
;
14188 bool temp2
= False
;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self",(char *) "typeName", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14199 arg2
= wxString_in_helper(obj1
);
14200 if (arg2
== NULL
) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14227 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxGrid
*arg1
= (wxGrid
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 PyObject
* obj2
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14242 arg2
= (int) SWIG_AsInt(obj1
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14244 arg3
= (int) SWIG_AsInt(obj2
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 (arg1
)->SetMargins(arg2
,arg3
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 Py_INCREF(Py_None
); resultobj
= Py_None
;
14260 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxGrid
*arg1
= (wxGrid
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= wxPyMake_wxObject(result
);
14288 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxGrid
*arg1
= (wxGrid
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= wxPyMake_wxObject(result
);
14316 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxGrid
*arg1
= (wxGrid
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= wxPyMake_wxObject(result
);
14344 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxGrid
*arg1
= (wxGrid
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= wxPyMake_wxObject(result
);
14372 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14375 wxVisualAttributes result
;
14376 PyObject
* obj0
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "variant", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14383 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14387 if (!wxPyCheckForApp()) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= wxGrid::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14395 wxVisualAttributes
* resultptr
;
14396 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14405 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
14407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14408 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14410 return Py_BuildValue((char *)"");
14412 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14416 wxGrid
*arg3
= (wxGrid
*) 0 ;
14417 int arg4
= (int) -1 ;
14418 int arg5
= (int) -1 ;
14419 int arg6
= (int) -1 ;
14420 int arg7
= (int) -1 ;
14421 bool arg8
= (bool) True
;
14422 bool arg9
= (bool) False
;
14423 bool arg10
= (bool) False
;
14424 bool arg11
= (bool) False
;
14425 bool arg12
= (bool) False
;
14426 wxGridEvent
*result
;
14427 PyObject
* obj0
= 0 ;
14428 PyObject
* obj1
= 0 ;
14429 PyObject
* obj2
= 0 ;
14430 PyObject
* obj3
= 0 ;
14431 PyObject
* obj4
= 0 ;
14432 PyObject
* obj5
= 0 ;
14433 PyObject
* obj6
= 0 ;
14434 PyObject
* obj7
= 0 ;
14435 PyObject
* obj8
= 0 ;
14436 PyObject
* obj9
= 0 ;
14437 PyObject
* obj10
= 0 ;
14438 PyObject
* obj11
= 0 ;
14439 char *kwnames
[] = {
14440 (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
14443 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
;
14444 arg1
= (int) SWIG_AsInt(obj0
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14446 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14448 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14451 arg4
= (int) SWIG_AsInt(obj3
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 arg5
= (int) SWIG_AsInt(obj4
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 arg6
= (int) SWIG_AsInt(obj5
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14463 arg7
= (int) SWIG_AsInt(obj6
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14467 arg8
= (bool) SWIG_AsBool(obj7
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14471 arg9
= (bool) SWIG_AsBool(obj8
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14475 arg10
= (bool) SWIG_AsBool(obj9
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14479 arg11
= (bool) SWIG_AsBool(obj10
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14483 arg12
= (bool) SWIG_AsBool(obj11
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
14500 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
;
14502 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14504 PyObject
* obj0
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 result
= (int)(arg1
)->GetRow();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_FromInt((int)result
);
14526 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (int)(arg1
)->GetCol();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_FromInt((int)result
);
14552 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (arg1
)->GetPosition();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14572 wxPoint
* resultptr
;
14573 resultptr
= new wxPoint((wxPoint
&) result
);
14574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14582 static PyObject
*_wrap_GridEvent_Selecting(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_Selecting",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
= (bool)(arg1
)->Selecting();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14610 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (bool)(arg1
)->ControlDown();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14638 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (bool)(arg1
)->MetaDown();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14666 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (bool)(arg1
)->ShiftDown();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14694 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (bool)(arg1
)->AltDown();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14722 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14725 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14727 return Py_BuildValue((char *)"");
14729 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14733 wxGrid
*arg3
= (wxGrid
*) 0 ;
14734 int arg4
= (int) -1 ;
14735 int arg5
= (int) -1 ;
14736 int arg6
= (int) -1 ;
14737 bool arg7
= (bool) False
;
14738 bool arg8
= (bool) False
;
14739 bool arg9
= (bool) False
;
14740 bool arg10
= (bool) False
;
14741 wxGridSizeEvent
*result
;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj2
= 0 ;
14745 PyObject
* obj3
= 0 ;
14746 PyObject
* obj4
= 0 ;
14747 PyObject
* obj5
= 0 ;
14748 PyObject
* obj6
= 0 ;
14749 PyObject
* obj7
= 0 ;
14750 PyObject
* obj8
= 0 ;
14751 PyObject
* obj9
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14757 arg1
= (int) SWIG_AsInt(obj0
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14759 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14761 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14764 arg4
= (int) SWIG_AsInt(obj3
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 arg5
= (int) SWIG_AsInt(obj4
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14772 arg6
= (int) SWIG_AsInt(obj5
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14776 arg7
= (bool) SWIG_AsBool(obj6
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14780 arg8
= (bool) SWIG_AsBool(obj7
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14784 arg9
= (bool) SWIG_AsBool(obj8
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14788 arg10
= (bool) SWIG_AsBool(obj9
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
14805 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (int)(arg1
)->GetRowOrCol();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_FromInt((int)result
);
14831 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14835 PyObject
* obj0
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 result
= (arg1
)->GetPosition();
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14851 wxPoint
* resultptr
;
14852 resultptr
= new wxPoint((wxPoint
&) result
);
14853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14861 static PyObject
*_wrap_GridSizeEvent_ControlDown(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_ControlDown",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
= (bool)(arg1
)->ControlDown();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14889 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (bool)(arg1
)->MetaDown();
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14917 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (bool)(arg1
)->ShiftDown();
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14945 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
14956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (bool)(arg1
)->AltDown();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14973 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14976 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
14978 return Py_BuildValue((char *)"");
14980 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14984 wxGrid
*arg3
= (wxGrid
*) 0 ;
14985 wxGridCellCoords
*arg4
= 0 ;
14986 wxGridCellCoords
*arg5
= 0 ;
14987 bool arg6
= (bool) True
;
14988 bool arg7
= (bool) False
;
14989 bool arg8
= (bool) False
;
14990 bool arg9
= (bool) False
;
14991 bool arg10
= (bool) False
;
14992 wxGridRangeSelectEvent
*result
;
14993 wxGridCellCoords temp4
;
14994 wxGridCellCoords temp5
;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 PyObject
* obj2
= 0 ;
14998 PyObject
* obj3
= 0 ;
14999 PyObject
* obj4
= 0 ;
15000 PyObject
* obj5
= 0 ;
15001 PyObject
* obj6
= 0 ;
15002 PyObject
* obj7
= 0 ;
15003 PyObject
* obj8
= 0 ;
15004 PyObject
* obj9
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15010 arg1
= (int) SWIG_AsInt(obj0
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15012 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15014 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15018 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
15022 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
15025 arg6
= (bool) SWIG_AsBool(obj5
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15029 arg7
= (bool) SWIG_AsBool(obj6
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15033 arg8
= (bool) SWIG_AsBool(obj7
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15037 arg9
= (bool) SWIG_AsBool(obj8
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 arg10
= (bool) SWIG_AsBool(obj9
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
15058 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15061 wxGridCellCoords result
;
15062 PyObject
* obj0
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (arg1
)->GetTopLeftCoords();
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15078 wxGridCellCoords
* resultptr
;
15079 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15088 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(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_GetBottomRightCoords",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
)->GetBottomRightCoords();
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_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",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
= (int)(arg1
)->GetTopRow();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_FromInt((int)result
);
15144 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (int)(arg1
)->GetBottomRow();
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= SWIG_FromInt((int)result
);
15170 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (int)(arg1
)->GetLeftCol();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_FromInt((int)result
);
15196 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= (int)(arg1
)->GetRightCol();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_FromInt((int)result
);
15222 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15226 PyObject
* obj0
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (bool)(arg1
)->Selecting();
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15250 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (bool)(arg1
)->ControlDown();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15278 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (bool)(arg1
)->MetaDown();
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15306 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (bool)(arg1
)->ShiftDown();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15334 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (bool)(arg1
)->AltDown();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15362 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15365 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15367 return Py_BuildValue((char *)"");
15369 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15373 wxObject
*arg3
= (wxObject
*) 0 ;
15376 wxControl
*arg6
= (wxControl
*) 0 ;
15377 wxGridEditorCreatedEvent
*result
;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 PyObject
* obj2
= 0 ;
15381 PyObject
* obj3
= 0 ;
15382 PyObject
* obj4
= 0 ;
15383 PyObject
* obj5
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15389 arg1
= (int) SWIG_AsInt(obj0
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15391 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15393 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 arg4
= (int) SWIG_AsInt(obj3
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15397 arg5
= (int) SWIG_AsInt(obj4
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15399 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15415 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (int)(arg1
)->GetRow();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_FromInt((int)result
);
15441 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (int)(arg1
)->GetCol();
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_FromInt((int)result
);
15467 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (wxControl
*)(arg1
)->GetControl();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= wxPyMake_wxObject(result
);
15495 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 PyObject
* obj1
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "self",(char *) "row", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 arg2
= (int) SWIG_AsInt(obj1
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 (arg1
)->SetRow(arg2
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 Py_INCREF(Py_None
); resultobj
= Py_None
;
15524 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self",(char *) "col", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15537 arg2
= (int) SWIG_AsInt(obj1
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->SetCol(arg2
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15556 wxControl
*arg2
= (wxControl
*) 0 ;
15557 PyObject
* obj0
= 0 ;
15558 PyObject
* obj1
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "self",(char *) "ctrl", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 (arg1
)->SetControl(arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 Py_INCREF(Py_None
); resultobj
= Py_None
;
15582 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15585 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15587 return Py_BuildValue((char *)"");
15589 static PyMethodDef SwigMethods
[] = {
15590 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15591 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15592 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15593 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15594 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15595 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15596 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15597 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
15598 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15599 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15600 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15601 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
15602 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15603 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
15604 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15605 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
15606 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15607 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15608 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15609 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15610 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15611 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
15612 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15613 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
15614 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15615 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
15616 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15617 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
15618 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15619 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
15620 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15621 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15622 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15623 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15624 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15625 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15626 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15627 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15628 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15629 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15630 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15631 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15632 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15633 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15634 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15635 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15636 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15637 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15638 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15639 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15640 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15641 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15642 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
15643 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15644 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15645 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15646 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15647 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15648 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15649 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15650 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15651 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15652 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15653 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15654 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
15655 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15656 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15657 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
15658 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15659 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15660 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
15661 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15662 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15663 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
15664 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15665 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15666 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
15667 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15668 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15669 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
15670 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15671 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15672 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
15673 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15674 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15675 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
15676 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15677 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15678 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15679 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15680 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15681 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15682 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15683 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15684 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15685 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15686 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15687 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15688 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15689 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15690 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15691 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15692 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15693 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15694 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15695 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15696 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15697 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15698 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15699 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15700 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15701 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15702 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15703 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15704 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15705 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15706 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15707 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15708 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15709 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15710 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
15711 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15712 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15713 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15714 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15715 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15716 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15717 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15718 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15719 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
15720 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15721 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15722 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15723 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15724 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15725 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15726 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
15727 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15731 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15733 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15735 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15737 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15739 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15742 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15745 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15747 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15749 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15751 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15753 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15758 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
15763 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15769 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15773 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15774 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15776 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15783 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15784 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15785 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
15786 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
15788 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15791 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15792 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15793 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15794 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15797 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
15799 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15800 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15801 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15803 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15805 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15806 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15807 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15808 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
},
15809 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
15810 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
15811 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
},
15813 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15814 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15815 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15816 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15817 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15818 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15819 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15820 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15821 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15822 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15823 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15824 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15825 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15826 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15827 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15828 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15829 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15830 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15831 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15832 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15833 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15834 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15835 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15836 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15837 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15838 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15839 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15840 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15841 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15842 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15843 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15844 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15845 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15846 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15847 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15848 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15849 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15850 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15851 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15852 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15853 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15854 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15855 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15856 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15857 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15858 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15859 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15860 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15861 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15862 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15863 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15864 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15865 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15866 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15867 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15868 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15869 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15870 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15871 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15872 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15873 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15874 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15875 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15876 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15877 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15878 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15879 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15880 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15881 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15882 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15883 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15884 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15885 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15886 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15887 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15888 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15889 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15890 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15891 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15892 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15893 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15894 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15895 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15896 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15897 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15898 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15899 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15900 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15901 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15902 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15903 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15904 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15905 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15906 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15907 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15908 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15909 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15910 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15911 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15912 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15913 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15914 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15915 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15916 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15917 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15918 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15919 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15920 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15921 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15922 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15923 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15924 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15925 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15926 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15927 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15928 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15929 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15930 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15931 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15932 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15933 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15934 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15935 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15936 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15937 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15938 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15939 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15940 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15941 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15942 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15943 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15944 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15945 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15946 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15947 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15948 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15949 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15950 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15951 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15952 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15953 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15954 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15955 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15956 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15957 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15958 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15959 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15960 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15961 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15962 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15963 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15964 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15965 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15966 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15967 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15968 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15969 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15970 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15971 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15972 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15973 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15974 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15975 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15976 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15977 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15978 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15979 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15980 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15981 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15982 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15983 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15984 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15985 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
15986 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15987 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15988 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15989 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15990 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
15991 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
15992 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
15993 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
15994 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
15995 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
15996 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
15997 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15998 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15999 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
16000 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
16001 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
16002 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
16003 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
16004 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
16005 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
16006 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
16007 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16008 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16009 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16010 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16011 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
16012 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
16013 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
16014 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
16015 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16016 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16017 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16018 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16019 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
16020 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
16021 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
16022 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
16023 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
16024 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
16025 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
16026 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
16027 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
16028 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
16029 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
16030 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
16031 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
16032 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
16033 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
16034 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
16035 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
16036 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
16037 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
16038 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
16039 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
16040 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
16045 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16047 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
16048 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
16050 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
16051 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
16053 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
16054 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16056 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
16057 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16059 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
16060 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
16062 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
16063 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16065 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
16066 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16068 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
16069 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16071 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
16072 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16074 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
16075 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16077 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
16078 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16080 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
16081 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16083 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
16084 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16086 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
16087 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
16089 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
16090 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16092 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
16093 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16095 static void *_p_wxGridTo_p_wxPanel(void *x
) {
16096 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
16098 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
16099 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16101 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
16102 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16104 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
16105 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
16107 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
16108 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16110 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
16111 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
16113 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
16114 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16116 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
16117 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16119 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
16120 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16122 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
16123 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16125 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
16126 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
16128 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
16129 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16131 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
16132 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
16134 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
16135 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16137 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
16138 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16140 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
16141 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16143 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
16144 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
16146 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16147 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16149 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
16150 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16152 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
16153 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16155 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
16156 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16158 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
16159 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16161 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
16162 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16164 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
16165 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16167 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
16168 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16170 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
16171 return (void *)((wxWindow
*) ((wxPanel
*) x
));
16173 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
16174 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
16176 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
16177 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
16179 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
16180 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16182 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
16183 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16185 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
16186 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16188 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
16189 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
16191 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
16192 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16194 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
16195 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
16197 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
16198 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
16200 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
16201 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
16203 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
16204 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
16206 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
16207 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
16209 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
16210 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16212 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16213 return (void *)((wxWindow
*) ((wxControl
*) x
));
16215 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
16216 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16218 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
16219 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16221 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
16222 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16224 static void *_p_wxGridTo_p_wxWindow(void *x
) {
16225 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16227 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16228 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16230 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
16231 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
16233 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
16234 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16236 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16237 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16239 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16240 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16242 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16243 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16245 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16246 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16248 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16249 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16251 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16254 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16255 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16257 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16258 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16260 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16261 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16263 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16266 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16267 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16269 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16270 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16272 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16273 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16275 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16278 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16279 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16281 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16282 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16284 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16285 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16287 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16288 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16290 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16291 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16293 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16294 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16296 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16297 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16299 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16302 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16305 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16306 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16308 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16309 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16311 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16312 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16314 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16315 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16317 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16318 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16320 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16323 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16324 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16326 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16327 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16329 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16330 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16332 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16333 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16335 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16336 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16338 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16339 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16341 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16342 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16344 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16345 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16347 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16348 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16350 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16351 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16353 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16354 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16356 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16357 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16359 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16360 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16362 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16363 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16365 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16366 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16368 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16371 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16372 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16374 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16375 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16377 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16378 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16380 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16381 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16383 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16384 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16386 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16387 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16389 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16390 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16392 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16393 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16395 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16396 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16398 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16399 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16401 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16402 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16404 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16405 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16407 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16408 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16410 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16411 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16413 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16414 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16416 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16419 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16422 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16423 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16425 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16426 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16428 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16431 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16432 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16434 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16435 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16437 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16438 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16440 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16441 return (void *)((wxObject
*) ((wxSizer
*) x
));
16443 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16444 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16446 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16449 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16452 static void *_p_wxEventTo_p_wxObject(void *x
) {
16453 return (void *)((wxObject
*) ((wxEvent
*) x
));
16455 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16456 return (void *)((wxObject
*) ((wxFontData
*) x
));
16458 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16459 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16461 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16462 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16464 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16465 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16467 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16468 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16470 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16471 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16473 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16474 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16476 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16477 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16479 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16480 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16482 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16483 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16485 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16486 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16488 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16489 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16491 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16492 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16494 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16495 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16497 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16498 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16500 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16503 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16506 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16509 static void *_p_wxControlTo_p_wxObject(void *x
) {
16510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16512 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16513 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16515 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16518 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16519 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16521 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16522 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16524 static void *_p_wxGridTo_p_wxObject(void *x
) {
16525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16527 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16528 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16530 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16533 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16534 return (void *)((wxObject
*) ((wxColourData
*) x
));
16536 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16537 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16539 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16542 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16545 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16548 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16551 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16554 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16557 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16560 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16563 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16566 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16569 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16570 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16572 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16573 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16575 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16576 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16578 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16579 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16581 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16584 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16585 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16587 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16588 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16590 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16591 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16593 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16594 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16596 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16597 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16599 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16600 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16602 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16605 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16606 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16608 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16609 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16611 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16612 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16614 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16615 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16617 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16618 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16620 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16621 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16623 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16624 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16626 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16627 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16629 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16630 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16632 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16635 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16636 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16638 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16641 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16642 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16644 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16645 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16647 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16650 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16653 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16656 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16657 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16659 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16662 static void *_p_wxImageTo_p_wxObject(void *x
) {
16663 return (void *)((wxObject
*) ((wxImage
*) x
));
16665 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16668 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16669 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16671 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16672 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16674 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16675 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16677 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16680 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16683 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16686 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16687 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16689 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16690 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16692 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16693 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16695 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16698 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16701 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16704 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16705 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16707 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16710 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16713 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16716 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16719 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16722 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16725 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16728 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16731 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16734 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
16735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16737 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16740 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16741 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16743 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16744 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16746 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16749 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16752 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16755 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16758 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16761 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16764 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16767 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16768 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16770 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16773 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16774 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16776 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16777 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16779 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16780 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16782 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16783 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16785 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16786 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16788 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16789 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16791 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16792 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16794 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16797 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16798 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16800 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16803 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16806 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16807 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16809 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16810 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16812 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16813 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16815 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16818 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16819 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16821 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16822 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16824 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16827 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16828 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16830 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16833 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16836 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16839 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16840 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16842 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16843 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16845 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16846 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16848 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16849 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16851 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16854 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16857 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16860 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16863 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
16864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16866 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
16867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16869 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
16870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16872 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
16873 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
16875 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
16876 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
16878 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
16879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16881 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
16882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16884 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
16885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16887 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
16888 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
16890 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
16891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16893 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
16894 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
16896 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
16897 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
16899 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
16900 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
16902 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
16903 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
16905 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
16906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16908 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
16909 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
16911 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
16912 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
16914 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
16915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16917 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
16918 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
16920 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
16921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16923 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
16924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16926 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
16927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16929 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
16930 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
16932 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
16933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16935 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
16936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16938 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
16939 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
16941 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
16942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16944 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
16945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16947 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
16948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16950 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16953 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16956 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
16957 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16959 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
16960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16962 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
16963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16965 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
16966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16968 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
16969 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16971 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
16972 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16974 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
16975 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16977 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
16978 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16980 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
16981 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16983 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
16984 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
16986 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
16987 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16989 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
16990 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
16992 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
16993 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
16995 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
16996 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16998 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
16999 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17001 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
17002 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
17004 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
17005 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
17007 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
17008 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17010 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
17011 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17013 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
17014 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17016 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
17017 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17019 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
17020 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17022 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
17023 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
17025 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
17026 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17028 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
17029 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17031 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
17032 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
17034 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
17035 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17037 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
17038 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17040 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
17041 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17043 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
17044 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
17046 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
17047 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
17049 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
17050 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17052 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
17053 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
17055 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
17056 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
17058 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
17059 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17061 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
17062 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17064 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
17065 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17067 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
17068 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
17070 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
17071 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17073 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}};
17074 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}};
17075 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}};
17076 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}};
17077 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}};
17078 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}};
17079 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}};
17080 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}};
17081 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}};
17082 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}};
17083 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}};
17084 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}};
17085 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}};
17086 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}};
17087 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}};
17088 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}};
17089 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}};
17090 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}};
17091 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}};
17092 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}};
17093 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}};
17094 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}};
17095 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}};
17096 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}};
17097 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}};
17098 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}};
17099 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}};
17100 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}};
17101 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}};
17102 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}};
17103 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}};
17104 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}};
17105 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}};
17106 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}};
17107 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}};
17108 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}};
17109 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}};
17110 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}};
17111 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}};
17112 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}};
17113 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}};
17114 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}};
17115 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}};
17116 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}};
17117 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}};
17118 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}};
17119 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}};
17120 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}};
17121 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}};
17122 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}};
17123 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}};
17124 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}};
17125 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}};
17127 static swig_type_info
*swig_types_initial
[] = {
17128 _swigt__p_wxGridCellAutoWrapStringRenderer
,
17129 _swigt__p_wxGridCellEnumRenderer
,
17130 _swigt__p_wxGridCellDateTimeRenderer
,
17131 _swigt__p_wxGridCellBoolRenderer
,
17132 _swigt__p_wxGridCellFloatRenderer
,
17133 _swigt__p_wxGridCellNumberRenderer
,
17134 _swigt__p_wxPyGridCellRenderer
,
17135 _swigt__p_wxGridCellRenderer
,
17136 _swigt__p_wxGridCellStringRenderer
,
17137 _swigt__p_wxGridCellAttr
,
17138 _swigt__p_wxColour
,
17140 _swigt__p_wxGridTableMessage
,
17142 _swigt__p_wxVisualAttributes
,
17145 _swigt__p_wxNotifyEvent
,
17146 _swigt__p_wxGridRangeSelectEvent
,
17148 _swigt__p_wxGridCellCoords
,
17149 _swigt__p_wxScrolledWindow
,
17150 _swigt__p_wxWindow
,
17152 _swigt__p_wxControl
,
17154 _swigt__p_wxObject
,
17155 _swigt__p_wxGridSizeEvent
,
17158 _swigt__p_wxString
,
17159 _swigt__p_wxEvtHandler
,
17161 _swigt__p_wxGridEvent
,
17162 _swigt__p_wxGridEditorCreatedEvent
,
17163 _swigt__p_wxGridTableBase
,
17164 _swigt__p_wxGridCellNumberEditor
,
17165 _swigt__p_wxPyGridCellEditor
,
17166 _swigt__p_wxGridCellEditor
,
17167 _swigt__p_wxGridCellTextEditor
,
17168 _swigt__p_wxGridCellFloatEditor
,
17169 _swigt__p_wxGridCellBoolEditor
,
17170 _swigt__p_wxPyGridTableBase
,
17171 _swigt__p_wxGridStringTable
,
17172 _swigt__p_wxArrayString
,
17173 _swigt__p_wxCommandEvent
,
17174 _swigt__p_wxGridCellAttrProvider
,
17175 _swigt__p_wxKeyEvent
,
17176 _swigt__p_wxGridCellChoiceEditor
,
17177 _swigt__p_wxGridCellEnumEditor
,
17178 _swigt__p_wxGridCellAutoWrapStringEditor
,
17180 _swigt__p_wxPyGridCellAttrProvider
,
17185 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17187 static swig_const_info swig_const_table
[] = {
17188 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17189 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
17190 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17191 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
17192 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
17193 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17194 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17195 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
17196 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
17206 SWIGEXPORT(void) SWIG_init(void) {
17207 static PyObject
*SWIG_globals
= 0;
17208 static int typeinit
= 0;
17211 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17212 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17213 d
= PyModule_GetDict(m
);
17216 for (i
= 0; swig_types_initial
[i
]; i
++) {
17217 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17221 SWIG_InstallConstants(d
,swig_const_table
);
17223 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17224 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
17225 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17226 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17227 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17228 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17229 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17230 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17231 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17232 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17233 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17234 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
17235 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
17236 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_FromInt((int)wxGridCellAttr::Any
));
17237 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_FromInt((int)wxGridCellAttr::Default
));
17238 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_FromInt((int)wxGridCellAttr::Cell
));
17239 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_FromInt((int)wxGridCellAttr::Row
));
17240 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_FromInt((int)wxGridCellAttr::Col
));
17241 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_FromInt((int)wxGridCellAttr::Merged
));
17242 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
17243 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
17244 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
17245 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
17246 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
17247 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
17248 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
17249 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
17250 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_FromInt((int)wxGrid::wxGridSelectCells
));
17251 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_FromInt((int)wxGrid::wxGridSelectRows
));
17252 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_FromInt((int)wxGrid::wxGridSelectColumns
));
17253 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17254 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17255 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17256 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17257 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17258 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17259 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17260 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17261 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17262 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17263 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17264 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17265 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17266 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17267 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17268 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));