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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
234 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
235 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
236 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
237 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
238 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
239 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
240 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
241 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
242 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
243 #define SWIGTYPE_p_wxColour swig_types[10]
244 #define SWIGTYPE_p_wxDC swig_types[11]
245 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
246 #define SWIGTYPE_p_wxGrid swig_types[13]
247 #define SWIGTYPE_p_char swig_types[14]
248 #define SWIGTYPE_p_wxPanel swig_types[15]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[16]
250 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[17]
251 #define SWIGTYPE_p_wxSize swig_types[18]
252 #define SWIGTYPE_p_wxGridCellCoords swig_types[19]
253 #define SWIGTYPE_p_wxScrolledWindow swig_types[20]
254 #define SWIGTYPE_p_wxWindow swig_types[21]
255 #define SWIGTYPE_p_wxFont swig_types[22]
256 #define SWIGTYPE_p_wxControl swig_types[23]
257 #define SWIGTYPE_p_wxEvent swig_types[24]
258 #define SWIGTYPE_p_wxObject swig_types[25]
259 #define SWIGTYPE_p_wxGridSizeEvent swig_types[26]
260 #define SWIGTYPE_p_wxRect swig_types[27]
261 #define SWIGTYPE_p_long swig_types[28]
262 #define SWIGTYPE_p_wxString swig_types[29]
263 #define SWIGTYPE_p_wxEvtHandler swig_types[30]
264 #define SWIGTYPE_p_wxPoint swig_types[31]
265 #define SWIGTYPE_p_wxGridEvent swig_types[32]
266 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[33]
267 #define SWIGTYPE_p_wxGridTableBase swig_types[34]
268 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
269 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
270 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
271 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
272 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[39]
273 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[40]
274 #define SWIGTYPE_p_wxPyGridTableBase swig_types[41]
275 #define SWIGTYPE_p_wxGridStringTable swig_types[42]
276 #define SWIGTYPE_p_wxArrayString swig_types[43]
277 #define SWIGTYPE_p_wxCommandEvent swig_types[44]
278 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[45]
279 #define SWIGTYPE_p_wxKeyEvent swig_types[46]
280 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[47]
281 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[48]
282 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[49]
283 #define SWIGTYPE_p_int swig_types[50]
284 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[51]
285 static swig_type_info
*swig_types
[53];
287 /* -------- TYPES TABLE (END) -------- */
290 /*-----------------------------------------------
292 ------------------------------------------------*/
293 #define SWIG_init init_grid
295 #define SWIG_name "_grid"
303 #define SWIGSTATIC(a) static inline a
305 #define SWIGSTATIC(a) static a
311 #ifdef HAVE_NUMERIC_CAST
312 #define numeric_cast(type,a) numeric_cast<type>(a)
314 #define numeric_cast(type,a) static_cast<type>(a)
317 #define numeric_cast(type,a) (type)(a)
323 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
324 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
325 #define SWIG_PyObj_FromShort PyInt_FromLong
326 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
327 #define SWIG_PyObj_FromInt PyInt_FromLong
328 #define SWIG_PyObj_FromLong PyInt_FromLong
329 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
330 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
331 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
332 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
335 #include "wx/wxPython/wxPython.h"
336 #include "wx/wxPython/pyclasses.h"
337 #include "wx/wxPython/printfw.h"
340 #include <wx/generic/gridctrl.h>
343 static const wxString
wxPyEmptyString(wxEmptyString
);
344 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
345 static const wxString
wxPyDateTimeFormatStr(wxT("%c"));
348 #define wxPyMake_TEMPLATE(TYPE) \
349 PyObject* wxPyMake_##TYPE(TYPE* source) { \
350 PyObject* target = NULL; \
352 /* Check if there is already a pointer to a Python object in the \
353 OOR data that we can use. */ \
354 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
356 target = data->m_obj; \
359 /* Otherwise make a new wrapper for it the old fashioned way and \
360 give it the OOR treatment */ \
362 target = wxPyConstructObject(source, wxT(#TYPE), False); \
364 source->SetClientObject(new wxPyOORClientData(target)); \
366 } else { /* source was NULL so return None. */ \
367 Py_INCREF(Py_None); target = Py_None; \
373 wxPyMake_TEMPLATE(wxGridCellRenderer)
374 wxPyMake_TEMPLATE(wxGridCellEditor
)
375 wxPyMake_TEMPLATE(wxGridCellAttr
)
376 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
377 wxPyMake_TEMPLATE(wxGridTableBase
)
381 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
382 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
383 wxGridCellAttr* rval = NULL; \
385 wxPyBeginBlockThreads(); \
386 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
388 wxGridCellAttr* ptr; \
389 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
391 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
396 wxPyEndBlockThreads(); \
398 rval = PCLASS::CBNAME(a, b, c); \
401 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
402 return PCLASS::CBNAME(a, b, c); \
407 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
408 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
409 wxPyBeginBlockThreads(); \
411 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
412 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
413 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
416 wxPyEndBlockThreads(); \
418 PCLASS::CBNAME(attr, a, b); \
420 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
421 PCLASS::CBNAME(attr, a, b); \
426 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
427 void CBNAME(wxGridCellAttr *attr, int val) { \
428 wxPyBeginBlockThreads(); \
430 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
431 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
432 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
435 wxPyEndBlockThreads(); \
437 PCLASS::CBNAME(attr, val); \
439 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
440 PCLASS::CBNAME(attr, val); \
445 #define PYCALLBACK_INT__pure(CBNAME) \
447 wxPyBeginBlockThreads(); \
449 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
450 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
451 wxPyEndBlockThreads(); \
457 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
458 bool CBNAME(int a, int b) { \
459 wxPyBeginBlockThreads(); \
461 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
462 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
463 wxPyEndBlockThreads(); \
468 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
469 wxString CBNAME(int a, int b) { \
470 wxPyBeginBlockThreads(); \
472 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
474 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
476 rval = Py2wxString(ro); \
480 wxPyEndBlockThreads(); \
485 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
486 void CBNAME(int a, int b, const wxString& c) { \
487 wxPyBeginBlockThreads(); \
488 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
489 PyObject* s = wx2PyString(c); \
490 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
493 wxPyEndBlockThreads(); \
497 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
498 wxString CBNAME(int a, int b) { \
500 wxPyBeginBlockThreads(); \
502 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
504 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
506 rval = Py2wxString(ro); \
510 wxPyEndBlockThreads(); \
512 rval = PCLASS::CBNAME(a, b); \
515 wxString base_##CBNAME(int a, int b) { \
516 return PCLASS::CBNAME(a, b); \
520 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
521 bool CBNAME(int a, int b, const wxString& c) { \
524 wxPyBeginBlockThreads(); \
525 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
526 PyObject* s = wx2PyString(c); \
527 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
530 wxPyEndBlockThreads(); \
532 rval = PCLASS::CBNAME(a,b,c); \
535 bool base_##CBNAME(int a, int b, const wxString& c) { \
536 return PCLASS::CBNAME(a,b,c); \
542 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
543 long CBNAME(int a, int b) { \
546 wxPyBeginBlockThreads(); \
547 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
548 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
549 wxPyEndBlockThreads(); \
551 rval = PCLASS::CBNAME(a,b); \
554 long base_##CBNAME(int a, int b) { \
555 return PCLASS::CBNAME(a,b); \
560 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
561 bool CBNAME(int a, int b) { \
564 wxPyBeginBlockThreads(); \
565 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
566 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
567 wxPyEndBlockThreads(); \
569 rval = PCLASS::CBNAME(a,b); \
572 bool base_##CBNAME(int a, int b) { \
573 return PCLASS::CBNAME(a,b); \
578 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
579 double CBNAME(int a, int b) { \
581 wxPyBeginBlockThreads(); \
583 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
585 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
587 PyObject* str = PyObject_Str(ro); \
588 rval = PyFloat_AsDouble(str); \
589 Py_DECREF(ro); Py_DECREF(str); \
592 wxPyEndBlockThreads(); \
594 rval = PCLASS::CBNAME(a, b); \
597 double base_##CBNAME(int a, int b) { \
598 return PCLASS::CBNAME(a, b); \
603 #define PYCALLBACK__(PCLASS, CBNAME) \
606 wxPyBeginBlockThreads(); \
607 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
608 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
609 wxPyEndBlockThreads(); \
613 void base_##CBNAME() { \
620 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
621 bool CBNAME(size_t a, size_t b) { \
624 wxPyBeginBlockThreads(); \
625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
626 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
627 wxPyEndBlockThreads(); \
629 rval = PCLASS::CBNAME(a,b); \
632 bool base_##CBNAME(size_t a, size_t b) { \
633 return PCLASS::CBNAME(a,b); \
638 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
639 bool CBNAME(size_t a) { \
642 wxPyBeginBlockThreads(); \
643 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
644 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
645 wxPyEndBlockThreads(); \
647 rval = PCLASS::CBNAME(a); \
650 bool base_##CBNAME(size_t a) { \
651 return PCLASS::CBNAME(a); \
655 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
656 wxString CBNAME(int a) { \
658 wxPyBeginBlockThreads(); \
660 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
662 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
664 rval = Py2wxString(ro); \
668 wxPyEndBlockThreads(); \
670 rval = PCLASS::CBNAME(a); \
673 wxString base_##CBNAME(int a) { \
674 return PCLASS::CBNAME(a); \
678 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
679 void CBNAME(int a, const wxString& c) { \
681 wxPyBeginBlockThreads(); \
682 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
683 PyObject* s = wx2PyString(c); \
684 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
687 wxPyEndBlockThreads(); \
689 PCLASS::CBNAME(a,c); \
691 void base_##CBNAME(int a, const wxString& c) { \
692 PCLASS::CBNAME(a,c); \
698 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
702 wxPyBeginBlockThreads(); \
703 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
704 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
705 wxPyEndBlockThreads(); \
707 rval = PCLASS::CBNAME(); \
710 bool base_##CBNAME() { \
711 return PCLASS::CBNAME(); \
716 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
717 void CBNAME(size_t a, int b) { \
719 wxPyBeginBlockThreads(); \
720 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
721 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
722 wxPyEndBlockThreads(); \
724 PCLASS::CBNAME(a,b); \
726 void base_##CBNAME(size_t a, int b) { \
727 PCLASS::CBNAME(a,b); \
733 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
734 void CBNAME(int a, int b, long c) { \
736 wxPyBeginBlockThreads(); \
737 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
738 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
739 wxPyEndBlockThreads(); \
741 PCLASS::CBNAME(a,b,c); \
743 void base_##CBNAME(int a, int b, long c) { \
744 PCLASS::CBNAME(a,b,c); \
750 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
751 void CBNAME(int a, int b, double c) { \
753 wxPyBeginBlockThreads(); \
754 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
755 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
756 wxPyEndBlockThreads(); \
758 PCLASS::CBNAME(a,b,c); \
760 void base_##CBNAME(int a, int b, double c) { \
761 PCLASS::CBNAME(a,b,c); \
766 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
767 void CBNAME(int a, int b, bool c) { \
769 wxPyBeginBlockThreads(); \
770 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
771 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
772 wxPyEndBlockThreads(); \
774 PCLASS::CBNAME(a,b,c); \
776 void base_##CBNAME(int a, int b, bool c) { \
777 PCLASS::CBNAME(a,b,c); \
784 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
785 self
->SetClientObject(new wxPyOORClientData(_self
));
789 SWIG_PyObj_AsInt(PyObject
*obj
)
791 return numeric_cast(int,
792 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
797 SWIG_PyObj_AsBool(PyObject
*obj
)
799 return PyObject_IsTrue(obj
) ? true : false;
803 class wxPyGridCellRenderer
: public wxGridCellRenderer
806 wxPyGridCellRenderer() : wxGridCellRenderer() {};
808 // Implement Python callback aware virtual methods
809 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
810 wxDC
& dc
, const wxRect
& rect
,
811 int row
, int col
, bool isSelected
) {
812 wxPyBeginBlockThreads();
813 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
814 PyObject
* go
= wxPyMake_wxObject(&grid
);
815 PyObject
* dco
= wxPyMake_wxObject(&dc
);
816 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
817 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
819 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
820 row
, col
, isSelected
));
826 wxPyEndBlockThreads();
829 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
832 wxPyBeginBlockThreads();
833 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
836 PyObject
* go
= wxPyMake_wxObject(&grid
);
837 PyObject
* dco
= wxPyMake_wxObject(&dc
);
838 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
840 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
848 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
849 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
852 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
853 PyObject
* o1
= PySequence_GetItem(ro
, 0);
854 PyObject
* o2
= PySequence_GetItem(ro
, 1);
855 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
856 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
858 PyErr_SetString(PyExc_TypeError
, errmsg
);
863 PyErr_SetString(PyExc_TypeError
, errmsg
);
868 wxPyEndBlockThreads();
873 wxGridCellRenderer
*Clone() const {
874 wxGridCellRenderer
* rval
= NULL
;
875 wxPyBeginBlockThreads();
876 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
878 wxGridCellRenderer
* ptr
;
879 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
881 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
886 wxPyEndBlockThreads();
890 DEC_PYCALLBACK__STRING(SetParameters
);
895 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
898 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
899 self
->SetClientObject(new wxPyOORClientData(_self
));
902 class wxPyGridCellEditor
: public wxGridCellEditor
905 wxPyGridCellEditor() : wxGridCellEditor() {}
907 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
908 wxPyBeginBlockThreads();
909 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
910 PyObject
* po
= wxPyMake_wxObject(parent
);
911 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
913 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
917 wxPyEndBlockThreads();
921 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
922 wxPyBeginBlockThreads();
923 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
924 PyObject
* go
= wxPyMake_wxObject(grid
);
925 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
928 wxPyEndBlockThreads();
932 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
934 wxPyBeginBlockThreads();
935 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
936 PyObject
* go
= wxPyMake_wxObject(grid
);
937 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
940 wxPyEndBlockThreads();
945 wxGridCellEditor
* Clone() const {
946 wxGridCellEditor
* rval
= NULL
;
947 wxPyBeginBlockThreads();
948 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
950 wxGridCellEditor
* ptr
;
951 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
953 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
958 wxPyEndBlockThreads();
963 void Show(bool show
, wxGridCellAttr
*attr
) {
965 wxPyBeginBlockThreads();
966 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
967 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
968 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
971 wxPyEndBlockThreads();
973 wxGridCellEditor::Show(show
, attr
);
975 void base_Show(bool show
, wxGridCellAttr
*attr
) {
976 wxGridCellEditor::Show(show
, attr
);
980 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
982 wxPyBeginBlockThreads();
983 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
984 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
985 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
987 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
992 wxPyEndBlockThreads();
994 wxGridCellEditor::PaintBackground(rectCell
, attr
);
996 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
997 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1001 DEC_PYCALLBACK___pure(Reset
);
1002 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1003 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1004 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1005 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1006 DEC_PYCALLBACK__(StartingClick
);
1007 DEC_PYCALLBACK__(Destroy
);
1008 DEC_PYCALLBACK__STRING(SetParameters
);
1009 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1015 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1016 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1017 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1018 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1019 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1020 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1021 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1022 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1023 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1026 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1027 self
->SetClientObject(new wxPyOORClientData(_self
));
1030 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1036 } else if (target
== Py_None
) {
1040 if (!PyTuple_Check(target
)) {
1042 target
= PyTuple_New(1);
1043 PyTuple_SetItem(target
, 0, o2
);
1045 o3
= PyTuple_New(1);
1046 PyTuple_SetItem(o3
, 0, o
);
1049 target
= PySequence_Concat(o2
, o3
);
1056 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1057 self
->SetClientObject(new wxPyOORClientData(_self
));
1060 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1063 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1065 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1066 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1067 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1068 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1073 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1074 self
->SetClientObject(new wxPyOORClientData(_self
));
1078 SWIG_PyObj_AsLong(PyObject
* obj
)
1080 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
1085 SWIG_PyObj_AsDouble(PyObject
*obj
)
1087 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1089 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1091 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1093 if (PyErr_Occurred()) {
1095 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1100 class wxPyGridTableBase
: public wxGridTableBase
1103 wxPyGridTableBase() : wxGridTableBase() {}
1105 PYCALLBACK_INT__pure(GetNumberRows
);
1106 PYCALLBACK_INT__pure(GetNumberCols
);
1107 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1108 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1109 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1110 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1111 PYCALLBACK__(wxGridTableBase
, Clear
);
1112 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1113 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1114 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1115 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1116 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1117 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1118 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1119 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1120 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1121 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1122 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1123 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1124 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1125 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1126 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1129 wxString
GetValue(int row
, int col
) {
1130 wxPyBeginBlockThreads();
1132 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1134 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1136 rval
= Py2wxString(ro
);
1140 wxPyEndBlockThreads();
1144 void SetValue(int row
, int col
, const wxString
& val
) {
1145 wxPyBeginBlockThreads();
1146 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1147 PyObject
* s
= wx2PyString(val
);
1148 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1151 wxPyEndBlockThreads();
1155 // Map the Get/Set methods for the standard non-string types to
1156 // the GetValue and SetValue python methods.
1157 long GetValueAsLong( int row
, int col
) {
1159 wxPyBeginBlockThreads();
1160 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1163 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1164 if (ro
&& PyNumber_Check(ro
)) {
1165 num
= PyNumber_Int(ro
);
1167 rval
= PyInt_AsLong(num
);
1173 wxPyEndBlockThreads();
1177 double GetValueAsDouble( int row
, int col
) {
1179 wxPyBeginBlockThreads();
1180 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1183 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1184 if (ro
&& PyNumber_Check(ro
)) {
1185 num
= PyNumber_Float(ro
);
1187 rval
= PyFloat_AsDouble(num
);
1193 wxPyEndBlockThreads();
1197 bool GetValueAsBool( int row
, int col
) {
1198 return (bool)GetValueAsLong(row
, col
);
1201 void SetValueAsLong( int row
, int col
, long value
) {
1202 wxPyBeginBlockThreads();
1203 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1204 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1206 wxPyEndBlockThreads();
1209 void SetValueAsDouble( int row
, int col
, double value
) {
1210 wxPyBeginBlockThreads();
1211 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1212 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1214 wxPyEndBlockThreads();
1217 void SetValueAsBool( int row
, int col
, bool value
) {
1218 SetValueAsLong( row
, col
, (long)value
);
1225 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1226 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1227 PyObject
* tup
= PyTuple_New(2);
1228 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1229 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1233 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1235 // If source is an object instance then it may already be the right type
1236 if (wxPySwigInstance_Check(source
)) {
1237 wxGridCellCoords
* ptr
;
1238 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1243 // otherwise a 2-tuple of integers is expected
1244 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1245 PyObject
* o1
= PySequence_GetItem(source
, 0);
1246 PyObject
* o2
= PySequence_GetItem(source
, 1);
1247 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1252 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1259 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1264 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1267 if (wxPySwigInstance_Check(source
) &&
1268 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1272 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1279 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1281 PyObject
* list
= PyList_New(0);
1283 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1284 wxGridCellCoords
& coord
= source
.Item(idx
);
1285 PyObject
* tup
= PyTuple_New(2);
1286 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1287 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1288 PyList_Append(list
, tup
);
1295 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1297 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1298 wxGridCellCoords rv
;
1299 self
->XYToCell(x
, y
, rv
);
1305 static int _wrap_DateTimeFormatStr_set(PyObject
*_val
) {
1306 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1311 static PyObject
*_wrap_DateTimeFormatStr_get() {
1316 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1318 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1325 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1326 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1331 static PyObject
*_wrap_GridNoCellCoords_get() {
1334 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellCoords
, SWIGTYPE_p_wxGridCellCoords
, 0);
1339 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1340 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1345 static PyObject
*_wrap_GridNoCellRect_get() {
1348 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellRect
, SWIGTYPE_p_wxRect
, 0);
1353 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
*resultobj
;
1355 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1356 PyObject
*arg2
= (PyObject
*) 0 ;
1357 PyObject
* obj0
= 0 ;
1358 PyObject
* obj1
= 0 ;
1360 (char *) "self",(char *) "_self", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 Py_INCREF(Py_None
); resultobj
= Py_None
;
1380 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1383 wxString
*arg2
= 0 ;
1384 bool temp2
= False
;
1385 PyObject
* obj0
= 0 ;
1386 PyObject
* obj1
= 0 ;
1388 (char *) "self",(char *) "params", NULL
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1394 arg2
= wxString_in_helper(obj1
);
1395 if (arg2
== NULL
) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 (arg1
)->SetParameters((wxString
const &)*arg2
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1405 Py_INCREF(Py_None
); resultobj
= Py_None
;
1420 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
*resultobj
;
1422 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1423 PyObject
* obj0
= 0 ;
1425 (char *) "self", NULL
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1437 Py_INCREF(Py_None
); resultobj
= Py_None
;
1444 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1447 PyObject
* obj0
= 0 ;
1449 (char *) "self", NULL
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) SWIG_fail
;
1461 Py_INCREF(Py_None
); resultobj
= Py_None
;
1468 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
*resultobj
;
1470 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1472 wxGridCellAttr
*arg3
= 0 ;
1479 PyObject
* obj0
= 0 ;
1480 PyObject
* obj1
= 0 ;
1481 PyObject
* obj2
= 0 ;
1482 PyObject
* obj3
= 0 ;
1483 PyObject
* obj4
= 0 ;
1484 PyObject
* obj5
= 0 ;
1485 PyObject
* obj6
= 0 ;
1486 PyObject
* obj7
= 0 ;
1488 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1497 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1501 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1507 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1510 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1511 if (PyErr_Occurred()) SWIG_fail
;
1514 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) SWIG_fail
;
1528 Py_INCREF(Py_None
); resultobj
= Py_None
;
1535 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
*resultobj
;
1537 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1539 wxGridCellAttr
*arg3
= 0 ;
1544 PyObject
* obj0
= 0 ;
1545 PyObject
* obj1
= 0 ;
1546 PyObject
* obj2
= 0 ;
1547 PyObject
* obj3
= 0 ;
1548 PyObject
* obj4
= 0 ;
1549 PyObject
* obj5
= 0 ;
1551 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1558 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1560 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1562 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1564 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1569 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1573 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1585 resultptr
= new wxSize((wxSize
&) result
);
1586 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1594 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
*resultobj
;
1596 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1597 wxGridCellRenderer
*result
;
1598 PyObject
* obj0
= 0 ;
1600 (char *) "self", NULL
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1613 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1621 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1624 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1626 return Py_BuildValue((char *)"");
1628 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
*resultobj
;
1630 wxPyGridCellRenderer
*result
;
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1650 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1653 PyObject
*arg2
= (PyObject
*) 0 ;
1654 PyObject
*arg3
= (PyObject
*) 0 ;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1657 PyObject
* obj2
= 0 ;
1659 (char *) "self",(char *) "self",(char *) "_class", NULL
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1673 Py_INCREF(Py_None
); resultobj
= Py_None
;
1680 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1683 wxString
*arg2
= 0 ;
1684 bool temp2
= False
;
1685 PyObject
* obj0
= 0 ;
1686 PyObject
* obj1
= 0 ;
1688 (char *) "self",(char *) "params", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 arg2
= wxString_in_helper(obj1
);
1695 if (arg2
== NULL
) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1705 Py_INCREF(Py_None
); resultobj
= Py_None
;
1720 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1723 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1725 return Py_BuildValue((char *)"");
1727 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxGridCellStringRenderer
*result
;
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1749 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1752 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1754 return Py_BuildValue((char *)"");
1756 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
*resultobj
;
1758 wxGridCellNumberRenderer
*result
;
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1778 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1781 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1783 return Py_BuildValue((char *)"");
1785 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
*resultobj
;
1787 int arg1
= (int) -1 ;
1788 int arg2
= (int) -1 ;
1789 wxGridCellFloatRenderer
*result
;
1790 PyObject
* obj0
= 0 ;
1791 PyObject
* obj1
= 0 ;
1793 (char *) "width",(char *) "precision", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1799 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1805 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1823 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
*resultobj
;
1825 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1827 PyObject
* obj0
= 0 ;
1829 (char *) "self", NULL
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 resultobj
= SWIG_PyObj_FromInt((int)result
);
1848 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1853 PyObject
* obj1
= 0 ;
1855 (char *) "self",(char *) "width", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1861 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 (arg1
)->SetWidth(arg2
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 Py_INCREF(Py_None
); resultobj
= Py_None
;
1878 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1880 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1882 PyObject
* obj0
= 0 ;
1884 (char *) "self", NULL
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1896 resultobj
= SWIG_PyObj_FromInt((int)result
);
1903 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1905 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1908 PyObject
* obj1
= 0 ;
1910 (char *) "self",(char *) "precision", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1916 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 (arg1
)->SetPrecision(arg2
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 Py_INCREF(Py_None
); resultobj
= Py_None
;
1933 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1936 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
1938 return Py_BuildValue((char *)"");
1940 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxGridCellBoolRenderer
*result
;
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
1962 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1965 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
1967 return Py_BuildValue((char *)"");
1969 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
*resultobj
;
1971 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
1972 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
1973 wxGridCellDateTimeRenderer
*result
;
1974 PyObject
* obj0
= 0 ;
1975 PyObject
* obj1
= 0 ;
1977 (char *) "outformat",(char *) "informat", NULL
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1983 wxString
* sptr
= wxString_in_helper(obj0
);
1984 if (sptr
== NULL
) SWIG_fail
;
1991 wxString
* sptr
= wxString_in_helper(obj1
);
1992 if (sptr
== NULL
) SWIG_fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2011 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2014 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2016 return Py_BuildValue((char *)"");
2018 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
*resultobj
;
2020 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2021 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2022 wxGridCellEnumRenderer
*result
;
2023 bool temp1
= False
;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "choices", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2032 arg1
= wxString_in_helper(obj0
);
2033 if (arg1
== NULL
) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2059 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2062 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2064 return Py_BuildValue((char *)"");
2066 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2068 wxGridCellAutoWrapStringRenderer
*result
;
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2088 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2091 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2093 return Py_BuildValue((char *)"");
2095 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2098 PyObject
*arg2
= (PyObject
*) 0 ;
2099 PyObject
* obj0
= 0 ;
2100 PyObject
* obj1
= 0 ;
2102 (char *) "self",(char *) "_self", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 Py_INCREF(Py_None
); resultobj
= Py_None
;
2122 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2124 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2126 PyObject
* obj0
= 0 ;
2128 (char *) "self", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 result
= (bool)(arg1
)->IsCreated();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2147 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2151 PyObject
* obj0
= 0 ;
2153 (char *) "self", NULL
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 result
= (wxControl
*)(arg1
)->GetControl();
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2166 resultobj
= wxPyMake_wxObject(result
);
2174 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2176 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2177 wxControl
*arg2
= (wxControl
*) 0 ;
2178 PyObject
* obj0
= 0 ;
2179 PyObject
* obj1
= 0 ;
2181 (char *) "self",(char *) "control", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 (arg1
)->SetControl(arg2
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2194 Py_INCREF(Py_None
); resultobj
= Py_None
;
2201 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2203 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2204 wxGridCellAttr
*result
;
2205 PyObject
* obj0
= 0 ;
2207 (char *) "self", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2220 resultobj
= wxPyMake_wxGridCellAttr(result
);
2228 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2231 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2232 PyObject
* obj0
= 0 ;
2233 PyObject
* obj1
= 0 ;
2235 (char *) "self",(char *) "attr", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 (arg1
)->SetCellAttr(arg2
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 Py_INCREF(Py_None
); resultobj
= Py_None
;
2255 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2258 wxString
*arg2
= 0 ;
2259 bool temp2
= False
;
2260 PyObject
* obj0
= 0 ;
2261 PyObject
* obj1
= 0 ;
2263 (char *) "self",(char *) "params", NULL
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2269 arg2
= wxString_in_helper(obj1
);
2270 if (arg2
== NULL
) SWIG_fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 (arg1
)->SetParameters((wxString
const &)*arg2
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2280 Py_INCREF(Py_None
); resultobj
= Py_None
;
2295 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
*resultobj
;
2297 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2298 PyObject
* obj0
= 0 ;
2300 (char *) "self", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 Py_INCREF(Py_None
); resultobj
= Py_None
;
2319 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2336 Py_INCREF(Py_None
); resultobj
= Py_None
;
2343 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
*resultobj
;
2345 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2346 wxWindow
*arg2
= (wxWindow
*) 0 ;
2348 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2349 PyObject
* obj0
= 0 ;
2350 PyObject
* obj1
= 0 ;
2351 PyObject
* obj2
= 0 ;
2352 PyObject
* obj3
= 0 ;
2354 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2361 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 (arg1
)->Create(arg2
,arg3
,arg4
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 Py_INCREF(Py_None
); resultobj
= Py_None
;
2379 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2381 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2384 wxGrid
*arg4
= (wxGrid
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2386 PyObject
* obj1
= 0 ;
2387 PyObject
* obj2
= 0 ;
2388 PyObject
* obj3
= 0 ;
2390 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2396 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2400 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2401 if (PyErr_Occurred()) SWIG_fail
;
2403 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2423 wxGrid
*arg4
= (wxGrid
*) 0 ;
2425 PyObject
* obj0
= 0 ;
2426 PyObject
* obj1
= 0 ;
2427 PyObject
* obj2
= 0 ;
2428 PyObject
* obj3
= 0 ;
2430 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2436 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2440 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2443 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2446 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2448 wxPyEndAllowThreads(__tstate
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2458 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2463 (char *) "self", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2475 Py_INCREF(Py_None
); resultobj
= Py_None
;
2482 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2485 wxGridCellEditor
*result
;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "self", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2501 resultobj
= wxPyMake_wxGridCellEditor(result
);
2509 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2514 PyObject
* obj0
= 0 ;
2515 PyObject
* obj1
= 0 ;
2517 (char *) "self",(char *) "rect", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2524 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 (arg1
)->SetSize((wxRect
const &)*arg2
);
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 Py_INCREF(Py_None
); resultobj
= Py_None
;
2540 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2544 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2547 PyObject
* obj2
= 0 ;
2549 (char *) "self",(char *) "show",(char *) "attr", NULL
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2555 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2559 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 (arg1
)->Show(arg2
,arg3
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 Py_INCREF(Py_None
); resultobj
= Py_None
;
2575 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2577 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2579 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2581 PyObject
* obj0
= 0 ;
2582 PyObject
* obj1
= 0 ;
2583 PyObject
* obj2
= 0 ;
2585 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2592 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2594 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 Py_INCREF(Py_None
); resultobj
= Py_None
;
2609 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2612 wxKeyEvent
*arg2
= 0 ;
2614 PyObject
* obj0
= 0 ;
2615 PyObject
* obj1
= 0 ;
2617 (char *) "self",(char *) "event", NULL
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2640 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2643 wxKeyEvent
*arg2
= 0 ;
2644 PyObject
* obj0
= 0 ;
2645 PyObject
* obj1
= 0 ;
2647 (char *) "self",(char *) "event", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 (arg1
)->StartingKey(*arg2
);
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2663 Py_INCREF(Py_None
); resultobj
= Py_None
;
2670 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
*resultobj
;
2672 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2673 PyObject
* obj0
= 0 ;
2675 (char *) "self", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 (arg1
)->StartingClick();
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2687 Py_INCREF(Py_None
); resultobj
= Py_None
;
2694 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2697 wxKeyEvent
*arg2
= 0 ;
2698 PyObject
* obj0
= 0 ;
2699 PyObject
* obj1
= 0 ;
2701 (char *) "self",(char *) "event", NULL
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2706 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2708 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 (arg1
)->HandleReturn(*arg2
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2727 PyObject
* obj0
= 0 ;
2729 (char *) "self", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2751 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2753 return Py_BuildValue((char *)"");
2755 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxPyGridCellEditor
*result
;
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellEditor
, 1);
2777 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
*resultobj
;
2779 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2780 PyObject
*arg2
= (PyObject
*) 0 ;
2781 PyObject
*arg3
= (PyObject
*) 0 ;
2782 PyObject
* obj0
= 0 ;
2783 PyObject
* obj1
= 0 ;
2784 PyObject
* obj2
= 0 ;
2786 (char *) "self",(char *) "self",(char *) "_class", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2800 Py_INCREF(Py_None
); resultobj
= Py_None
;
2807 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2812 PyObject
* obj0
= 0 ;
2813 PyObject
* obj1
= 0 ;
2815 (char *) "self",(char *) "rect", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2822 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 Py_INCREF(Py_None
); resultobj
= Py_None
;
2838 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2842 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2843 PyObject
* obj0
= 0 ;
2844 PyObject
* obj1
= 0 ;
2845 PyObject
* obj2
= 0 ;
2847 (char *) "self",(char *) "show",(char *) "attr", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2853 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2857 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 (arg1
)->base_Show(arg2
,arg3
);
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 Py_INCREF(Py_None
); resultobj
= Py_None
;
2873 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2877 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2881 PyObject
* obj2
= 0 ;
2883 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2890 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2892 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2900 Py_INCREF(Py_None
); resultobj
= Py_None
;
2907 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2910 wxKeyEvent
*arg2
= 0 ;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "self",(char *) "event", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2920 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2922 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2938 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2941 wxKeyEvent
*arg2
= 0 ;
2942 PyObject
* obj0
= 0 ;
2943 PyObject
* obj1
= 0 ;
2945 (char *) "self",(char *) "event", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2952 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 (arg1
)->base_StartingKey(*arg2
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2961 Py_INCREF(Py_None
); resultobj
= Py_None
;
2968 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2971 PyObject
* obj0
= 0 ;
2973 (char *) "self", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2980 (arg1
)->base_StartingClick();
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2985 Py_INCREF(Py_None
); resultobj
= Py_None
;
2992 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
*resultobj
;
2994 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2995 wxKeyEvent
*arg2
= 0 ;
2996 PyObject
* obj0
= 0 ;
2997 PyObject
* obj1
= 0 ;
2999 (char *) "self",(char *) "event", NULL
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3004 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3010 (arg1
)->base_HandleReturn(*arg2
);
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 Py_INCREF(Py_None
); resultobj
= Py_None
;
3022 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3025 PyObject
* obj0
= 0 ;
3027 (char *) "self", NULL
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 (arg1
)->base_Destroy();
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3039 Py_INCREF(Py_None
); resultobj
= Py_None
;
3046 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
*resultobj
;
3048 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3049 wxString
*arg2
= 0 ;
3050 bool temp2
= False
;
3051 PyObject
* obj0
= 0 ;
3052 PyObject
* obj1
= 0 ;
3054 (char *) "self",(char *) "params", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3060 arg2
= wxString_in_helper(obj1
);
3061 if (arg2
== NULL
) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3071 Py_INCREF(Py_None
); resultobj
= Py_None
;
3086 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3089 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3091 return Py_BuildValue((char *)"");
3093 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxGridCellTextEditor
*result
;
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellTextEditor
, 1);
3115 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3119 PyObject
* obj0
= 0 ;
3121 (char *) "self", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellTextEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (arg1
)->GetValue();
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3146 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3149 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3151 return Py_BuildValue((char *)"");
3153 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 int arg1
= (int) -1 ;
3156 int arg2
= (int) -1 ;
3157 wxGridCellNumberEditor
*result
;
3158 PyObject
* obj0
= 0 ;
3159 PyObject
* obj1
= 0 ;
3161 (char *) "min",(char *) "max", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3167 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3173 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3191 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "self", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellNumberEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (arg1
)->GetValue();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3222 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3225 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3227 return Py_BuildValue((char *)"");
3229 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxGridCellFloatEditor
*result
;
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3251 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (arg1
)->GetValue();
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3282 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3285 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3287 return Py_BuildValue((char *)"");
3289 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
;
3291 wxGridCellBoolEditor
*result
;
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3311 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
*resultobj
;
3313 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3317 (char *) "self", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellBoolEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 result
= (arg1
)->GetValue();
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3342 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3345 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3347 return Py_BuildValue((char *)"");
3349 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 int arg1
= (int) 0 ;
3352 wxString
*arg2
= (wxString
*) NULL
;
3353 bool arg3
= (bool) False
;
3354 wxGridCellChoiceEditor
*result
;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3358 (char *) "choices",(char *) "allowOthers", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3364 arg1
= PyList_Size(obj0
);
3365 arg2
= wxString_LIST_helper(obj0
);
3366 if (arg2
== NULL
) SWIG_fail
;
3371 arg3
= (bool) SWIG_PyObj_AsBool(obj1
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3384 if (arg2
) delete [] arg2
;
3389 if (arg2
) delete [] arg2
;
3395 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3401 (char *) "self", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (arg1
)->GetValue();
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3426 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3429 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3431 return Py_BuildValue((char *)"");
3433 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3436 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3437 wxGridCellEnumEditor
*result
;
3438 bool temp1
= False
;
3439 PyObject
* obj0
= 0 ;
3441 (char *) "choices", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3447 arg1
= wxString_in_helper(obj0
);
3448 if (arg1
== NULL
) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3474 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3480 (char *) "self", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEnumEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 result
= (arg1
)->GetValue();
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3505 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3508 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3510 return Py_BuildValue((char *)"");
3512 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxGridCellAutoWrapStringEditor
*result
;
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3534 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3538 PyObject
* obj0
= 0 ;
3540 (char *) "self", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 result
= (arg1
)->GetValue();
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3565 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3568 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3570 return Py_BuildValue((char *)"");
3572 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3575 PyObject
*arg2
= (PyObject
*) 0 ;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3579 (char *) "self",(char *) "_self", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3592 Py_INCREF(Py_None
); resultobj
= Py_None
;
3599 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
;
3601 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3602 wxGridCellAttr
*result
;
3603 PyObject
* obj0
= 0 ;
3605 (char *) "attrDefault", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3620 resultobj
= wxPyMake_wxGridCellAttr(result
);
3628 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3631 wxGridCellAttr
*result
;
3632 PyObject
* obj0
= 0 ;
3634 (char *) "self", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 resultobj
= wxPyMake_wxGridCellAttr(result
);
3655 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3658 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3659 PyObject
* obj0
= 0 ;
3660 PyObject
* obj1
= 0 ;
3662 (char *) "self",(char *) "mergefrom", NULL
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 (arg1
)->MergeWith(arg2
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 Py_INCREF(Py_None
); resultobj
= Py_None
;
3682 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3687 (char *) "self", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3711 (char *) "self", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 Py_INCREF(Py_None
); resultobj
= Py_None
;
3730 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3733 wxColour
*arg2
= 0 ;
3735 PyObject
* obj0
= 0 ;
3736 PyObject
* obj1
= 0 ;
3738 (char *) "self",(char *) "colText", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3745 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 Py_INCREF(Py_None
); resultobj
= Py_None
;
3761 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3764 wxColour
*arg2
= 0 ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3769 (char *) "self",(char *) "colBack", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3776 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3797 PyObject
* obj1
= 0 ;
3799 (char *) "self",(char *) "font", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 (arg1
)->SetFont((wxFont
const &)*arg2
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 Py_INCREF(Py_None
); resultobj
= Py_None
;
3822 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3829 PyObject
* obj2
= 0 ;
3831 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 (arg1
)->SetAlignment(arg2
,arg3
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 Py_INCREF(Py_None
); resultobj
= Py_None
;
3858 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3865 PyObject
* obj2
= 0 ;
3867 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3873 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3877 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 (arg1
)->SetSize(arg2
,arg3
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 Py_INCREF(Py_None
); resultobj
= Py_None
;
3894 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3897 bool arg2
= (bool) True
;
3898 PyObject
* obj0
= 0 ;
3899 PyObject
* obj1
= 0 ;
3901 (char *) "self",(char *) "allow", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
3905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3908 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 (arg1
)->SetOverflow(arg2
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 Py_INCREF(Py_None
); resultobj
= Py_None
;
3926 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3928 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3929 bool arg2
= (bool) True
;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3933 (char *) "self",(char *) "isReadOnly", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
3937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3940 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 (arg1
)->SetReadOnly(arg2
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 Py_INCREF(Py_None
); resultobj
= Py_None
;
3958 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3961 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
3962 PyObject
* obj0
= 0 ;
3963 PyObject
* obj1
= 0 ;
3965 (char *) "self",(char *) "renderer", NULL
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 (arg1
)->SetRenderer(arg2
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3988 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 (char *) "self",(char *) "editor", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 (arg1
)->SetEditor(arg2
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 Py_INCREF(Py_None
); resultobj
= Py_None
;
4012 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4016 PyObject
* obj0
= 0 ;
4017 PyObject
* obj1
= 0 ;
4019 (char *) "self",(char *) "kind", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4025 arg2
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj1
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 Py_INCREF(Py_None
); resultobj
= Py_None
;
4042 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4046 PyObject
* obj0
= 0 ;
4048 (char *) "self", NULL
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4067 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4071 PyObject
* obj0
= 0 ;
4073 (char *) "self", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4092 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4117 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4121 PyObject
* obj0
= 0 ;
4123 (char *) "self", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4142 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4146 PyObject
* obj0
= 0 ;
4148 (char *) "self", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4167 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4171 PyObject
* obj0
= 0 ;
4173 (char *) "self", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4192 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4196 PyObject
* obj0
= 0 ;
4198 (char *) "self", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4217 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "self", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4242 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "self", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4261 wxColour
* resultptr
;
4262 resultptr
= new wxColour((wxColour
&) result
);
4263 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4271 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4273 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4277 (char *) "self", NULL
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4286 wxPyEndAllowThreads(__tstate
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4290 wxColour
* resultptr
;
4291 resultptr
= new wxColour((wxColour
&) result
);
4292 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4300 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4304 PyObject
* obj0
= 0 ;
4306 (char *) "self", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4320 resultptr
= new wxFont((wxFont
&) result
);
4321 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
4329 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
*resultobj
;
4331 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4332 int *arg2
= (int *) 0 ;
4333 int *arg3
= (int *) 0 ;
4336 PyObject
* obj0
= 0 ;
4338 (char *) "self", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 Py_INCREF(Py_None
); resultobj
= Py_None
;
4354 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4355 resultobj
= t_output_helper(resultobj
,o
);
4358 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4359 resultobj
= t_output_helper(resultobj
,o
);
4367 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4370 int *arg2
= (int *) 0 ;
4371 int *arg3
= (int *) 0 ;
4374 PyObject
* obj0
= 0 ;
4376 (char *) "self", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 Py_INCREF(Py_None
); resultobj
= Py_None
;
4392 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4393 resultobj
= t_output_helper(resultobj
,o
);
4396 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4397 resultobj
= t_output_helper(resultobj
,o
);
4405 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4411 (char *) "self", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4430 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4433 wxGrid
*arg2
= (wxGrid
*) 0 ;
4436 wxGridCellRenderer
*result
;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj1
= 0 ;
4439 PyObject
* obj2
= 0 ;
4440 PyObject
* obj3
= 0 ;
4442 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4449 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4453 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4472 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4475 wxGrid
*arg2
= (wxGrid
*) 0 ;
4478 wxGridCellEditor
*result
;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 PyObject
* obj2
= 0 ;
4482 PyObject
* obj3
= 0 ;
4484 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4491 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4495 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= wxPyMake_wxGridCellEditor(result
);
4514 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4520 (char *) "self", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4539 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4541 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4542 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4546 (char *) "self",(char *) "defAttr", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 (arg1
)->SetDefAttr(arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 Py_INCREF(Py_None
); resultobj
= Py_None
;
4566 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4569 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4571 return Py_BuildValue((char *)"");
4573 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
;
4575 wxGridCellAttrProvider
*result
;
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4597 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4600 PyObject
*arg2
= (PyObject
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4604 (char *) "self",(char *) "_self", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 Py_INCREF(Py_None
); resultobj
= Py_None
;
4624 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4630 wxGridCellAttr
*result
;
4631 PyObject
* obj0
= 0 ;
4632 PyObject
* obj1
= 0 ;
4633 PyObject
* obj2
= 0 ;
4634 PyObject
* obj3
= 0 ;
4636 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4642 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4646 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4650 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= wxPyMake_wxGridCellAttr(result
);
4669 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4672 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 PyObject
* obj3
= 0 ;
4680 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4687 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4711 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4713 PyObject
* obj0
= 0 ;
4714 PyObject
* obj1
= 0 ;
4715 PyObject
* obj2
= 0 ;
4717 (char *) "self",(char *) "attr",(char *) "row", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4724 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 (arg1
)->SetRowAttr(arg2
,arg3
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 Py_INCREF(Py_None
); resultobj
= Py_None
;
4741 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4744 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4748 PyObject
* obj2
= 0 ;
4750 (char *) "self",(char *) "attr",(char *) "col", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 (arg1
)->SetColAttr(arg2
,arg3
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 Py_INCREF(Py_None
); resultobj
= Py_None
;
4774 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4779 PyObject
* obj0
= 0 ;
4780 PyObject
* obj1
= 0 ;
4781 PyObject
* obj2
= 0 ;
4783 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4789 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4793 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 Py_INCREF(Py_None
); resultobj
= Py_None
;
4810 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4817 PyObject
* obj2
= 0 ;
4819 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4825 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 (arg1
)->UpdateAttrCols(arg2
,arg3
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 Py_INCREF(Py_None
); resultobj
= Py_None
;
4846 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4849 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
4851 return Py_BuildValue((char *)"");
4853 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxPyGridCellAttrProvider
*result
;
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
4875 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4878 PyObject
*arg2
= (PyObject
*) 0 ;
4879 PyObject
*arg3
= (PyObject
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 PyObject
* obj2
= 0 ;
4884 (char *) "self",(char *) "self",(char *) "_class", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 Py_INCREF(Py_None
); resultobj
= Py_None
;
4905 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4911 wxGridCellAttr
*result
;
4912 PyObject
* obj0
= 0 ;
4913 PyObject
* obj1
= 0 ;
4914 PyObject
* obj2
= 0 ;
4915 PyObject
* obj3
= 0 ;
4917 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4923 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4927 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4931 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= wxPyMake_wxGridCellAttr(result
);
4950 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
;
4952 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4953 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4958 PyObject
* obj2
= 0 ;
4959 PyObject
* obj3
= 0 ;
4961 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4968 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4972 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 Py_INCREF(Py_None
); resultobj
= Py_None
;
4989 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4992 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4996 PyObject
* obj2
= 0 ;
4998 (char *) "self",(char *) "attr",(char *) "row", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5003 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5005 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 Py_INCREF(Py_None
); resultobj
= Py_None
;
5022 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5025 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 PyObject
* obj2
= 0 ;
5031 (char *) "self",(char *) "attr",(char *) "col", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 (arg1
)->base_SetColAttr(arg2
,arg3
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5058 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5060 return Py_BuildValue((char *)"");
5062 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5065 PyObject
*arg2
= (PyObject
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5067 PyObject
* obj1
= 0 ;
5069 (char *) "self",(char *) "_self", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 wxGridTableBase__setOORInfo(arg1
,arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 Py_INCREF(Py_None
); resultobj
= Py_None
;
5089 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5092 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5096 (char *) "self",(char *) "attrProvider", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 (arg1
)->SetAttrProvider(arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 Py_INCREF(Py_None
); resultobj
= Py_None
;
5116 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5119 wxGridCellAttrProvider
*result
;
5120 PyObject
* obj0
= 0 ;
5122 (char *) "self", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5143 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5146 wxGrid
*arg2
= (wxGrid
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5150 (char *) "self",(char *) "grid", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetView(arg2
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= wxPyMake_wxObject(result
);
5197 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5203 (char *) "self", NULL
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (int)(arg1
)->GetNumberRows();
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_PyObj_FromInt((int)result
);
5222 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5226 PyObject
* obj0
= 0 ;
5228 (char *) "self", NULL
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (int)(arg1
)->GetNumberCols();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_PyObj_FromInt((int)result
);
5247 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5253 PyObject
* obj0
= 0 ;
5254 PyObject
* obj1
= 0 ;
5255 PyObject
* obj2
= 0 ;
5257 (char *) "self",(char *) "row",(char *) "col", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5263 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5267 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5284 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
;
5286 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5291 PyObject
* obj1
= 0 ;
5292 PyObject
* obj2
= 0 ;
5294 (char *) "self",(char *) "row",(char *) "col", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5300 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5304 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (arg1
)->GetValue(arg2
,arg3
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5327 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5332 wxString
*arg4
= 0 ;
5333 bool temp4
= False
;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5336 PyObject
* obj2
= 0 ;
5337 PyObject
* obj3
= 0 ;
5339 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5345 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5349 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 arg4
= wxString_in_helper(obj3
);
5354 if (arg4
== NULL
) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 Py_INCREF(Py_None
); resultobj
= Py_None
;
5379 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 PyObject
* obj2
= 0 ;
5389 (char *) "self",(char *) "row",(char *) "col", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5395 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5422 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5427 wxString
*arg4
= 0 ;
5429 bool temp4
= False
;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5432 PyObject
* obj2
= 0 ;
5433 PyObject
* obj3
= 0 ;
5435 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5441 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5445 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5449 arg4
= wxString_in_helper(obj3
);
5450 if (arg4
== NULL
) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5475 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5480 wxString
*arg4
= 0 ;
5482 bool temp4
= False
;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 PyObject
* obj2
= 0 ;
5486 PyObject
* obj3
= 0 ;
5488 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5494 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5502 arg4
= wxString_in_helper(obj3
);
5503 if (arg4
== NULL
) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5528 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5535 PyObject
* obj1
= 0 ;
5536 PyObject
* obj2
= 0 ;
5538 (char *) "self",(char *) "row",(char *) "col", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5544 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_PyObj_FromLong((long)result
);
5565 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5573 PyObject
* obj2
= 0 ;
5575 (char *) "self",(char *) "row",(char *) "col", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5585 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5602 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5610 PyObject
* obj2
= 0 ;
5612 (char *) "self",(char *) "row",(char *) "col", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5618 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5639 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5647 PyObject
* obj2
= 0 ;
5648 PyObject
* obj3
= 0 ;
5650 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5656 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5664 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 Py_INCREF(Py_None
); resultobj
= Py_None
;
5681 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5689 PyObject
* obj2
= 0 ;
5690 PyObject
* obj3
= 0 ;
5692 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5706 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 Py_INCREF(Py_None
); resultobj
= Py_None
;
5723 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 PyObject
* obj2
= 0 ;
5732 PyObject
* obj3
= 0 ;
5734 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5740 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5744 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5748 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 Py_INCREF(Py_None
); resultobj
= Py_None
;
5765 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5768 PyObject
* obj0
= 0 ;
5770 (char *) "self", NULL
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 Py_INCREF(Py_None
); resultobj
= Py_None
;
5789 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5792 size_t arg2
= (size_t) 0 ;
5793 size_t arg3
= (size_t) 1 ;
5795 PyObject
* obj0
= 0 ;
5796 PyObject
* obj1
= 0 ;
5797 PyObject
* obj2
= 0 ;
5799 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5806 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5812 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5830 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5833 size_t arg2
= (size_t) 1 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5838 (char *) "self",(char *) "numRows", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5845 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (bool)(arg1
)->AppendRows(arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5863 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5866 size_t arg2
= (size_t) 0 ;
5867 size_t arg3
= (size_t) 1 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 PyObject
* obj2
= 0 ;
5873 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5880 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5886 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5904 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
;
5906 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5907 size_t arg2
= (size_t) 0 ;
5908 size_t arg3
= (size_t) 1 ;
5910 PyObject
* obj0
= 0 ;
5911 PyObject
* obj1
= 0 ;
5912 PyObject
* obj2
= 0 ;
5914 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5927 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5945 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
;
5947 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5948 size_t arg2
= (size_t) 1 ;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj1
= 0 ;
5953 (char *) "self",(char *) "numCols", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5960 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= (bool)(arg1
)->AppendCols(arg2
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5978 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5981 size_t arg2
= (size_t) 0 ;
5982 size_t arg3
= (size_t) 1 ;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5986 PyObject
* obj2
= 0 ;
5988 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5995 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5996 if (PyErr_Occurred()) SWIG_fail
;
6001 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6019 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6027 (char *) "self",(char *) "row", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6033 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (arg1
)->GetRowLabelValue(arg2
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6056 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6064 (char *) "self",(char *) "col", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6070 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (arg1
)->GetColLabelValue(arg2
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6093 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6097 wxString
*arg3
= 0 ;
6098 bool temp3
= False
;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6101 PyObject
* obj2
= 0 ;
6103 (char *) "self",(char *) "row",(char *) "value", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6109 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6113 arg3
= wxString_in_helper(obj2
);
6114 if (arg3
== NULL
) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 Py_INCREF(Py_None
); resultobj
= Py_None
;
6139 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6143 wxString
*arg3
= 0 ;
6144 bool temp3
= False
;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6149 (char *) "self",(char *) "col",(char *) "value", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6155 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6159 arg3
= wxString_in_helper(obj2
);
6160 if (arg3
== NULL
) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 Py_INCREF(Py_None
); resultobj
= Py_None
;
6185 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6191 (char *) "self", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (bool)(arg1
)->CanHaveAttributes();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6210 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6216 wxGridCellAttr
*result
;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6219 PyObject
* obj2
= 0 ;
6220 PyObject
* obj3
= 0 ;
6222 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6228 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6232 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6236 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= wxPyMake_wxGridCellAttr(result
);
6255 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6258 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6263 PyObject
* obj2
= 0 ;
6264 PyObject
* obj3
= 0 ;
6266 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6273 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 Py_INCREF(Py_None
); resultobj
= Py_None
;
6294 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6297 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6301 PyObject
* obj2
= 0 ;
6303 (char *) "self",(char *) "attr",(char *) "row", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6310 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 (arg1
)->SetRowAttr(arg2
,arg3
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 Py_INCREF(Py_None
); resultobj
= Py_None
;
6327 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6330 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6336 (char *) "self",(char *) "attr",(char *) "col", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6343 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 (arg1
)->SetColAttr(arg2
,arg3
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 Py_INCREF(Py_None
); resultobj
= Py_None
;
6360 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6363 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6365 return Py_BuildValue((char *)"");
6367 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxPyGridTableBase
*result
;
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridTableBase
, 1);
6389 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6392 PyObject
*arg2
= (PyObject
*) 0 ;
6393 PyObject
*arg3
= (PyObject
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6398 (char *) "self",(char *) "self",(char *) "_class", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 Py_INCREF(Py_None
); resultobj
= Py_None
;
6419 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6424 (char *) "self", NULL
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 wxPyGridTableBase_Destroy(arg1
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 Py_INCREF(Py_None
); resultobj
= Py_None
;
6443 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6451 PyObject
* obj2
= 0 ;
6453 (char *) "self",(char *) "row",(char *) "col", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6463 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6486 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6491 wxString
*arg4
= 0 ;
6493 bool temp4
= False
;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6496 PyObject
* obj2
= 0 ;
6497 PyObject
* obj3
= 0 ;
6499 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6505 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6509 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 arg4
= wxString_in_helper(obj3
);
6514 if (arg4
== NULL
) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6539 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6544 wxString
*arg4
= 0 ;
6546 bool temp4
= False
;
6547 PyObject
* obj0
= 0 ;
6548 PyObject
* obj1
= 0 ;
6549 PyObject
* obj2
= 0 ;
6550 PyObject
* obj3
= 0 ;
6552 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6566 arg4
= wxString_in_helper(obj3
);
6567 if (arg4
== NULL
) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6592 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 (arg1
)->base_Clear();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6609 Py_INCREF(Py_None
); resultobj
= Py_None
;
6616 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6619 size_t arg2
= (size_t) 0 ;
6620 size_t arg3
= (size_t) 1 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6624 PyObject
* obj2
= 0 ;
6626 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6633 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6639 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6657 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6660 size_t arg2
= (size_t) 1 ;
6662 PyObject
* obj0
= 0 ;
6663 PyObject
* obj1
= 0 ;
6665 (char *) "self",(char *) "numRows", NULL
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6672 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6690 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
;
6692 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6693 size_t arg2
= (size_t) 0 ;
6694 size_t arg3
= (size_t) 1 ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6698 PyObject
* obj2
= 0 ;
6700 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6707 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6713 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6734 size_t arg2
= (size_t) 0 ;
6735 size_t arg3
= (size_t) 1 ;
6737 PyObject
* obj0
= 0 ;
6738 PyObject
* obj1
= 0 ;
6739 PyObject
* obj2
= 0 ;
6741 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6748 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6754 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6772 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6775 size_t arg2
= (size_t) 1 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6780 (char *) "self",(char *) "numCols", NULL
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6787 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6805 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6808 size_t arg2
= (size_t) 0 ;
6809 size_t arg3
= (size_t) 1 ;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6813 PyObject
* obj2
= 0 ;
6815 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6822 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6828 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6846 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "row", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6860 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6883 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6891 (char *) "self",(char *) "col", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6897 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (arg1
)->base_GetColLabelValue(arg2
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6920 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6924 wxString
*arg3
= 0 ;
6925 bool temp3
= False
;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 PyObject
* obj2
= 0 ;
6930 (char *) "self",(char *) "row",(char *) "value", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6936 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 arg3
= wxString_in_helper(obj2
);
6941 if (arg3
== NULL
) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 Py_INCREF(Py_None
); resultobj
= Py_None
;
6966 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6970 wxString
*arg3
= 0 ;
6971 bool temp3
= False
;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 PyObject
* obj2
= 0 ;
6976 (char *) "self",(char *) "col",(char *) "value", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6982 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 arg3
= wxString_in_helper(obj2
);
6987 if (arg3
== NULL
) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 Py_INCREF(Py_None
); resultobj
= Py_None
;
7012 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7016 PyObject
* obj0
= 0 ;
7018 (char *) "self", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (bool)(arg1
)->base_CanHaveAttributes();
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7037 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7043 wxGridCellAttr
*result
;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 PyObject
* obj2
= 0 ;
7047 PyObject
* obj3
= 0 ;
7049 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7055 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7059 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7063 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= wxPyMake_wxGridCellAttr(result
);
7082 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7085 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7090 PyObject
* obj2
= 0 ;
7091 PyObject
* obj3
= 0 ;
7093 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7100 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7104 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 Py_INCREF(Py_None
); resultobj
= Py_None
;
7121 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7124 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7128 PyObject
* obj2
= 0 ;
7130 (char *) "self",(char *) "attr",(char *) "row", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7137 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 Py_INCREF(Py_None
); resultobj
= Py_None
;
7154 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7157 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7161 PyObject
* obj2
= 0 ;
7163 (char *) "self",(char *) "attr",(char *) "col", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7170 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 (arg1
)->base_SetColAttr(arg2
,arg3
);
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 Py_INCREF(Py_None
); resultobj
= Py_None
;
7187 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
7189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7190 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7192 return Py_BuildValue((char *)"");
7194 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 int arg1
= (int) 0 ;
7197 int arg2
= (int) 0 ;
7198 wxGridStringTable
*result
;
7199 PyObject
* obj0
= 0 ;
7200 PyObject
* obj1
= 0 ;
7202 (char *) "numRows",(char *) "numCols", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7208 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7214 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridStringTable
, 1);
7232 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
7234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7235 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7237 return Py_BuildValue((char *)"");
7239 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
;
7241 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7243 int arg3
= (int) -1 ;
7244 int arg4
= (int) -1 ;
7245 wxGridTableMessage
*result
;
7246 PyObject
* obj0
= 0 ;
7247 PyObject
* obj1
= 0 ;
7248 PyObject
* obj2
= 0 ;
7249 PyObject
* obj3
= 0 ;
7251 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7257 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7262 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7268 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridTableMessage
, 1);
7286 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7291 (char *) "self", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7313 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7317 (char *) "self",(char *) "table", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 (arg1
)->SetTableObject(arg2
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 Py_INCREF(Py_None
); resultobj
= Py_None
;
7337 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7340 wxGridTableBase
*result
;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "self", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= wxPyMake_wxGridTableBase(result
);
7364 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7368 PyObject
* obj0
= 0 ;
7369 PyObject
* obj1
= 0 ;
7371 (char *) "self",(char *) "id", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7377 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 (arg1
)->SetId(arg2
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 Py_INCREF(Py_None
); resultobj
= Py_None
;
7394 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7398 PyObject
* obj0
= 0 ;
7400 (char *) "self", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (int)(arg1
)->GetId();
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_PyObj_FromInt((int)result
);
7419 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7423 PyObject
* obj0
= 0 ;
7424 PyObject
* obj1
= 0 ;
7426 (char *) "self",(char *) "comInt1", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7432 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 (arg1
)->SetCommandInt(arg2
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 Py_INCREF(Py_None
); resultobj
= Py_None
;
7449 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7455 (char *) "self", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (int)(arg1
)->GetCommandInt();
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= SWIG_PyObj_FromInt((int)result
);
7474 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7478 PyObject
* obj0
= 0 ;
7479 PyObject
* obj1
= 0 ;
7481 (char *) "self",(char *) "comInt2", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 (arg1
)->SetCommandInt2(arg2
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 Py_INCREF(Py_None
); resultobj
= Py_None
;
7504 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7508 PyObject
* obj0
= 0 ;
7510 (char *) "self", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (int)(arg1
)->GetCommandInt2();
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= SWIG_PyObj_FromInt((int)result
);
7529 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7532 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7534 return Py_BuildValue((char *)"");
7536 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 int arg1
= (int) -1 ;
7539 int arg2
= (int) -1 ;
7540 wxGridCellCoords
*result
;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "r",(char *) "c", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7550 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7556 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellCoords
, 1);
7574 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7579 (char *) "self", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 Py_INCREF(Py_None
); resultobj
= Py_None
;
7598 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7604 (char *) "self", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_PyObj_FromInt((int)result
);
7623 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7627 PyObject
* obj0
= 0 ;
7628 PyObject
* obj1
= 0 ;
7630 (char *) "self",(char *) "n", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7636 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 (arg1
)->SetRow(arg2
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 Py_INCREF(Py_None
); resultobj
= Py_None
;
7653 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7659 (char *) "self", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_PyObj_FromInt((int)result
);
7678 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7685 (char *) "self",(char *) "n", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7691 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 (arg1
)->SetCol(arg2
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 Py_INCREF(Py_None
); resultobj
= Py_None
;
7708 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7715 PyObject
* obj2
= 0 ;
7717 (char *) "self",(char *) "row",(char *) "col", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7723 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 (arg1
)->Set(arg2
,arg3
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7744 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7747 wxGridCellCoords
*arg2
= 0 ;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7752 (char *) "self",(char *) "other", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7775 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7778 wxGridCellCoords
*arg2
= 0 ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7783 (char *) "self",(char *) "other", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7790 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7831 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7834 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7836 return Py_BuildValue((char *)"");
7838 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxWindow
*arg1
= (wxWindow
*) 0 ;
7842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7846 long arg5
= (long) wxWANTS_CHARS
;
7847 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7848 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7852 bool temp6
= False
;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7855 PyObject
* obj2
= 0 ;
7856 PyObject
* obj3
= 0 ;
7857 PyObject
* obj4
= 0 ;
7858 PyObject
* obj5
= 0 ;
7860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7866 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7878 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7883 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7889 arg6
= wxString_in_helper(obj5
);
7890 if (arg6
== NULL
) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= wxPyMake_wxObject(result
);
7918 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxGrid
*arg1
= (wxGrid
*) 0 ;
7923 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7927 PyObject
* obj2
= 0 ;
7928 PyObject
* obj3
= 0 ;
7930 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7936 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7940 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7945 arg4
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj3
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7963 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxGrid
*arg1
= (wxGrid
*) 0 ;
7966 WXGRIDSELECTIONMODES arg2
;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7970 (char *) "self",(char *) "selmode", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7976 arg2
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj1
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 (arg1
)->SetSelectionMode(arg2
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 Py_INCREF(Py_None
); resultobj
= Py_None
;
7993 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
;
7995 wxGrid
*arg1
= (wxGrid
*) 0 ;
7996 WXGRIDSELECTIONMODES result
;
7997 PyObject
* obj0
= 0 ;
7999 (char *) "self", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_PyObj_FromInt((int)result
);
8018 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
;
8020 wxGrid
*arg1
= (wxGrid
*) 0 ;
8022 PyObject
* obj0
= 0 ;
8024 (char *) "self", NULL
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (int)(arg1
)->GetNumberRows();
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= SWIG_PyObj_FromInt((int)result
);
8043 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxGrid
*arg1
= (wxGrid
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (int)(arg1
)->GetNumberCols();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_PyObj_FromInt((int)result
);
8068 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxGrid
*arg1
= (wxGrid
*) 0 ;
8071 wxGridTableMessage
*arg2
= 0 ;
8073 PyObject
* obj0
= 0 ;
8074 PyObject
* obj1
= 0 ;
8076 (char *) "self","arg2", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8081 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8083 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8099 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxGrid
*arg1
= (wxGrid
*) 0 ;
8102 wxGridTableBase
*result
;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= wxPyMake_wxGridTableBase(result
);
8126 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxGrid
*arg1
= (wxGrid
*) 0 ;
8129 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8130 bool arg3
= (bool) False
;
8131 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 PyObject
* obj2
= 0 ;
8136 PyObject
* obj3
= 0 ;
8138 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8146 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8152 arg4
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj3
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8170 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxGrid
*arg1
= (wxGrid
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "self", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 (arg1
)->ClearGrid();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 Py_INCREF(Py_None
); resultobj
= Py_None
;
8194 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
;
8196 wxGrid
*arg1
= (wxGrid
*) 0 ;
8197 int arg2
= (int) 0 ;
8198 int arg3
= (int) 1 ;
8199 bool arg4
= (bool) True
;
8201 PyObject
* obj0
= 0 ;
8202 PyObject
* obj1
= 0 ;
8203 PyObject
* obj2
= 0 ;
8204 PyObject
* obj3
= 0 ;
8206 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8219 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8225 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8243 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxGrid
*arg1
= (wxGrid
*) 0 ;
8246 int arg2
= (int) 1 ;
8247 bool arg3
= (bool) True
;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8251 PyObject
* obj2
= 0 ;
8253 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8260 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8266 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8284 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxGrid
*arg1
= (wxGrid
*) 0 ;
8287 int arg2
= (int) 0 ;
8288 int arg3
= (int) 1 ;
8289 bool arg4
= (bool) True
;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8293 PyObject
* obj2
= 0 ;
8294 PyObject
* obj3
= 0 ;
8296 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8303 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8309 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8315 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8333 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
;
8335 wxGrid
*arg1
= (wxGrid
*) 0 ;
8336 int arg2
= (int) 0 ;
8337 int arg3
= (int) 1 ;
8338 bool arg4
= (bool) True
;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8342 PyObject
* obj2
= 0 ;
8343 PyObject
* obj3
= 0 ;
8345 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8352 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8358 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8364 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8382 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxGrid
*arg1
= (wxGrid
*) 0 ;
8385 int arg2
= (int) 1 ;
8386 bool arg3
= (bool) True
;
8388 PyObject
* obj0
= 0 ;
8389 PyObject
* obj1
= 0 ;
8390 PyObject
* obj2
= 0 ;
8392 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8399 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8405 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8423 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxGrid
*arg1
= (wxGrid
*) 0 ;
8426 int arg2
= (int) 0 ;
8427 int arg3
= (int) 1 ;
8428 bool arg4
= (bool) True
;
8430 PyObject
* obj0
= 0 ;
8431 PyObject
* obj1
= 0 ;
8432 PyObject
* obj2
= 0 ;
8433 PyObject
* obj3
= 0 ;
8435 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8442 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8448 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8454 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8472 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxGrid
*arg1
= (wxGrid
*) 0 ;
8476 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8478 PyObject
* obj1
= 0 ;
8479 PyObject
* obj2
= 0 ;
8481 (char *) "self",(char *) "dc",(char *) "attr", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8488 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8490 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 Py_INCREF(Py_None
); resultobj
= Py_None
;
8505 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxGrid
*arg1
= (wxGrid
*) 0 ;
8509 wxString
*arg3
= 0 ;
8511 int arg5
= (int) wxLEFT
;
8512 int arg6
= (int) wxTOP
;
8513 int arg7
= (int) wxHORIZONTAL
;
8514 bool temp3
= False
;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8518 PyObject
* obj2
= 0 ;
8519 PyObject
* obj3
= 0 ;
8520 PyObject
* obj4
= 0 ;
8521 PyObject
* obj5
= 0 ;
8522 PyObject
* obj6
= 0 ;
8524 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8531 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8534 arg3
= wxString_in_helper(obj2
);
8535 if (arg3
== NULL
) SWIG_fail
;
8540 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8544 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8550 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8556 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 Py_INCREF(Py_None
); resultobj
= Py_None
;
8582 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxGrid
*arg1
= (wxGrid
*) 0 ;
8586 wxArrayString
*arg3
= 0 ;
8587 long *arg4
= (long *) 0 ;
8588 long *arg5
= (long *) 0 ;
8589 bool temp3
= False
;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8594 PyObject
* obj2
= 0 ;
8596 (char *) "self",(char *) "dc",(char *) "lines", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8603 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8605 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8608 if (! PySequence_Check(obj2
)) {
8609 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8612 arg3
= new wxArrayString
;
8614 int i
, len
=PySequence_Length(obj2
);
8615 for (i
=0; i
<len
; i
++) {
8616 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8618 PyObject
* str
= PyObject_Unicode(item
);
8620 PyObject
* str
= PyObject_Str(item
);
8622 arg3
->Add(Py2wxString(str
));
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 Py_INCREF(Py_None
); resultobj
= Py_None
;
8636 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8637 resultobj
= t_output_helper(resultobj
,o
);
8640 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8641 resultobj
= t_output_helper(resultobj
,o
);
8644 if (temp3
) delete arg3
;
8649 if (temp3
) delete arg3
;
8655 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxGrid
*arg1
= (wxGrid
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8660 (char *) "self", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 (arg1
)->BeginBatch();
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 Py_INCREF(Py_None
); resultobj
= Py_None
;
8679 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxGrid
*arg1
= (wxGrid
*) 0 ;
8682 PyObject
* obj0
= 0 ;
8684 (char *) "self", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
8688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 Py_INCREF(Py_None
); resultobj
= Py_None
;
8703 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxGrid
*arg1
= (wxGrid
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8709 (char *) "self", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
8713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 result
= (int)(arg1
)->GetBatchCount();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_PyObj_FromInt((int)result
);
8728 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxGrid
*arg1
= (wxGrid
*) 0 ;
8731 PyObject
* obj0
= 0 ;
8733 (char *) "self", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
8737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 (arg1
)->ForceRefresh();
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 Py_INCREF(Py_None
); resultobj
= Py_None
;
8752 static PyObject
*_wrap_Grid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxGrid
*arg1
= (wxGrid
*) 0 ;
8755 bool arg2
= (bool) True
;
8756 wxRect
*arg3
= (wxRect
*) NULL
;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8759 PyObject
* obj2
= 0 ;
8761 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8768 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8773 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 Py_INCREF(Py_None
); resultobj
= Py_None
;
8789 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxGrid
*arg1
= (wxGrid
*) 0 ;
8793 PyObject
* obj0
= 0 ;
8795 (char *) "self", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (bool)(arg1
)->IsEditable();
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8814 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxGrid
*arg1
= (wxGrid
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8819 PyObject
* obj1
= 0 ;
8821 (char *) "self",(char *) "edit", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
8825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8827 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 (arg1
)->EnableEditing(arg2
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 Py_INCREF(Py_None
); resultobj
= Py_None
;
8844 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxGrid
*arg1
= (wxGrid
*) 0 ;
8847 bool arg2
= (bool) True
;
8848 PyObject
* obj0
= 0 ;
8849 PyObject
* obj1
= 0 ;
8851 (char *) "self",(char *) "enable", NULL
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
8855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8858 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 (arg1
)->EnableCellEditControl(arg2
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxGrid
*arg1
= (wxGrid
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8881 (char *) "self", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
8885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 (arg1
)->DisableCellEditControl();
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 Py_INCREF(Py_None
); resultobj
= Py_None
;
8900 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
*resultobj
;
8902 wxGrid
*arg1
= (wxGrid
*) 0 ;
8904 PyObject
* obj0
= 0 ;
8906 (char *) "self", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8925 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxGrid
*arg1
= (wxGrid
*) 0 ;
8929 PyObject
* obj0
= 0 ;
8931 (char *) "self", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8950 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxGrid
*arg1
= (wxGrid
*) 0 ;
8954 PyObject
* obj0
= 0 ;
8956 (char *) "self", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8975 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxGrid
*arg1
= (wxGrid
*) 0 ;
8979 PyObject
* obj0
= 0 ;
8981 (char *) "self", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9000 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxGrid
*arg1
= (wxGrid
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 (arg1
)->ShowCellEditControl();
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 Py_INCREF(Py_None
); resultobj
= Py_None
;
9024 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxGrid
*arg1
= (wxGrid
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9029 (char *) "self", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 (arg1
)->HideCellEditControl();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxGrid
*arg1
= (wxGrid
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "self", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 (arg1
)->SaveEditControlValue();
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 Py_INCREF(Py_None
); resultobj
= Py_None
;
9072 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxGrid
*arg1
= (wxGrid
*) 0 ;
9077 wxGridCellCoords result
;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9080 PyObject
* obj2
= 0 ;
9082 (char *) "self",(char *) "x",(char *) "y", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9088 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9092 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 wxGridCellCoords
* resultptr
;
9104 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
9113 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxGrid
*arg1
= (wxGrid
*) 0 ;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9121 (char *) "self",(char *) "y", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (int)(arg1
)->YToRow(arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_PyObj_FromInt((int)result
);
9144 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxGrid
*arg1
= (wxGrid
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9152 (char *) "self",(char *) "x", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9158 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (int)(arg1
)->XToCol(arg2
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_PyObj_FromInt((int)result
);
9175 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxGrid
*arg1
= (wxGrid
*) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9183 (char *) "self",(char *) "y", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9189 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_PyObj_FromInt((int)result
);
9206 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxGrid
*arg1
= (wxGrid
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9214 (char *) "self",(char *) "x", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9220 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_PyObj_FromInt((int)result
);
9237 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
;
9239 wxGrid
*arg1
= (wxGrid
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9244 PyObject
* obj1
= 0 ;
9245 PyObject
* obj2
= 0 ;
9247 (char *) "self",(char *) "row",(char *) "col", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9253 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= (arg1
)->CellToRect(arg2
,arg3
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9269 resultptr
= new wxRect((wxRect
&) result
);
9270 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
9278 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxGrid
*arg1
= (wxGrid
*) 0 ;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "self", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (int)(arg1
)->GetGridCursorRow();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_PyObj_FromInt((int)result
);
9303 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxGrid
*arg1
= (wxGrid
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (int)(arg1
)->GetGridCursorCol();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_PyObj_FromInt((int)result
);
9328 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxGrid
*arg1
= (wxGrid
*) 0 ;
9333 bool arg4
= (bool) True
;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 PyObject
* obj2
= 0 ;
9338 PyObject
* obj3
= 0 ;
9340 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9346 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9355 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9373 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxGrid
*arg1
= (wxGrid
*) 0 ;
9378 PyObject
* obj0
= 0 ;
9379 PyObject
* obj1
= 0 ;
9380 PyObject
* obj2
= 0 ;
9382 (char *) "self",(char *) "row",(char *) "col", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9388 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9392 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->MakeCellVisible(arg2
,arg3
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 Py_INCREF(Py_None
); resultobj
= Py_None
;
9409 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxGrid
*arg1
= (wxGrid
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 PyObject
* obj2
= 0 ;
9418 (char *) "self",(char *) "row",(char *) "col", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9424 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 (arg1
)->SetGridCursor(arg2
,arg3
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 Py_INCREF(Py_None
); resultobj
= Py_None
;
9445 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxGrid
*arg1
= (wxGrid
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9453 (char *) "self",(char *) "expandSelection", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9459 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9476 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxGrid
*arg1
= (wxGrid
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9484 (char *) "self",(char *) "expandSelection", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9490 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9507 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxGrid
*arg1
= (wxGrid
*) 0 ;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9515 (char *) "self",(char *) "expandSelection", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9521 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9538 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxGrid
*arg1
= (wxGrid
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9546 (char *) "self",(char *) "expandSelection", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9552 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9569 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxGrid
*arg1
= (wxGrid
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9575 (char *) "self", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (bool)(arg1
)->MovePageDown();
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxGrid
*arg1
= (wxGrid
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "self", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (bool)(arg1
)->MovePageUp();
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9619 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxGrid
*arg1
= (wxGrid
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9625 PyObject
* obj1
= 0 ;
9627 (char *) "self",(char *) "expandSelection", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9633 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9650 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxGrid
*arg1
= (wxGrid
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9658 (char *) "self",(char *) "expandSelection", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9664 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9681 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxGrid
*arg1
= (wxGrid
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9687 PyObject
* obj1
= 0 ;
9689 (char *) "self",(char *) "expandSelection", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9695 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9712 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxGrid
*arg1
= (wxGrid
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9720 (char *) "self",(char *) "expandSelection", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9726 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9743 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxGrid
*arg1
= (wxGrid
*) 0 ;
9747 PyObject
* obj0
= 0 ;
9749 (char *) "self", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
9753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (int)(arg1
)->GetDefaultRowLabelSize();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_PyObj_FromInt((int)result
);
9768 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxGrid
*arg1
= (wxGrid
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9774 (char *) "self", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (int)(arg1
)->GetRowLabelSize();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_PyObj_FromInt((int)result
);
9793 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxGrid
*arg1
= (wxGrid
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)(arg1
)->GetDefaultColLabelSize();
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_PyObj_FromInt((int)result
);
9818 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxGrid
*arg1
= (wxGrid
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9824 (char *) "self", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 result
= (int)(arg1
)->GetColLabelSize();
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= SWIG_PyObj_FromInt((int)result
);
9843 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxGrid
*arg1
= (wxGrid
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (arg1
)->GetLabelBackgroundColour();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 wxColour
* resultptr
;
9863 resultptr
= new wxColour((wxColour
&) result
);
9864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9872 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
;
9874 wxGrid
*arg1
= (wxGrid
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9878 (char *) "self", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (arg1
)->GetLabelTextColour();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9891 wxColour
* resultptr
;
9892 resultptr
= new wxColour((wxColour
&) result
);
9893 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9901 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxGrid
*arg1
= (wxGrid
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (arg1
)->GetLabelFont();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9921 resultptr
= new wxFont((wxFont
&) result
);
9922 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
9930 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxGrid
*arg1
= (wxGrid
*) 0 ;
9933 int *arg2
= (int *) 0 ;
9934 int *arg3
= (int *) 0 ;
9937 PyObject
* obj0
= 0 ;
9939 (char *) "self", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
9945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9955 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9956 resultobj
= t_output_helper(resultobj
,o
);
9959 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9960 resultobj
= t_output_helper(resultobj
,o
);
9968 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxGrid
*arg1
= (wxGrid
*) 0 ;
9971 int *arg2
= (int *) 0 ;
9972 int *arg3
= (int *) 0 ;
9975 PyObject
* obj0
= 0 ;
9977 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 Py_INCREF(Py_None
); resultobj
= Py_None
;
9993 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9994 resultobj
= t_output_helper(resultobj
,o
);
9997 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9998 resultobj
= t_output_helper(resultobj
,o
);
10006 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxGrid
*arg1
= (wxGrid
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (int)(arg1
)->GetColLabelTextOrientation();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_PyObj_FromInt((int)result
);
10031 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxGrid
*arg1
= (wxGrid
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self",(char *) "row", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10045 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= (arg1
)->GetRowLabelValue(arg2
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10068 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxGrid
*arg1
= (wxGrid
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self",(char *) "col", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10082 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (arg1
)->GetColLabelValue(arg2
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10105 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxGrid
*arg1
= (wxGrid
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (arg1
)->GetGridLineColour();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10124 wxColour
* resultptr
;
10125 resultptr
= new wxColour((wxColour
&) result
);
10126 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10134 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxGrid
*arg1
= (wxGrid
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (arg1
)->GetCellHighlightColour();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10153 wxColour
* resultptr
;
10154 resultptr
= new wxColour((wxColour
&) result
);
10155 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10163 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxGrid
*arg1
= (wxGrid
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_PyObj_FromInt((int)result
);
10188 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxGrid
*arg1
= (wxGrid
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_PyObj_FromInt((int)result
);
10213 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxGrid
*arg1
= (wxGrid
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "width", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10226 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 (arg1
)->SetRowLabelSize(arg2
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 Py_INCREF(Py_None
); resultobj
= Py_None
;
10243 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxGrid
*arg1
= (wxGrid
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 PyObject
* obj1
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self",(char *) "height", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10256 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 (arg1
)->SetColLabelSize(arg2
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 Py_INCREF(Py_None
); resultobj
= Py_None
;
10273 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxGrid
*arg1
= (wxGrid
*) 0 ;
10276 wxColour
*arg2
= 0 ;
10278 PyObject
* obj0
= 0 ;
10279 PyObject
* obj1
= 0 ;
10280 char *kwnames
[] = {
10281 (char *) "self","arg2", NULL
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10288 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 Py_INCREF(Py_None
); resultobj
= Py_None
;
10304 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxGrid
*arg1
= (wxGrid
*) 0 ;
10307 wxColour
*arg2
= 0 ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 char *kwnames
[] = {
10312 (char *) "self","arg2", NULL
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10319 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 Py_INCREF(Py_None
); resultobj
= Py_None
;
10335 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxGrid
*arg1
= (wxGrid
*) 0 ;
10339 PyObject
* obj0
= 0 ;
10340 PyObject
* obj1
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self","arg2", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10348 if (arg2
== NULL
) {
10349 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 Py_INCREF(Py_None
); resultobj
= Py_None
;
10365 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxGrid
*arg1
= (wxGrid
*) 0 ;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 PyObject
* obj2
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10380 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10384 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 Py_INCREF(Py_None
); resultobj
= Py_None
;
10401 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxGrid
*arg1
= (wxGrid
*) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 PyObject
* obj2
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10420 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 Py_INCREF(Py_None
); resultobj
= Py_None
;
10437 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxGrid
*arg1
= (wxGrid
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "textOrientation", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10450 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 (arg1
)->SetColLabelTextOrientation(arg2
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 Py_INCREF(Py_None
); resultobj
= Py_None
;
10467 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxGrid
*arg1
= (wxGrid
*) 0 ;
10471 wxString
*arg3
= 0 ;
10472 bool temp3
= False
;
10473 PyObject
* obj0
= 0 ;
10474 PyObject
* obj1
= 0 ;
10475 PyObject
* obj2
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self",(char *) "row","arg3", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10483 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10487 arg3
= wxString_in_helper(obj2
);
10488 if (arg3
== NULL
) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxGrid
*arg1
= (wxGrid
*) 0 ;
10517 wxString
*arg3
= 0 ;
10518 bool temp3
= False
;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10521 PyObject
* obj2
= 0 ;
10522 char *kwnames
[] = {
10523 (char *) "self",(char *) "col","arg3", NULL
10526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10529 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10533 arg3
= wxString_in_helper(obj2
);
10534 if (arg3
== NULL
) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10559 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxGrid
*arg1
= (wxGrid
*) 0 ;
10562 wxColour
*arg2
= 0 ;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self","arg2", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10574 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 Py_INCREF(Py_None
); resultobj
= Py_None
;
10590 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxGrid
*arg1
= (wxGrid
*) 0 ;
10593 wxColour
*arg2
= 0 ;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj1
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "self","arg2", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10605 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 Py_INCREF(Py_None
); resultobj
= Py_None
;
10621 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxGrid
*arg1
= (wxGrid
*) 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self",(char *) "width", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 (arg1
)->SetCellHighlightPenWidth(arg2
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 Py_INCREF(Py_None
); resultobj
= Py_None
;
10651 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxGrid
*arg1
= (wxGrid
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self",(char *) "width", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10664 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxGrid
*arg1
= (wxGrid
*) 0 ;
10684 bool arg2
= (bool) True
;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "enable", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10695 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->EnableDragRowSize(arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxGrid
*arg1
= (wxGrid
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 (arg1
)->DisableDragRowSize();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 Py_INCREF(Py_None
); resultobj
= Py_None
;
10737 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxGrid
*arg1
= (wxGrid
*) 0 ;
10741 PyObject
* obj0
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (bool)(arg1
)->CanDragRowSize();
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10762 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
*resultobj
;
10764 wxGrid
*arg1
= (wxGrid
*) 0 ;
10765 bool arg2
= (bool) True
;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "enable", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10776 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->EnableDragColSize(arg2
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxGrid
*arg1
= (wxGrid
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->DisableDragColSize();
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxGrid
*arg1
= (wxGrid
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (bool)(arg1
)->CanDragColSize();
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10843 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxGrid
*arg1
= (wxGrid
*) 0 ;
10846 bool arg2
= (bool) True
;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "enable", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10857 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->EnableDragGridSize(arg2
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxGrid
*arg1
= (wxGrid
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 (arg1
)->DisableDragGridSize();
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 Py_INCREF(Py_None
); resultobj
= Py_None
;
10899 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxGrid
*arg1
= (wxGrid
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 result
= (bool)(arg1
)->CanDragGridSize();
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10924 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxGrid
*arg1
= (wxGrid
*) 0 ;
10929 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 PyObject
* obj2
= 0 ;
10933 PyObject
* obj3
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10941 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10945 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10956 Py_INCREF(Py_None
); resultobj
= Py_None
;
10963 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10965 wxGrid
*arg1
= (wxGrid
*) 0 ;
10967 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 PyObject
* obj2
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "row",(char *) "attr", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10978 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 (arg1
)->SetRowAttr(arg2
,arg3
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxGrid
*arg1
= (wxGrid
*) 0 ;
11000 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 PyObject
* obj2
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self",(char *) "col",(char *) "attr", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11011 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11014 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 (arg1
)->SetColAttr(arg2
,arg3
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 Py_INCREF(Py_None
); resultobj
= Py_None
;
11029 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxGrid
*arg1
= (wxGrid
*) 0 ;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self",(char *) "col", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11042 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->SetColFormatBool(arg2
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 Py_INCREF(Py_None
); resultobj
= Py_None
;
11059 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxGrid
*arg1
= (wxGrid
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self",(char *) "col", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11072 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 (arg1
)->SetColFormatNumber(arg2
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 Py_INCREF(Py_None
); resultobj
= Py_None
;
11089 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxGrid
*arg1
= (wxGrid
*) 0 ;
11093 int arg3
= (int) -1 ;
11094 int arg4
= (int) -1 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 PyObject
* obj2
= 0 ;
11098 PyObject
* obj3
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11106 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11111 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11117 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxGrid
*arg1
= (wxGrid
*) 0 ;
11139 wxString
*arg3
= 0 ;
11140 bool temp3
= False
;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 PyObject
* obj2
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self",(char *) "col",(char *) "typeName", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 arg3
= wxString_in_helper(obj2
);
11156 if (arg3
== NULL
) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxGrid
*arg1
= (wxGrid
*) 0 ;
11184 bool arg2
= (bool) True
;
11185 PyObject
* obj0
= 0 ;
11186 PyObject
* obj1
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self",(char *) "enable", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11195 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->EnableGridLines(arg2
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxGrid
*arg1
= (wxGrid
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)(arg1
)->GridLinesEnabled();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11238 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
;
11240 wxGrid
*arg1
= (wxGrid
*) 0 ;
11242 PyObject
* obj0
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (int)(arg1
)->GetDefaultRowSize();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_PyObj_FromInt((int)result
);
11263 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxGrid
*arg1
= (wxGrid
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "row", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11277 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (int)(arg1
)->GetRowSize(arg2
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_PyObj_FromInt((int)result
);
11294 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxGrid
*arg1
= (wxGrid
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (int)(arg1
)->GetDefaultColSize();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_PyObj_FromInt((int)result
);
11319 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxGrid
*arg1
= (wxGrid
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "col", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (int)(arg1
)->GetColSize(arg2
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_PyObj_FromInt((int)result
);
11350 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxGrid
*arg1
= (wxGrid
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (arg1
)->GetDefaultCellBackgroundColour();
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 wxColour
* resultptr
;
11370 resultptr
= new wxColour((wxColour
&) result
);
11371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11379 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxGrid
*arg1
= (wxGrid
*) 0 ;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 PyObject
* obj2
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "row",(char *) "col", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11395 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 wxColour
* resultptr
;
11411 resultptr
= new wxColour((wxColour
&) result
);
11412 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11420 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxGrid
*arg1
= (wxGrid
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (arg1
)->GetDefaultCellTextColour();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 wxColour
* resultptr
;
11440 resultptr
= new wxColour((wxColour
&) result
);
11441 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11449 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxGrid
*arg1
= (wxGrid
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 PyObject
* obj2
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self",(char *) "row",(char *) "col", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11465 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 wxColour
* resultptr
;
11481 resultptr
= new wxColour((wxColour
&) result
);
11482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11490 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxGrid
*arg1
= (wxGrid
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (arg1
)->GetDefaultCellFont();
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 wxFont
* resultptr
;
11510 resultptr
= new wxFont((wxFont
&) result
);
11511 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11519 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxGrid
*arg1
= (wxGrid
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self",(char *) "row",(char *) "col", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 wxFont
* resultptr
;
11551 resultptr
= new wxFont((wxFont
&) result
);
11552 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11560 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
;
11562 wxGrid
*arg1
= (wxGrid
*) 0 ;
11563 int *arg2
= (int *) 0 ;
11564 int *arg3
= (int *) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 char *kwnames
[] = {
11569 (char *) "self", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11586 resultobj
= t_output_helper(resultobj
,o
);
11589 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11590 resultobj
= t_output_helper(resultobj
,o
);
11598 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxGrid
*arg1
= (wxGrid
*) 0 ;
11603 int *arg4
= (int *) 0 ;
11604 int *arg5
= (int *) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 PyObject
* obj2
= 0 ;
11610 char *kwnames
[] = {
11611 (char *) "self",(char *) "row",(char *) "col", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11619 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 Py_INCREF(Py_None
); resultobj
= Py_None
;
11635 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11636 resultobj
= t_output_helper(resultobj
,o
);
11639 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11640 resultobj
= t_output_helper(resultobj
,o
);
11648 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxGrid
*arg1
= (wxGrid
*) 0 ;
11652 PyObject
* obj0
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
11658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (bool)(arg1
)->GetDefaultCellOverflow();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11673 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxGrid
*arg1
= (wxGrid
*) 0 ;
11679 PyObject
* obj0
= 0 ;
11680 PyObject
* obj1
= 0 ;
11681 PyObject
* obj2
= 0 ;
11682 char *kwnames
[] = {
11683 (char *) "self",(char *) "row",(char *) "col", NULL
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11689 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11693 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11710 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxGrid
*arg1
= (wxGrid
*) 0 ;
11715 int *arg4
= (int *) 0 ;
11716 int *arg5
= (int *) 0 ;
11719 PyObject
* obj0
= 0 ;
11720 PyObject
* obj1
= 0 ;
11721 PyObject
* obj2
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self",(char *) "row",(char *) "col", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11731 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 Py_INCREF(Py_None
); resultobj
= Py_None
;
11747 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11748 resultobj
= t_output_helper(resultobj
,o
);
11751 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11752 resultobj
= t_output_helper(resultobj
,o
);
11760 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxGrid
*arg1
= (wxGrid
*) 0 ;
11764 bool arg3
= (bool) False
;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 PyObject
* obj2
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11775 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11780 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 Py_INCREF(Py_None
); resultobj
= Py_None
;
11798 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxGrid
*arg1
= (wxGrid
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 PyObject
* obj1
= 0 ;
11805 PyObject
* obj2
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "self",(char *) "row",(char *) "height", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11813 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 (arg1
)->SetRowSize(arg2
,arg3
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 Py_INCREF(Py_None
); resultobj
= Py_None
;
11834 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
;
11836 wxGrid
*arg1
= (wxGrid
*) 0 ;
11838 bool arg3
= (bool) False
;
11839 PyObject
* obj0
= 0 ;
11840 PyObject
* obj1
= 0 ;
11841 PyObject
* obj2
= 0 ;
11842 char *kwnames
[] = {
11843 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11854 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 (arg1
)->SetDefaultColSize(arg2
,arg3
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 Py_INCREF(Py_None
); resultobj
= Py_None
;
11872 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11873 PyObject
*resultobj
;
11874 wxGrid
*arg1
= (wxGrid
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 PyObject
* obj2
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self",(char *) "col",(char *) "width", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11887 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11891 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->SetColSize(arg2
,arg3
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 Py_INCREF(Py_None
); resultobj
= Py_None
;
11908 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxGrid
*arg1
= (wxGrid
*) 0 ;
11912 bool arg3
= (bool) True
;
11913 PyObject
* obj0
= 0 ;
11914 PyObject
* obj1
= 0 ;
11915 PyObject
* obj2
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11923 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11928 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 (arg1
)->AutoSizeColumn(arg2
,arg3
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 Py_INCREF(Py_None
); resultobj
= Py_None
;
11946 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
;
11948 wxGrid
*arg1
= (wxGrid
*) 0 ;
11950 bool arg3
= (bool) True
;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11966 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->AutoSizeRow(arg2
,arg3
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 Py_INCREF(Py_None
); resultobj
= Py_None
;
11984 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxGrid
*arg1
= (wxGrid
*) 0 ;
11987 bool arg2
= (bool) True
;
11988 PyObject
* obj0
= 0 ;
11989 PyObject
* obj1
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self",(char *) "setAsMin", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11998 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 (arg1
)->AutoSizeColumns(arg2
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 Py_INCREF(Py_None
); resultobj
= Py_None
;
12016 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxGrid
*arg1
= (wxGrid
*) 0 ;
12019 bool arg2
= (bool) True
;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self",(char *) "setAsMin", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12030 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 (arg1
)->AutoSizeRows(arg2
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 Py_INCREF(Py_None
); resultobj
= Py_None
;
12048 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxGrid
*arg1
= (wxGrid
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 (arg1
)->AutoSize();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 Py_INCREF(Py_None
); resultobj
= Py_None
;
12072 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxGrid
*arg1
= (wxGrid
*) 0 ;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "row", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12085 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 (arg1
)->AutoSizeRowLabelSize(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 Py_INCREF(Py_None
); resultobj
= Py_None
;
12102 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxGrid
*arg1
= (wxGrid
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "col", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12115 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 (arg1
)->AutoSizeColLabelSize(arg2
);
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 Py_INCREF(Py_None
); resultobj
= Py_None
;
12132 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxGrid
*arg1
= (wxGrid
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 PyObject
* obj2
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "col",(char *) "width", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12147 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12151 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12168 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxGrid
*arg1
= (wxGrid
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 PyObject
* obj2
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self",(char *) "row",(char *) "width", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12183 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 Py_INCREF(Py_None
); resultobj
= Py_None
;
12204 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxGrid
*arg1
= (wxGrid
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self",(char *) "width", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 Py_INCREF(Py_None
); resultobj
= Py_None
;
12234 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxGrid
*arg1
= (wxGrid
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self",(char *) "width", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 Py_INCREF(Py_None
); resultobj
= Py_None
;
12264 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
;
12266 wxGrid
*arg1
= (wxGrid
*) 0 ;
12268 PyObject
* obj0
= 0 ;
12269 char *kwnames
[] = {
12270 (char *) "self", NULL
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_PyObj_FromInt((int)result
);
12289 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxGrid
*arg1
= (wxGrid
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_PyObj_FromInt((int)result
);
12314 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxGrid
*arg1
= (wxGrid
*) 0 ;
12317 wxColour
*arg2
= 0 ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self","arg2", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxGrid
*arg1
= (wxGrid
*) 0 ;
12350 wxColour
*arg4
= 0 ;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 PyObject
* obj2
= 0 ;
12355 PyObject
* obj3
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12363 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12367 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12372 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 Py_INCREF(Py_None
); resultobj
= Py_None
;
12388 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxGrid
*arg1
= (wxGrid
*) 0 ;
12391 wxColour
*arg2
= 0 ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self","arg2", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 Py_INCREF(Py_None
); resultobj
= Py_None
;
12419 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
*resultobj
;
12421 wxGrid
*arg1
= (wxGrid
*) 0 ;
12424 wxColour
*arg4
= 0 ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 PyObject
* obj2
= 0 ;
12429 PyObject
* obj3
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12437 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12441 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12446 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 Py_INCREF(Py_None
); resultobj
= Py_None
;
12462 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxGrid
*arg1
= (wxGrid
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self","arg2", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12475 if (arg2
== NULL
) {
12476 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 Py_INCREF(Py_None
); resultobj
= Py_None
;
12492 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxGrid
*arg1
= (wxGrid
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 PyObject
* obj2
= 0 ;
12501 PyObject
* obj3
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12509 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12513 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12517 if (arg4
== NULL
) {
12518 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 Py_INCREF(Py_None
); resultobj
= Py_None
;
12534 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxGrid
*arg1
= (wxGrid
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 PyObject
* obj1
= 0 ;
12541 PyObject
* obj2
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12549 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12553 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 Py_INCREF(Py_None
); resultobj
= Py_None
;
12570 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxGrid
*arg1
= (wxGrid
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 PyObject
* obj2
= 0 ;
12580 PyObject
* obj3
= 0 ;
12581 PyObject
* obj4
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12589 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12597 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12601 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 Py_INCREF(Py_None
); resultobj
= Py_None
;
12618 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxGrid
*arg1
= (wxGrid
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self",(char *) "allow", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12631 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 (arg1
)->SetDefaultCellOverflow(arg2
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 Py_INCREF(Py_None
); resultobj
= Py_None
;
12648 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxGrid
*arg1
= (wxGrid
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 PyObject
* obj2
= 0 ;
12657 PyObject
* obj3
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12669 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 Py_INCREF(Py_None
); resultobj
= Py_None
;
12690 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxGrid
*arg1
= (wxGrid
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 PyObject
* obj1
= 0 ;
12699 PyObject
* obj2
= 0 ;
12700 PyObject
* obj3
= 0 ;
12701 PyObject
* obj4
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12709 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 Py_INCREF(Py_None
); resultobj
= Py_None
;
12738 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxGrid
*arg1
= (wxGrid
*) 0 ;
12741 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 PyObject
* obj1
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "self",(char *) "renderer", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
12749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 (arg1
)->SetDefaultRenderer(arg2
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 Py_INCREF(Py_None
); resultobj
= Py_None
;
12765 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxGrid
*arg1
= (wxGrid
*) 0 ;
12770 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 PyObject
* obj2
= 0 ;
12774 PyObject
* obj3
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12782 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12786 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxGrid
*arg1
= (wxGrid
*) 0 ;
12807 wxGridCellRenderer
*result
;
12808 PyObject
* obj0
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12831 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxGrid
*arg1
= (wxGrid
*) 0 ;
12836 wxGridCellRenderer
*result
;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 PyObject
* obj2
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self",(char *) "row",(char *) "col", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12847 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12851 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12870 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxGrid
*arg1
= (wxGrid
*) 0 ;
12873 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self",(char *) "editor", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
12881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetDefaultEditor(arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxGrid
*arg1
= (wxGrid
*) 0 ;
12902 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 PyObject
* obj2
= 0 ;
12906 PyObject
* obj3
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12914 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12918 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 Py_INCREF(Py_None
); resultobj
= Py_None
;
12936 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxGrid
*arg1
= (wxGrid
*) 0 ;
12939 wxGridCellEditor
*result
;
12940 PyObject
* obj0
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
12946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= wxPyMake_wxGridCellEditor(result
);
12963 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxGrid
*arg1
= (wxGrid
*) 0 ;
12968 wxGridCellEditor
*result
;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 PyObject
* obj2
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self",(char *) "row",(char *) "col", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12979 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= wxPyMake_wxGridCellEditor(result
);
13002 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
;
13004 wxGrid
*arg1
= (wxGrid
*) 0 ;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 PyObject
* obj2
= 0 ;
13011 char *kwnames
[] = {
13012 (char *) "self",(char *) "row",(char *) "col", NULL
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13018 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13022 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13045 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxGrid
*arg1
= (wxGrid
*) 0 ;
13050 wxString
*arg4
= 0 ;
13051 bool temp4
= False
;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 PyObject
* obj2
= 0 ;
13055 PyObject
* obj3
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13063 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13071 arg4
= wxString_in_helper(obj3
);
13072 if (arg4
== NULL
) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 Py_INCREF(Py_None
); resultobj
= Py_None
;
13097 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxGrid
*arg1
= (wxGrid
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 PyObject
* obj1
= 0 ;
13105 PyObject
* obj2
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self",(char *) "row",(char *) "col", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13113 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13117 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13134 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
;
13136 wxGrid
*arg1
= (wxGrid
*) 0 ;
13139 bool arg4
= (bool) True
;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 PyObject
* obj2
= 0 ;
13143 PyObject
* obj3
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13160 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxGrid
*arg1
= (wxGrid
*) 0 ;
13182 bool arg3
= (bool) False
;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 PyObject
* obj2
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13193 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13198 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 (arg1
)->SelectRow(arg2
,arg3
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 Py_INCREF(Py_None
); resultobj
= Py_None
;
13216 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxGrid
*arg1
= (wxGrid
*) 0 ;
13220 bool arg3
= (bool) False
;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 PyObject
* obj2
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13231 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13236 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->SelectCol(arg2
,arg3
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxGrid
*arg1
= (wxGrid
*) 0 ;
13261 bool arg6
= (bool) False
;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 PyObject
* obj2
= 0 ;
13265 PyObject
* obj3
= 0 ;
13266 PyObject
* obj4
= 0 ;
13267 PyObject
* obj5
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13275 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13292 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxGrid
*arg1
= (wxGrid
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 (arg1
)->SelectAll();
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 Py_INCREF(Py_None
); resultobj
= Py_None
;
13334 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxGrid
*arg1
= (wxGrid
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= (bool)(arg1
)->IsSelection();
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13359 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxGrid
*arg1
= (wxGrid
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->ClearSelection();
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 Py_INCREF(Py_None
); resultobj
= Py_None
;
13383 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxGrid
*arg1
= (wxGrid
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 PyObject
* obj2
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self",(char *) "row",(char *) "col", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13399 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13403 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13420 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxGrid
*arg1
= (wxGrid
*) 0 ;
13423 wxGridCellCoordsArray result
;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= wxGridCellCoordsArray_helper(result
);
13447 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxGrid
*arg1
= (wxGrid
*) 0 ;
13450 wxGridCellCoordsArray result
;
13451 PyObject
* obj0
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= wxGridCellCoordsArray_helper(result
);
13474 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxGrid
*arg1
= (wxGrid
*) 0 ;
13477 wxGridCellCoordsArray result
;
13478 PyObject
* obj0
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= wxGridCellCoordsArray_helper(result
);
13501 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxGrid
*arg1
= (wxGrid
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= PyList_New(0);
13522 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13523 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13524 PyList_Append(resultobj
, val
);
13534 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxGrid
*arg1
= (wxGrid
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= PyList_New(0);
13555 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13556 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13557 PyList_Append(resultobj
, val
);
13567 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxGrid
*arg1
= (wxGrid
*) 0 ;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self",(char *) "row", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13580 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 (arg1
)->DeselectRow(arg2
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 Py_INCREF(Py_None
); resultobj
= Py_None
;
13597 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxGrid
*arg1
= (wxGrid
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 PyObject
* obj1
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self",(char *) "col", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13610 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 (arg1
)->DeselectCol(arg2
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 Py_INCREF(Py_None
); resultobj
= Py_None
;
13627 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxGrid
*arg1
= (wxGrid
*) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 PyObject
* obj2
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "row",(char *) "col", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13642 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13646 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 (arg1
)->DeselectCell(arg2
,arg3
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 Py_INCREF(Py_None
); resultobj
= Py_None
;
13663 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
;
13665 wxGrid
*arg1
= (wxGrid
*) 0 ;
13666 wxGridCellCoords
*arg2
= 0 ;
13667 wxGridCellCoords
*arg3
= 0 ;
13669 wxGridCellCoords temp2
;
13670 wxGridCellCoords temp3
;
13671 PyObject
* obj0
= 0 ;
13672 PyObject
* obj1
= 0 ;
13673 PyObject
* obj2
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13682 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
13686 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 wxRect
* resultptr
;
13697 resultptr
= new wxRect((wxRect
&) result
);
13698 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
13706 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxGrid
*arg1
= (wxGrid
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 char *kwnames
[] = {
13712 (char *) "self", NULL
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
13716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13725 wxColour
* resultptr
;
13726 resultptr
= new wxColour((wxColour
&) result
);
13727 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
13735 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxGrid
*arg1
= (wxGrid
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 wxColour
* resultptr
;
13755 resultptr
= new wxColour((wxColour
&) result
);
13756 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
13764 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxGrid
*arg1
= (wxGrid
*) 0 ;
13767 wxColour
*arg2
= 0 ;
13769 PyObject
* obj0
= 0 ;
13770 PyObject
* obj1
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self",(char *) "c", NULL
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13788 Py_INCREF(Py_None
); resultobj
= Py_None
;
13795 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxGrid
*arg1
= (wxGrid
*) 0 ;
13798 wxColour
*arg2
= 0 ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "self",(char *) "c", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13810 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 Py_INCREF(Py_None
); resultobj
= Py_None
;
13826 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxGrid
*arg1
= (wxGrid
*) 0 ;
13829 wxString
*arg2
= 0 ;
13830 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
13831 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13832 bool temp2
= False
;
13833 PyObject
* obj0
= 0 ;
13834 PyObject
* obj1
= 0 ;
13835 PyObject
* obj2
= 0 ;
13836 PyObject
* obj3
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13844 arg2
= wxString_in_helper(obj1
);
13845 if (arg2
== NULL
) SWIG_fail
;
13848 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13849 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 Py_INCREF(Py_None
); resultobj
= Py_None
;
13872 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxGrid
*arg1
= (wxGrid
*) 0 ;
13877 wxGridCellEditor
*result
;
13878 PyObject
* obj0
= 0 ;
13879 PyObject
* obj1
= 0 ;
13880 PyObject
* obj2
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self",(char *) "row",(char *) "col", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13888 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13892 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= wxPyMake_wxGridCellEditor(result
);
13911 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
;
13913 wxGrid
*arg1
= (wxGrid
*) 0 ;
13916 wxGridCellRenderer
*result
;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 PyObject
* obj2
= 0 ;
13920 char *kwnames
[] = {
13921 (char *) "self",(char *) "row",(char *) "col", NULL
13924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13927 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13931 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13950 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
;
13952 wxGrid
*arg1
= (wxGrid
*) 0 ;
13953 wxString
*arg2
= 0 ;
13954 wxGridCellEditor
*result
;
13955 bool temp2
= False
;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "typeName", NULL
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
13963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13965 arg2
= wxString_in_helper(obj1
);
13966 if (arg2
== NULL
) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= wxPyMake_wxGridCellEditor(result
);
13993 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
;
13995 wxGrid
*arg1
= (wxGrid
*) 0 ;
13996 wxString
*arg2
= 0 ;
13997 wxGridCellRenderer
*result
;
13998 bool temp2
= False
;
13999 PyObject
* obj0
= 0 ;
14000 PyObject
* obj1
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self",(char *) "typeName", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14008 arg2
= wxString_in_helper(obj1
);
14009 if (arg2
== NULL
) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14036 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxGrid
*arg1
= (wxGrid
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 (arg1
)->SetMargins(arg2
,arg3
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 Py_INCREF(Py_None
); resultobj
= Py_None
;
14072 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxGrid
*arg1
= (wxGrid
*) 0 ;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= wxPyMake_wxObject(result
);
14099 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxGrid
*arg1
= (wxGrid
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= wxPyMake_wxObject(result
);
14126 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
;
14128 wxGrid
*arg1
= (wxGrid
*) 0 ;
14130 PyObject
* obj0
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= wxPyMake_wxObject(result
);
14153 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxGrid
*arg1
= (wxGrid
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= wxPyMake_wxObject(result
);
14180 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
14182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14183 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14185 return Py_BuildValue((char *)"");
14187 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14191 wxGrid
*arg3
= (wxGrid
*) 0 ;
14192 int arg4
= (int) -1 ;
14193 int arg5
= (int) -1 ;
14194 int arg6
= (int) -1 ;
14195 int arg7
= (int) -1 ;
14196 bool arg8
= (bool) True
;
14197 bool arg9
= (bool) False
;
14198 bool arg10
= (bool) False
;
14199 bool arg11
= (bool) False
;
14200 bool arg12
= (bool) False
;
14201 wxGridEvent
*result
;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 PyObject
* obj2
= 0 ;
14205 PyObject
* obj3
= 0 ;
14206 PyObject
* obj4
= 0 ;
14207 PyObject
* obj5
= 0 ;
14208 PyObject
* obj6
= 0 ;
14209 PyObject
* obj7
= 0 ;
14210 PyObject
* obj8
= 0 ;
14211 PyObject
* obj9
= 0 ;
14212 PyObject
* obj10
= 0 ;
14213 PyObject
* obj11
= 0 ;
14214 char *kwnames
[] = {
14215 (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
14218 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
;
14220 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14224 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14227 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14230 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14236 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14242 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14248 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14254 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14260 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14266 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14272 arg11
= (bool) SWIG_PyObj_AsBool(obj10
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14278 arg12
= (bool) SWIG_PyObj_AsBool(obj11
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEvent
, 1);
14296 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14300 PyObject
* obj0
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "self", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (int)(arg1
)->GetRow();
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= SWIG_PyObj_FromInt((int)result
);
14321 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (int)(arg1
)->GetCol();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_PyObj_FromInt((int)result
);
14346 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "self", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (arg1
)->GetPosition();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14365 wxPoint
* resultptr
;
14366 resultptr
= new wxPoint((wxPoint
&) result
);
14367 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14375 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (bool)(arg1
)->Selecting();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14400 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14404 PyObject
* obj0
= 0 ;
14405 char *kwnames
[] = {
14406 (char *) "self", NULL
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (bool)(arg1
)->ControlDown();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14425 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (bool)(arg1
)->MetaDown();
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14450 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (bool)(arg1
)->ShiftDown();
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14475 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= (bool)(arg1
)->AltDown();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14500 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14503 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14505 return Py_BuildValue((char *)"");
14507 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14511 wxGrid
*arg3
= (wxGrid
*) 0 ;
14512 int arg4
= (int) -1 ;
14513 int arg5
= (int) -1 ;
14514 int arg6
= (int) -1 ;
14515 bool arg7
= (bool) False
;
14516 bool arg8
= (bool) False
;
14517 bool arg9
= (bool) False
;
14518 bool arg10
= (bool) False
;
14519 wxGridSizeEvent
*result
;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 PyObject
* obj2
= 0 ;
14523 PyObject
* obj3
= 0 ;
14524 PyObject
* obj4
= 0 ;
14525 PyObject
* obj5
= 0 ;
14526 PyObject
* obj6
= 0 ;
14527 PyObject
* obj7
= 0 ;
14528 PyObject
* obj8
= 0 ;
14529 PyObject
* obj9
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14536 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14546 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14552 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14558 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14564 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14570 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14576 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14582 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizeEvent
, 1);
14600 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 char *kwnames
[] = {
14606 (char *) "self", NULL
14609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (int)(arg1
)->GetRowOrCol();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= SWIG_PyObj_FromInt((int)result
);
14625 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (arg1
)->GetPosition();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14644 wxPoint
* resultptr
;
14645 resultptr
= new wxPoint((wxPoint
&) result
);
14646 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14654 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
;
14656 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14658 PyObject
* obj0
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "self", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (bool)(arg1
)->ControlDown();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14679 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (bool)(arg1
)->MetaDown();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14704 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (bool)(arg1
)->ShiftDown();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14729 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (bool)(arg1
)->AltDown();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14754 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14757 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
14759 return Py_BuildValue((char *)"");
14761 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14765 wxGrid
*arg3
= (wxGrid
*) 0 ;
14766 wxGridCellCoords
*arg4
= 0 ;
14767 wxGridCellCoords
*arg5
= 0 ;
14768 bool arg6
= (bool) True
;
14769 bool arg7
= (bool) False
;
14770 bool arg8
= (bool) False
;
14771 bool arg9
= (bool) False
;
14772 bool arg10
= (bool) False
;
14773 wxGridRangeSelectEvent
*result
;
14774 wxGridCellCoords temp4
;
14775 wxGridCellCoords temp5
;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 PyObject
* obj2
= 0 ;
14779 PyObject
* obj3
= 0 ;
14780 PyObject
* obj4
= 0 ;
14781 PyObject
* obj5
= 0 ;
14782 PyObject
* obj6
= 0 ;
14783 PyObject
* obj7
= 0 ;
14784 PyObject
* obj8
= 0 ;
14785 PyObject
* obj9
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14792 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14802 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
14806 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
14810 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14816 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14822 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14828 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14834 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
14852 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14855 wxGridCellCoords result
;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 result
= (arg1
)->GetTopLeftCoords();
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14871 wxGridCellCoords
* resultptr
;
14872 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14873 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
14881 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14884 wxGridCellCoords result
;
14885 PyObject
* obj0
= 0 ;
14886 char *kwnames
[] = {
14887 (char *) "self", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
14891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (arg1
)->GetBottomRightCoords();
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 wxGridCellCoords
* resultptr
;
14901 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14902 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
14910 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (int)(arg1
)->GetTopRow();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_PyObj_FromInt((int)result
);
14935 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14939 PyObject
* obj0
= 0 ;
14940 char *kwnames
[] = {
14941 (char *) "self", NULL
14944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
14945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (int)(arg1
)->GetBottomRow();
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_PyObj_FromInt((int)result
);
14960 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14964 PyObject
* obj0
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (int)(arg1
)->GetLeftCol();
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= SWIG_PyObj_FromInt((int)result
);
14985 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (int)(arg1
)->GetRightCol();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= SWIG_PyObj_FromInt((int)result
);
15010 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (bool)(arg1
)->Selecting();
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15035 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 result
= (bool)(arg1
)->ControlDown();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15060 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (bool)(arg1
)->MetaDown();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15085 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)(arg1
)->ShiftDown();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15110 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (bool)(arg1
)->AltDown();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15135 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15138 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15140 return Py_BuildValue((char *)"");
15142 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15146 wxObject
*arg3
= (wxObject
*) 0 ;
15149 wxControl
*arg6
= (wxControl
*) 0 ;
15150 wxGridEditorCreatedEvent
*result
;
15151 PyObject
* obj0
= 0 ;
15152 PyObject
* obj1
= 0 ;
15153 PyObject
* obj2
= 0 ;
15154 PyObject
* obj3
= 0 ;
15155 PyObject
* obj4
= 0 ;
15156 PyObject
* obj5
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15163 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15172 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15176 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15194 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "self", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (int)(arg1
)->GetRow();
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= SWIG_PyObj_FromInt((int)result
);
15219 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (int)(arg1
)->GetCol();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= SWIG_PyObj_FromInt((int)result
);
15244 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (wxControl
*)(arg1
)->GetControl();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= wxPyMake_wxObject(result
);
15271 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self",(char *) "row", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15284 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 (arg1
)->SetRow(arg2
);
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 Py_INCREF(Py_None
); resultobj
= Py_None
;
15301 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self",(char *) "col", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15314 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->SetCol(arg2
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 Py_INCREF(Py_None
); resultobj
= Py_None
;
15331 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15334 wxControl
*arg2
= (wxControl
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self",(char *) "ctrl", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 (arg1
)->SetControl(arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15361 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15363 return Py_BuildValue((char *)"");
15365 static PyMethodDef SwigMethods
[] = {
15366 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15367 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15368 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15369 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15370 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15371 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15372 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15373 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
15374 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15375 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15376 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15377 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
15378 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15379 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
15380 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15381 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
15382 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15383 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15384 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15385 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15386 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15387 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
15388 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15389 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
15390 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15391 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
15392 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15393 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
15394 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15395 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
15396 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15397 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15398 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15399 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15400 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15401 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15402 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15403 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15404 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15405 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15406 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15407 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15408 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15409 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15410 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15411 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15412 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15413 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15414 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15415 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15416 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15417 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15418 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
15419 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15420 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15421 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15422 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15423 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15424 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15425 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15426 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15427 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15428 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15429 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15430 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
15431 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15432 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15433 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
15434 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15435 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15436 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
15437 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15438 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15439 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
15440 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15441 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15442 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
15443 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15444 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15445 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
15446 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15447 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15448 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
15449 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15450 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15451 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
15452 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15453 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15454 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15455 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15456 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15457 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15458 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15459 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15460 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15461 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15462 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15463 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15464 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15465 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15466 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15467 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15468 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15469 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15470 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15471 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15472 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15473 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15474 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15475 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15476 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15477 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15478 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15479 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15480 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15481 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15482 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15483 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15484 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15485 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15486 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
15487 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15488 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15489 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15490 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15491 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15492 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15493 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15494 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15495 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
15496 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15497 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15498 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15499 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15500 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15501 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15502 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
15503 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15504 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15505 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15506 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15507 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15508 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15509 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15510 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15511 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15512 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15513 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15514 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15515 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15516 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15517 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15518 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15519 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15520 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15521 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15522 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15523 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15524 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15525 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15526 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15527 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15528 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15529 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15530 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15531 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15532 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15533 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15534 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15535 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15536 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15537 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15538 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
15539 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15540 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15541 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15542 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15543 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15544 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15545 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15546 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15547 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15548 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15549 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15550 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15551 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15552 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15553 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15554 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15555 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15556 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15557 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15558 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15559 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15560 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15561 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
15562 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15563 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
15564 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15565 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15566 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15567 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15568 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15569 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15570 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15571 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15572 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15573 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15574 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
15575 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15576 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15577 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15578 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15579 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15580 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15581 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15582 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15583 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15584 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
15585 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
15586 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
15587 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15588 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15589 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15590 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15591 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15592 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15593 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15594 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15595 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15596 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15597 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15598 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15599 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15600 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15601 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15602 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15603 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15604 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15605 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15606 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15607 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15608 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15609 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
15610 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15611 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15612 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15613 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15614 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15615 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15616 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15617 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15618 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15619 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15620 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15621 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15622 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15623 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15624 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15625 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15626 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15627 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15628 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15629 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15630 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15631 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15632 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15633 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15634 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15635 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15636 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15637 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15638 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15639 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15640 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15641 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15642 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15643 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15644 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15645 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15646 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15647 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15648 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15649 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15650 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15651 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15652 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15653 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15654 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15655 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15656 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15657 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15658 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15659 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15660 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15661 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15662 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15663 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15664 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15665 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15666 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15667 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15668 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15669 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15670 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15671 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15672 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15673 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15674 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15675 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15676 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15677 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15678 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15679 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15680 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15681 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15682 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15683 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15684 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15685 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15686 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15687 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15688 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15689 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15690 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15691 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15692 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15693 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15694 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15695 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15696 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15697 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15698 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15699 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15700 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15701 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15702 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15703 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15704 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15705 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15706 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15707 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15708 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15709 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15710 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15711 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15712 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15713 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15714 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15715 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15716 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15717 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15718 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15719 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15720 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15721 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15722 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15723 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15724 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15725 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15726 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15727 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15731 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15733 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15735 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15737 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15739 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15742 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15745 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15747 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15749 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15751 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15753 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15758 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15763 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
15769 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15773 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15774 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
15776 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15783 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15784 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15785 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
15786 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
15788 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15791 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15792 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15793 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
15794 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
15797 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
15799 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
15800 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
15801 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15803 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15805 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15806 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
15807 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
15808 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15809 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15810 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15811 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15813 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15814 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
15819 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15821 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
15822 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
15824 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
15825 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
15827 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
15828 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15830 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
15831 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15833 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
15834 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
15836 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
15837 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15839 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
15840 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15842 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
15843 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15845 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
15846 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15848 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
15849 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15851 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
15852 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15854 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
15855 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15857 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
15858 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15860 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
15861 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
15863 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
15864 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15866 static void *_p_wxGridTo_p_wxPanel(void *x
) {
15867 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
15869 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
15870 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15872 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
15873 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15875 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
15876 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
15878 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
15879 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15881 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
15882 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
15884 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
15885 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15887 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
15888 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15890 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
15891 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15893 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
15894 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15896 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
15897 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
15899 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
15900 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
15902 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
15903 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15905 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
15906 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15908 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
15909 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15911 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
15912 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
15914 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
15915 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
15917 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
15918 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15920 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
15921 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15923 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
15924 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15926 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
15927 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15929 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
15930 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15932 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
15933 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15935 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
15936 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
15938 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
15939 return (void *)((wxWindow
*) ((wxPanel
*) x
));
15941 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
15942 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
15944 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
15945 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
15947 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
15948 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15950 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
15951 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
15953 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
15954 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15956 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
15957 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
15959 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
15960 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15962 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
15963 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
15965 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
15966 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
15968 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
15969 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
15971 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
15972 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
15974 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
15975 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
15977 static void *_p_wxControlTo_p_wxWindow(void *x
) {
15978 return (void *)((wxWindow
*) ((wxControl
*) x
));
15980 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
15981 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15983 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
15984 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15986 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
15987 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15989 static void *_p_wxGridTo_p_wxWindow(void *x
) {
15990 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15992 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
15993 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
15995 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
15996 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
15998 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
15999 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16001 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16002 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16004 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16005 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16007 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16008 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16010 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16011 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16013 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16014 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16016 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16017 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16019 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16020 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16022 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16023 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16025 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16026 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16028 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16029 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16031 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16032 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16034 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16035 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16037 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16038 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16040 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16041 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16043 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16044 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16046 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16047 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16049 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16050 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16052 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16053 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16055 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16056 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16058 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16059 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16061 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16062 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16064 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16065 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16067 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16068 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16070 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16071 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16073 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16074 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16076 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16077 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16079 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16080 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16082 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16083 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16085 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16086 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16088 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16089 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16091 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16092 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16094 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16095 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16097 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16098 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16100 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16101 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16103 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16104 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16106 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16107 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16109 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16110 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16112 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16113 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16115 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16116 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16118 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16119 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16121 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16122 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16124 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16125 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16127 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16128 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16130 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16131 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16133 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16136 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16137 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16139 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16140 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16142 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16143 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16145 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16146 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16148 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16149 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16151 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16152 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16154 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16155 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16157 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16160 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16161 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16163 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16164 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16166 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16167 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16169 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16170 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16172 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16173 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16175 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16176 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16178 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16179 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16181 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16184 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16187 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16188 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16190 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16191 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16193 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16196 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16197 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16199 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16200 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16202 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16203 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16205 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16206 return (void *)((wxObject
*) ((wxSizer
*) x
));
16208 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16209 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16211 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16212 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16214 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16217 static void *_p_wxEventTo_p_wxObject(void *x
) {
16218 return (void *)((wxObject
*) ((wxEvent
*) x
));
16220 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16221 return (void *)((wxObject
*) ((wxFontData
*) x
));
16223 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16224 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16226 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16227 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16229 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16230 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16232 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16233 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16235 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16236 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16238 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16239 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16241 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16244 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16245 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16247 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16248 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16250 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16251 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16253 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16254 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16256 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16257 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16259 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16260 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16262 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16263 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16265 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16268 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16271 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16274 static void *_p_wxControlTo_p_wxObject(void *x
) {
16275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16277 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16278 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16280 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16283 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16284 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16286 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16287 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16289 static void *_p_wxGridTo_p_wxObject(void *x
) {
16290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16292 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16293 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16295 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16298 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16299 return (void *)((wxObject
*) ((wxColourData
*) x
));
16301 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16302 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16304 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16307 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16310 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16313 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16316 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16319 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16322 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16325 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16328 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16331 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16334 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16335 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16337 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16338 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16340 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16341 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16343 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16344 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16346 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16347 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16349 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16350 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16352 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16353 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16355 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16356 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16358 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16359 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16361 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16362 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16364 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16365 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16367 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16370 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16371 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16373 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16374 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16376 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16377 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16379 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16382 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16383 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16385 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16388 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16389 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16391 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16392 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16394 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16395 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16397 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16398 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16400 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16401 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16403 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16404 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16406 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16407 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16409 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16410 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16412 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16413 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16415 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16418 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16421 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16422 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16424 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16427 static void *_p_wxImageTo_p_wxObject(void *x
) {
16428 return (void *)((wxObject
*) ((wxImage
*) x
));
16430 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16433 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16434 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16436 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16437 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16439 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16440 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16442 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16445 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16448 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16451 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16452 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16454 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16455 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16457 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16458 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16460 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16461 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16463 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16466 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16469 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16472 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16475 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16478 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16481 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16484 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16487 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16490 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16493 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16496 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16499 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16500 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16502 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16503 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16505 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16506 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16508 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16511 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16514 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16517 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16520 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16523 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16526 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16529 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16530 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16532 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16535 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16536 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16538 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16539 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16541 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16542 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16544 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16545 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16547 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16548 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16550 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16551 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16553 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16554 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16556 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16559 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16560 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16562 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16565 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16568 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16569 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16571 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16572 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16574 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16577 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16580 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16581 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16583 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16584 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16586 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16589 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16590 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16592 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16595 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16598 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16601 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16602 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16604 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16605 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16607 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16608 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16610 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16611 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16613 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16616 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16619 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16622 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16625 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
16626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16628 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
16629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16631 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
16632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16634 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
16635 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
16637 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
16638 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
16640 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
16641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16643 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
16644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16646 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
16647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16649 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
16650 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
16652 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
16653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16655 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
16656 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
16658 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
16659 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
16661 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
16662 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
16664 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
16665 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
16667 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
16668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16670 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
16671 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
16673 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
16674 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
16676 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
16677 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
16679 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
16680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16682 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
16683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16685 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
16686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16688 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
16689 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
16691 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
16692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16694 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
16695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16697 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
16698 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
16700 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
16701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16703 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
16704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16706 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
16707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16709 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16712 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16715 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
16716 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16718 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
16719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16721 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
16722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16724 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
16725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16727 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
16728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16730 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
16731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16733 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
16734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16736 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
16737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16739 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
16740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16742 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
16743 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
16745 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
16746 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16748 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
16749 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
16751 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
16752 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
16754 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
16755 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16757 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
16758 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16760 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
16761 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
16763 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
16764 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
16766 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
16767 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16769 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
16770 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16772 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
16773 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16775 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
16776 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16778 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
16779 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16781 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
16782 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
16784 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
16785 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16787 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
16788 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16790 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
16791 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
16793 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
16794 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16796 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
16797 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16799 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
16800 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16802 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
16803 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16805 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
16806 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16808 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
16809 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16811 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
16812 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
16814 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
16815 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16817 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
16818 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16820 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
16821 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16823 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
16824 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16826 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
16827 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
16829 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
16830 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16832 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
16833 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
16834 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
16835 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
16836 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
16837 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
16838 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
16839 static swig_type_info _swigt__p_wxGridCellRenderer
[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0},{"_p_wxGridCellRenderer"},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
},{0}};
16840 static swig_type_info _swigt__p_wxGridCellStringRenderer
[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0},{"_p_wxGridCellStringRenderer"},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
},{0}};
16841 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
16842 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
16843 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
16844 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
16845 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
16846 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
16847 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxGrid", _p_wxGridTo_p_wxPanel
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
},{0}};
16848 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
16849 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
16850 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
16851 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
16852 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow
},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
},{0}};
16853 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{"_p_wxGrid", _p_wxGridTo_p_wxWindow
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
},{0}};
16854 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
16855 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
16856 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
},{0}};
16857 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject
},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject
},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject
},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxGrid", _p_wxGridTo_p_wxObject
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject
},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{0}};
16858 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
16859 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
16860 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
16861 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
16862 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler
},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
},{0}};
16863 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
16864 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
16865 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
16866 static swig_type_info _swigt__p_wxGridTableBase
[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase
},{"_p_wxGridTableBase"},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase
},{0}};
16867 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
16868 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
16869 static swig_type_info _swigt__p_wxGridCellEditor
[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0},{"_p_wxGridCellEditor"},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
},{0}};
16870 static swig_type_info _swigt__p_wxGridCellTextEditor
[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0},{"_p_wxGridCellTextEditor"},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
},{0}};
16871 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
16872 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
16873 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
16874 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
16875 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
16876 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent
},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent
},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{0}};
16877 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
},{0}};
16878 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
16879 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
},{0}};
16880 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
16881 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
16882 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16883 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
16885 static swig_type_info
*swig_types_initial
[] = {
16886 _swigt__p_wxGridCellAutoWrapStringRenderer
,
16887 _swigt__p_wxGridCellEnumRenderer
,
16888 _swigt__p_wxGridCellDateTimeRenderer
,
16889 _swigt__p_wxGridCellBoolRenderer
,
16890 _swigt__p_wxGridCellFloatRenderer
,
16891 _swigt__p_wxGridCellNumberRenderer
,
16892 _swigt__p_wxPyGridCellRenderer
,
16893 _swigt__p_wxGridCellRenderer
,
16894 _swigt__p_wxGridCellStringRenderer
,
16895 _swigt__p_wxGridCellAttr
,
16896 _swigt__p_wxColour
,
16898 _swigt__p_wxGridTableMessage
,
16902 _swigt__p_wxNotifyEvent
,
16903 _swigt__p_wxGridRangeSelectEvent
,
16905 _swigt__p_wxGridCellCoords
,
16906 _swigt__p_wxScrolledWindow
,
16907 _swigt__p_wxWindow
,
16909 _swigt__p_wxControl
,
16911 _swigt__p_wxObject
,
16912 _swigt__p_wxGridSizeEvent
,
16915 _swigt__p_wxString
,
16916 _swigt__p_wxEvtHandler
,
16918 _swigt__p_wxGridEvent
,
16919 _swigt__p_wxGridEditorCreatedEvent
,
16920 _swigt__p_wxGridTableBase
,
16921 _swigt__p_wxGridCellNumberEditor
,
16922 _swigt__p_wxPyGridCellEditor
,
16923 _swigt__p_wxGridCellEditor
,
16924 _swigt__p_wxGridCellTextEditor
,
16925 _swigt__p_wxGridCellFloatEditor
,
16926 _swigt__p_wxGridCellBoolEditor
,
16927 _swigt__p_wxPyGridTableBase
,
16928 _swigt__p_wxGridStringTable
,
16929 _swigt__p_wxArrayString
,
16930 _swigt__p_wxCommandEvent
,
16931 _swigt__p_wxGridCellAttrProvider
,
16932 _swigt__p_wxKeyEvent
,
16933 _swigt__p_wxGridCellChoiceEditor
,
16934 _swigt__p_wxGridCellEnumEditor
,
16935 _swigt__p_wxGridCellAutoWrapStringEditor
,
16937 _swigt__p_wxPyGridCellAttrProvider
,
16942 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16944 static swig_const_info swig_const_table
[] = {
16945 { SWIG_PY_STRING
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
16946 { SWIG_PY_STRING
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
16947 { SWIG_PY_STRING
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
16948 { SWIG_PY_STRING
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
16949 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
16950 { SWIG_PY_STRING
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
16951 { SWIG_PY_STRING
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
16952 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
16953 { SWIG_PY_STRING
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
16963 SWIGEXPORT(void) SWIG_init(void) {
16964 static PyObject
*SWIG_globals
= 0;
16965 static int typeinit
= 0;
16968 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
16969 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
16970 d
= PyModule_GetDict(m
);
16973 for (i
= 0; swig_types_initial
[i
]; i
++) {
16974 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
16978 SWIG_InstallConstants(d
,swig_const_table
);
16980 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
16981 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
16982 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
16983 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
16984 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_PyObj_FromInt((int)wxGridCellAttr::Any
));
16985 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_PyObj_FromInt((int)wxGridCellAttr::Default
));
16986 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_PyObj_FromInt((int)wxGridCellAttr::Cell
));
16987 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_PyObj_FromInt((int)wxGridCellAttr::Row
));
16988 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_PyObj_FromInt((int)wxGridCellAttr::Col
));
16989 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_PyObj_FromInt((int)wxGridCellAttr::Merged
));
16990 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_PyObj_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
16991 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_PyObj_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
16992 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
16993 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
16994 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
16995 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
16996 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
16997 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
16998 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectCells
));
16999 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectRows
));
17000 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectColumns
));
17001 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17002 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17003 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17004 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17005 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17006 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17007 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17008 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17009 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17010 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17011 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17012 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17013 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17014 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17015 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17016 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));