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 ;
8591 PyObject
* obj0
= 0 ;
8592 PyObject
* obj1
= 0 ;
8593 PyObject
* obj2
= 0 ;
8595 (char *) "self",(char *) "dc",(char *) "lines", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8602 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8604 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8607 if (! PySequence_Check(obj2
)) {
8608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8611 arg3
= new wxArrayString
;
8612 int i
, len
=PySequence_Length(obj2
);
8613 for (i
=0; i
<len
; i
++) {
8614 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8616 PyObject
* str
= PyObject_Unicode(item
);
8618 PyObject
* str
= PyObject_Str(item
);
8620 arg3
->Add(Py2wxString(str
));
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 Py_INCREF(Py_None
); resultobj
= Py_None
;
8634 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8635 resultobj
= t_output_helper(resultobj
,o
);
8638 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8639 resultobj
= t_output_helper(resultobj
,o
);
8642 if (arg3
) delete arg3
;
8647 if (arg3
) delete arg3
;
8653 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxGrid
*arg1
= (wxGrid
*) 0 ;
8656 PyObject
* obj0
= 0 ;
8658 (char *) "self", NULL
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 (arg1
)->BeginBatch();
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 Py_INCREF(Py_None
); resultobj
= Py_None
;
8677 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxGrid
*arg1
= (wxGrid
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8682 (char *) "self", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
8686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxGrid
*arg1
= (wxGrid
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8707 (char *) "self", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 result
= (int)(arg1
)->GetBatchCount();
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= SWIG_PyObj_FromInt((int)result
);
8726 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxGrid
*arg1
= (wxGrid
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->ForceRefresh();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_Grid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxGrid
*arg1
= (wxGrid
*) 0 ;
8753 bool arg2
= (bool) True
;
8754 wxRect
*arg3
= (wxRect
*) NULL
;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8757 PyObject
* obj2
= 0 ;
8759 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8766 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8771 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxGrid
*arg1
= (wxGrid
*) 0 ;
8791 PyObject
* obj0
= 0 ;
8793 (char *) "self", NULL
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
8797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (bool)(arg1
)->IsEditable();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8812 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxGrid
*arg1
= (wxGrid
*) 0 ;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8819 (char *) "self",(char *) "edit", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
8823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8825 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 (arg1
)->EnableEditing(arg2
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8835 Py_INCREF(Py_None
); resultobj
= Py_None
;
8842 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
;
8844 wxGrid
*arg1
= (wxGrid
*) 0 ;
8845 bool arg2
= (bool) True
;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "self",(char *) "enable", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8856 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 (arg1
)->EnableCellEditControl(arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 Py_INCREF(Py_None
); resultobj
= Py_None
;
8874 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxGrid
*arg1
= (wxGrid
*) 0 ;
8877 PyObject
* obj0
= 0 ;
8879 (char *) "self", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
8883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->DisableCellEditControl();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxGrid
*arg1
= (wxGrid
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8904 (char *) "self", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8923 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxGrid
*arg1
= (wxGrid
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8948 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxGrid
*arg1
= (wxGrid
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8954 (char *) "self", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8973 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxGrid
*arg1
= (wxGrid
*) 0 ;
8977 PyObject
* obj0
= 0 ;
8979 (char *) "self", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8998 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxGrid
*arg1
= (wxGrid
*) 0 ;
9001 PyObject
* obj0
= 0 ;
9003 (char *) "self", NULL
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 (arg1
)->ShowCellEditControl();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 Py_INCREF(Py_None
); resultobj
= Py_None
;
9022 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxGrid
*arg1
= (wxGrid
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "self", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 (arg1
)->HideCellEditControl();
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 Py_INCREF(Py_None
); resultobj
= Py_None
;
9046 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxGrid
*arg1
= (wxGrid
*) 0 ;
9049 PyObject
* obj0
= 0 ;
9051 (char *) "self", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 (arg1
)->SaveEditControlValue();
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 Py_INCREF(Py_None
); resultobj
= Py_None
;
9070 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxGrid
*arg1
= (wxGrid
*) 0 ;
9075 wxGridCellCoords result
;
9076 PyObject
* obj0
= 0 ;
9077 PyObject
* obj1
= 0 ;
9078 PyObject
* obj2
= 0 ;
9080 (char *) "self",(char *) "x",(char *) "y", NULL
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9086 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9090 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9101 wxGridCellCoords
* resultptr
;
9102 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9103 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
9111 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxGrid
*arg1
= (wxGrid
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9119 (char *) "self",(char *) "y", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9125 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (int)(arg1
)->YToRow(arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_PyObj_FromInt((int)result
);
9142 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxGrid
*arg1
= (wxGrid
*) 0 ;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj1
= 0 ;
9150 (char *) "self",(char *) "x", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9156 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (int)(arg1
)->XToCol(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= SWIG_PyObj_FromInt((int)result
);
9173 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxGrid
*arg1
= (wxGrid
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9181 (char *) "self",(char *) "y", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9187 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_PyObj_FromInt((int)result
);
9204 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxGrid
*arg1
= (wxGrid
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9212 (char *) "self",(char *) "x", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_PyObj_FromInt((int)result
);
9235 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxGrid
*arg1
= (wxGrid
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9243 PyObject
* obj2
= 0 ;
9245 (char *) "self",(char *) "row",(char *) "col", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9251 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (arg1
)->CellToRect(arg2
,arg3
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9267 resultptr
= new wxRect((wxRect
&) result
);
9268 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
9276 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
;
9278 wxGrid
*arg1
= (wxGrid
*) 0 ;
9280 PyObject
* obj0
= 0 ;
9282 (char *) "self", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (int)(arg1
)->GetGridCursorRow();
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_PyObj_FromInt((int)result
);
9301 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxGrid
*arg1
= (wxGrid
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= (int)(arg1
)->GetGridCursorCol();
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= SWIG_PyObj_FromInt((int)result
);
9326 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxGrid
*arg1
= (wxGrid
*) 0 ;
9331 bool arg4
= (bool) True
;
9333 PyObject
* obj0
= 0 ;
9334 PyObject
* obj1
= 0 ;
9335 PyObject
* obj2
= 0 ;
9336 PyObject
* obj3
= 0 ;
9338 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9344 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9353 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9371 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxGrid
*arg1
= (wxGrid
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9380 (char *) "self",(char *) "row",(char *) "col", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9390 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 (arg1
)->MakeCellVisible(arg2
,arg3
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 Py_INCREF(Py_None
); resultobj
= Py_None
;
9407 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxGrid
*arg1
= (wxGrid
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 PyObject
* obj2
= 0 ;
9416 (char *) "self",(char *) "row",(char *) "col", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9422 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 (arg1
)->SetGridCursor(arg2
,arg3
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxGrid
*arg1
= (wxGrid
*) 0 ;
9448 PyObject
* obj0
= 0 ;
9449 PyObject
* obj1
= 0 ;
9451 (char *) "self",(char *) "expandSelection", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9457 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9474 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxGrid
*arg1
= (wxGrid
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9482 (char *) "self",(char *) "expandSelection", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9488 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9505 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxGrid
*arg1
= (wxGrid
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9513 (char *) "self",(char *) "expandSelection", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9519 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9536 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxGrid
*arg1
= (wxGrid
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9544 (char *) "self",(char *) "expandSelection", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9550 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9567 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxGrid
*arg1
= (wxGrid
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9573 (char *) "self", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (bool)(arg1
)->MovePageDown();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9592 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxGrid
*arg1
= (wxGrid
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "self", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (bool)(arg1
)->MovePageUp();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9617 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxGrid
*arg1
= (wxGrid
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9623 PyObject
* obj1
= 0 ;
9625 (char *) "self",(char *) "expandSelection", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9631 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9648 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
*resultobj
;
9650 wxGrid
*arg1
= (wxGrid
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9656 (char *) "self",(char *) "expandSelection", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9662 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9679 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxGrid
*arg1
= (wxGrid
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9687 (char *) "self",(char *) "expandSelection", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9693 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxGrid
*arg1
= (wxGrid
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9718 (char *) "self",(char *) "expandSelection", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9724 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9741 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxGrid
*arg1
= (wxGrid
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
9751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (int)(arg1
)->GetDefaultRowLabelSize();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_PyObj_FromInt((int)result
);
9766 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxGrid
*arg1
= (wxGrid
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9772 (char *) "self", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (int)(arg1
)->GetRowLabelSize();
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= SWIG_PyObj_FromInt((int)result
);
9791 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxGrid
*arg1
= (wxGrid
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9797 (char *) "self", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
9801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (int)(arg1
)->GetDefaultColLabelSize();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_PyObj_FromInt((int)result
);
9816 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxGrid
*arg1
= (wxGrid
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "self", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 result
= (int)(arg1
)->GetColLabelSize();
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 resultobj
= SWIG_PyObj_FromInt((int)result
);
9841 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxGrid
*arg1
= (wxGrid
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9847 (char *) "self", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
9851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (arg1
)->GetLabelBackgroundColour();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 wxColour
* resultptr
;
9861 resultptr
= new wxColour((wxColour
&) result
);
9862 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9870 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxGrid
*arg1
= (wxGrid
*) 0 ;
9874 PyObject
* obj0
= 0 ;
9876 (char *) "self", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
9880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (arg1
)->GetLabelTextColour();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9889 wxColour
* resultptr
;
9890 resultptr
= new wxColour((wxColour
&) result
);
9891 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9899 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxGrid
*arg1
= (wxGrid
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (arg1
)->GetLabelFont();
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9919 resultptr
= new wxFont((wxFont
&) result
);
9920 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
9928 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxGrid
*arg1
= (wxGrid
*) 0 ;
9931 int *arg2
= (int *) 0 ;
9932 int *arg3
= (int *) 0 ;
9935 PyObject
* obj0
= 0 ;
9937 (char *) "self", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 Py_INCREF(Py_None
); resultobj
= Py_None
;
9953 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9954 resultobj
= t_output_helper(resultobj
,o
);
9957 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9958 resultobj
= t_output_helper(resultobj
,o
);
9966 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxGrid
*arg1
= (wxGrid
*) 0 ;
9969 int *arg2
= (int *) 0 ;
9970 int *arg3
= (int *) 0 ;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "self", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9989 Py_INCREF(Py_None
); resultobj
= Py_None
;
9991 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9992 resultobj
= t_output_helper(resultobj
,o
);
9995 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9996 resultobj
= t_output_helper(resultobj
,o
);
10004 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxGrid
*arg1
= (wxGrid
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (int)(arg1
)->GetColLabelTextOrientation();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_PyObj_FromInt((int)result
);
10029 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxGrid
*arg1
= (wxGrid
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self",(char *) "row", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (arg1
)->GetRowLabelValue(arg2
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10066 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxGrid
*arg1
= (wxGrid
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 PyObject
* obj1
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self",(char *) "col", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10080 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (arg1
)->GetColLabelValue(arg2
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10103 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxGrid
*arg1
= (wxGrid
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (arg1
)->GetGridLineColour();
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10122 wxColour
* resultptr
;
10123 resultptr
= new wxColour((wxColour
&) result
);
10124 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10132 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxGrid
*arg1
= (wxGrid
*) 0 ;
10136 PyObject
* obj0
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (arg1
)->GetCellHighlightColour();
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10151 wxColour
* resultptr
;
10152 resultptr
= new wxColour((wxColour
&) result
);
10153 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10161 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxGrid
*arg1
= (wxGrid
*) 0 ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_PyObj_FromInt((int)result
);
10186 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxGrid
*arg1
= (wxGrid
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_PyObj_FromInt((int)result
);
10211 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxGrid
*arg1
= (wxGrid
*) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 PyObject
* obj1
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self",(char *) "width", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10224 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 (arg1
)->SetRowLabelSize(arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 Py_INCREF(Py_None
); resultobj
= Py_None
;
10241 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxGrid
*arg1
= (wxGrid
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self",(char *) "height", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10254 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 (arg1
)->SetColLabelSize(arg2
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 Py_INCREF(Py_None
); resultobj
= Py_None
;
10271 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10273 wxGrid
*arg1
= (wxGrid
*) 0 ;
10274 wxColour
*arg2
= 0 ;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self","arg2", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10286 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 Py_INCREF(Py_None
); resultobj
= Py_None
;
10302 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxGrid
*arg1
= (wxGrid
*) 0 ;
10305 wxColour
*arg2
= 0 ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self","arg2", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10317 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 Py_INCREF(Py_None
); resultobj
= Py_None
;
10333 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxGrid
*arg1
= (wxGrid
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self","arg2", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10346 if (arg2
== NULL
) {
10347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 Py_INCREF(Py_None
); resultobj
= Py_None
;
10363 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxGrid
*arg1
= (wxGrid
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 PyObject
* obj2
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10378 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxGrid
*arg1
= (wxGrid
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10406 PyObject
* obj2
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10414 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10418 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 Py_INCREF(Py_None
); resultobj
= Py_None
;
10435 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxGrid
*arg1
= (wxGrid
*) 0 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self",(char *) "textOrientation", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10448 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 (arg1
)->SetColLabelTextOrientation(arg2
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 Py_INCREF(Py_None
); resultobj
= Py_None
;
10465 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxGrid
*arg1
= (wxGrid
*) 0 ;
10469 wxString
*arg3
= 0 ;
10470 bool temp3
= False
;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 PyObject
* obj2
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self",(char *) "row","arg3", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10481 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10485 arg3
= wxString_in_helper(obj2
);
10486 if (arg3
== NULL
) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 Py_INCREF(Py_None
); resultobj
= Py_None
;
10511 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxGrid
*arg1
= (wxGrid
*) 0 ;
10515 wxString
*arg3
= 0 ;
10516 bool temp3
= False
;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 PyObject
* obj2
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self",(char *) "col","arg3", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10527 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10531 arg3
= wxString_in_helper(obj2
);
10532 if (arg3
== NULL
) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10557 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
;
10559 wxGrid
*arg1
= (wxGrid
*) 0 ;
10560 wxColour
*arg2
= 0 ;
10562 PyObject
* obj0
= 0 ;
10563 PyObject
* obj1
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self","arg2", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 Py_INCREF(Py_None
); resultobj
= Py_None
;
10588 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
;
10590 wxGrid
*arg1
= (wxGrid
*) 0 ;
10591 wxColour
*arg2
= 0 ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self","arg2", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10603 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 Py_INCREF(Py_None
); resultobj
= Py_None
;
10619 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxGrid
*arg1
= (wxGrid
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self",(char *) "width", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10632 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 (arg1
)->SetCellHighlightPenWidth(arg2
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 Py_INCREF(Py_None
); resultobj
= Py_None
;
10649 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxGrid
*arg1
= (wxGrid
*) 0 ;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 char *kwnames
[] = {
10656 (char *) "self",(char *) "width", NULL
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 Py_INCREF(Py_None
); resultobj
= Py_None
;
10679 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxGrid
*arg1
= (wxGrid
*) 0 ;
10682 bool arg2
= (bool) True
;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "enable", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10693 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 (arg1
)->EnableDragRowSize(arg2
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxGrid
*arg1
= (wxGrid
*) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
10720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 (arg1
)->DisableDragRowSize();
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 Py_INCREF(Py_None
); resultobj
= Py_None
;
10735 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxGrid
*arg1
= (wxGrid
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
10745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (bool)(arg1
)->CanDragRowSize();
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10760 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxGrid
*arg1
= (wxGrid
*) 0 ;
10763 bool arg2
= (bool) True
;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self",(char *) "enable", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10774 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 (arg1
)->EnableDragColSize(arg2
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 Py_INCREF(Py_None
); resultobj
= Py_None
;
10792 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxGrid
*arg1
= (wxGrid
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 (arg1
)->DisableDragColSize();
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 Py_INCREF(Py_None
); resultobj
= Py_None
;
10816 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxGrid
*arg1
= (wxGrid
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= (bool)(arg1
)->CanDragColSize();
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10841 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxGrid
*arg1
= (wxGrid
*) 0 ;
10844 bool arg2
= (bool) True
;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self",(char *) "enable", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10855 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 (arg1
)->EnableDragGridSize(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10873 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxGrid
*arg1
= (wxGrid
*) 0 ;
10876 PyObject
* obj0
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 (arg1
)->DisableDragGridSize();
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 Py_INCREF(Py_None
); resultobj
= Py_None
;
10897 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxGrid
*arg1
= (wxGrid
*) 0 ;
10901 PyObject
* obj0
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
10907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (bool)(arg1
)->CanDragGridSize();
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10922 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxGrid
*arg1
= (wxGrid
*) 0 ;
10927 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 PyObject
* obj3
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10939 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10943 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 Py_INCREF(Py_None
); resultobj
= Py_None
;
10961 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxGrid
*arg1
= (wxGrid
*) 0 ;
10965 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 PyObject
* obj2
= 0 ;
10969 char *kwnames
[] = {
10970 (char *) "self",(char *) "row",(char *) "attr", NULL
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10976 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 (arg1
)->SetRowAttr(arg2
,arg3
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 Py_INCREF(Py_None
); resultobj
= Py_None
;
10994 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxGrid
*arg1
= (wxGrid
*) 0 ;
10998 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 PyObject
* obj2
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "self",(char *) "col",(char *) "attr", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11009 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 (arg1
)->SetColAttr(arg2
,arg3
);
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 Py_INCREF(Py_None
); resultobj
= Py_None
;
11027 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxGrid
*arg1
= (wxGrid
*) 0 ;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "col", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11040 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 (arg1
)->SetColFormatBool(arg2
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxGrid
*arg1
= (wxGrid
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "col", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11070 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 (arg1
)->SetColFormatNumber(arg2
);
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 Py_INCREF(Py_None
); resultobj
= Py_None
;
11087 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
;
11089 wxGrid
*arg1
= (wxGrid
*) 0 ;
11091 int arg3
= (int) -1 ;
11092 int arg4
= (int) -1 ;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 PyObject
* obj2
= 0 ;
11096 PyObject
* obj3
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11104 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11109 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11115 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 Py_INCREF(Py_None
); resultobj
= Py_None
;
11133 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxGrid
*arg1
= (wxGrid
*) 0 ;
11137 wxString
*arg3
= 0 ;
11138 bool temp3
= False
;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 PyObject
* obj2
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self",(char *) "col",(char *) "typeName", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11149 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 arg3
= wxString_in_helper(obj2
);
11154 if (arg3
== NULL
) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 Py_INCREF(Py_None
); resultobj
= Py_None
;
11179 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxGrid
*arg1
= (wxGrid
*) 0 ;
11182 bool arg2
= (bool) True
;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self",(char *) "enable", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11193 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 (arg1
)->EnableGridLines(arg2
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 Py_INCREF(Py_None
); resultobj
= Py_None
;
11211 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxGrid
*arg1
= (wxGrid
*) 0 ;
11215 PyObject
* obj0
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (bool)(arg1
)->GridLinesEnabled();
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11236 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxGrid
*arg1
= (wxGrid
*) 0 ;
11240 PyObject
* obj0
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "self", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= (int)(arg1
)->GetDefaultRowSize();
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_PyObj_FromInt((int)result
);
11261 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
;
11263 wxGrid
*arg1
= (wxGrid
*) 0 ;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "self",(char *) "row", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11275 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (int)(arg1
)->GetRowSize(arg2
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_PyObj_FromInt((int)result
);
11292 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxGrid
*arg1
= (wxGrid
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (int)(arg1
)->GetDefaultColSize();
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_PyObj_FromInt((int)result
);
11317 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxGrid
*arg1
= (wxGrid
*) 0 ;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "col", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11331 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (int)(arg1
)->GetColSize(arg2
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_PyObj_FromInt((int)result
);
11348 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxGrid
*arg1
= (wxGrid
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (arg1
)->GetDefaultCellBackgroundColour();
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11367 wxColour
* resultptr
;
11368 resultptr
= new wxColour((wxColour
&) result
);
11369 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11377 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxGrid
*arg1
= (wxGrid
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self",(char *) "row",(char *) "col", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11393 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11397 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 wxColour
* resultptr
;
11409 resultptr
= new wxColour((wxColour
&) result
);
11410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11418 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxGrid
*arg1
= (wxGrid
*) 0 ;
11422 PyObject
* obj0
= 0 ;
11423 char *kwnames
[] = {
11424 (char *) "self", NULL
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (arg1
)->GetDefaultCellTextColour();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 wxColour
* resultptr
;
11438 resultptr
= new wxColour((wxColour
&) result
);
11439 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11447 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxGrid
*arg1
= (wxGrid
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 PyObject
* obj2
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "row",(char *) "col", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11463 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11467 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 wxColour
* resultptr
;
11479 resultptr
= new wxColour((wxColour
&) result
);
11480 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11488 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
;
11490 wxGrid
*arg1
= (wxGrid
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (arg1
)->GetDefaultCellFont();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11507 wxFont
* resultptr
;
11508 resultptr
= new wxFont((wxFont
&) result
);
11509 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11517 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxGrid
*arg1
= (wxGrid
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "row",(char *) "col", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11533 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11548 wxFont
* resultptr
;
11549 resultptr
= new wxFont((wxFont
&) result
);
11550 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11558 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxGrid
*arg1
= (wxGrid
*) 0 ;
11561 int *arg2
= (int *) 0 ;
11562 int *arg3
= (int *) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self", NULL
11572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 Py_INCREF(Py_None
); resultobj
= Py_None
;
11583 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11584 resultobj
= t_output_helper(resultobj
,o
);
11587 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11588 resultobj
= t_output_helper(resultobj
,o
);
11596 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxGrid
*arg1
= (wxGrid
*) 0 ;
11601 int *arg4
= (int *) 0 ;
11602 int *arg5
= (int *) 0 ;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 PyObject
* obj2
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "row",(char *) "col", NULL
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11621 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 Py_INCREF(Py_None
); resultobj
= Py_None
;
11633 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11634 resultobj
= t_output_helper(resultobj
,o
);
11637 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11638 resultobj
= t_output_helper(resultobj
,o
);
11646 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11647 PyObject
*resultobj
;
11648 wxGrid
*arg1
= (wxGrid
*) 0 ;
11650 PyObject
* obj0
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
11656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (bool)(arg1
)->GetDefaultCellOverflow();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11671 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxGrid
*arg1
= (wxGrid
*) 0 ;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 PyObject
* obj2
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "row",(char *) "col", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11687 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11691 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11708 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxGrid
*arg1
= (wxGrid
*) 0 ;
11713 int *arg4
= (int *) 0 ;
11714 int *arg5
= (int *) 0 ;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 PyObject
* obj2
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self",(char *) "row",(char *) "col", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11729 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 Py_INCREF(Py_None
); resultobj
= Py_None
;
11745 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11746 resultobj
= t_output_helper(resultobj
,o
);
11749 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11750 resultobj
= t_output_helper(resultobj
,o
);
11758 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxGrid
*arg1
= (wxGrid
*) 0 ;
11762 bool arg3
= (bool) False
;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 PyObject
* obj2
= 0 ;
11766 char *kwnames
[] = {
11767 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11773 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11778 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 Py_INCREF(Py_None
); resultobj
= Py_None
;
11796 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxGrid
*arg1
= (wxGrid
*) 0 ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 PyObject
* obj2
= 0 ;
11804 char *kwnames
[] = {
11805 (char *) "self",(char *) "row",(char *) "height", NULL
11808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11811 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11815 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 (arg1
)->SetRowSize(arg2
,arg3
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 Py_INCREF(Py_None
); resultobj
= Py_None
;
11832 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxGrid
*arg1
= (wxGrid
*) 0 ;
11836 bool arg3
= (bool) False
;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 PyObject
* obj2
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11847 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11852 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 (arg1
)->SetDefaultColSize(arg2
,arg3
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 Py_INCREF(Py_None
); resultobj
= Py_None
;
11870 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
;
11872 wxGrid
*arg1
= (wxGrid
*) 0 ;
11875 PyObject
* obj0
= 0 ;
11876 PyObject
* obj1
= 0 ;
11877 PyObject
* obj2
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self",(char *) "col",(char *) "width", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11885 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11889 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetColSize(arg2
,arg3
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 Py_INCREF(Py_None
); resultobj
= Py_None
;
11906 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxGrid
*arg1
= (wxGrid
*) 0 ;
11910 bool arg3
= (bool) True
;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 PyObject
* obj2
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11921 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11926 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 (arg1
)->AutoSizeColumn(arg2
,arg3
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 Py_INCREF(Py_None
); resultobj
= Py_None
;
11944 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxGrid
*arg1
= (wxGrid
*) 0 ;
11948 bool arg3
= (bool) True
;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 PyObject
* obj2
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11959 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11964 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->AutoSizeRow(arg2
,arg3
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 Py_INCREF(Py_None
); resultobj
= Py_None
;
11982 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxGrid
*arg1
= (wxGrid
*) 0 ;
11985 bool arg2
= (bool) True
;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "setAsMin", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11996 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 (arg1
)->AutoSizeColumns(arg2
);
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12007 Py_INCREF(Py_None
); resultobj
= Py_None
;
12014 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxGrid
*arg1
= (wxGrid
*) 0 ;
12017 bool arg2
= (bool) True
;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self",(char *) "setAsMin", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12028 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 (arg1
)->AutoSizeRows(arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 Py_INCREF(Py_None
); resultobj
= Py_None
;
12046 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxGrid
*arg1
= (wxGrid
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 (arg1
)->AutoSize();
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 Py_INCREF(Py_None
); resultobj
= Py_None
;
12070 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxGrid
*arg1
= (wxGrid
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 PyObject
* obj1
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "row", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 (arg1
)->AutoSizeRowLabelSize(arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 Py_INCREF(Py_None
); resultobj
= Py_None
;
12100 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxGrid
*arg1
= (wxGrid
*) 0 ;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self",(char *) "col", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12113 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 (arg1
)->AutoSizeColLabelSize(arg2
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 Py_INCREF(Py_None
); resultobj
= Py_None
;
12130 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxGrid
*arg1
= (wxGrid
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 PyObject
* obj2
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "col",(char *) "width", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12145 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12166 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxGrid
*arg1
= (wxGrid
*) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 PyObject
* obj1
= 0 ;
12173 PyObject
* obj2
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "row",(char *) "width", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 Py_INCREF(Py_None
); resultobj
= Py_None
;
12202 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxGrid
*arg1
= (wxGrid
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 PyObject
* obj1
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self",(char *) "width", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12215 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 Py_INCREF(Py_None
); resultobj
= Py_None
;
12232 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxGrid
*arg1
= (wxGrid
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "width", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 Py_INCREF(Py_None
); resultobj
= Py_None
;
12262 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxGrid
*arg1
= (wxGrid
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= SWIG_PyObj_FromInt((int)result
);
12287 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxGrid
*arg1
= (wxGrid
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_PyObj_FromInt((int)result
);
12312 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxGrid
*arg1
= (wxGrid
*) 0 ;
12315 wxColour
*arg2
= 0 ;
12317 PyObject
* obj0
= 0 ;
12318 PyObject
* obj1
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "self","arg2", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 Py_INCREF(Py_None
); resultobj
= Py_None
;
12343 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxGrid
*arg1
= (wxGrid
*) 0 ;
12348 wxColour
*arg4
= 0 ;
12350 PyObject
* obj0
= 0 ;
12351 PyObject
* obj1
= 0 ;
12352 PyObject
* obj2
= 0 ;
12353 PyObject
* obj3
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12361 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12370 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 Py_INCREF(Py_None
); resultobj
= Py_None
;
12386 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxGrid
*arg1
= (wxGrid
*) 0 ;
12389 wxColour
*arg2
= 0 ;
12391 PyObject
* obj0
= 0 ;
12392 PyObject
* obj1
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self","arg2", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 Py_INCREF(Py_None
); resultobj
= Py_None
;
12417 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxGrid
*arg1
= (wxGrid
*) 0 ;
12422 wxColour
*arg4
= 0 ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 PyObject
* obj2
= 0 ;
12427 PyObject
* obj3
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12435 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12439 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12444 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxGrid
*arg1
= (wxGrid
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self","arg2", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12473 if (arg2
== NULL
) {
12474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 Py_INCREF(Py_None
); resultobj
= Py_None
;
12490 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxGrid
*arg1
= (wxGrid
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 PyObject
* obj2
= 0 ;
12499 PyObject
* obj3
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12507 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12515 if (arg4
== NULL
) {
12516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 Py_INCREF(Py_None
); resultobj
= Py_None
;
12532 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxGrid
*arg1
= (wxGrid
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 PyObject
* obj1
= 0 ;
12539 PyObject
* obj2
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12547 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12551 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 Py_INCREF(Py_None
); resultobj
= Py_None
;
12568 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxGrid
*arg1
= (wxGrid
*) 0 ;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 PyObject
* obj2
= 0 ;
12578 PyObject
* obj3
= 0 ;
12579 PyObject
* obj4
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12587 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12591 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 Py_INCREF(Py_None
); resultobj
= Py_None
;
12616 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxGrid
*arg1
= (wxGrid
*) 0 ;
12620 PyObject
* obj0
= 0 ;
12621 PyObject
* obj1
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self",(char *) "allow", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12629 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetDefaultCellOverflow(arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 Py_INCREF(Py_None
); resultobj
= Py_None
;
12646 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxGrid
*arg1
= (wxGrid
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 PyObject
* obj2
= 0 ;
12655 PyObject
* obj3
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12663 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12667 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12671 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 Py_INCREF(Py_None
); resultobj
= Py_None
;
12688 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxGrid
*arg1
= (wxGrid
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 PyObject
* obj2
= 0 ;
12698 PyObject
* obj3
= 0 ;
12699 PyObject
* obj4
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12707 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12711 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12719 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 Py_INCREF(Py_None
); resultobj
= Py_None
;
12736 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxGrid
*arg1
= (wxGrid
*) 0 ;
12739 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self",(char *) "renderer", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 (arg1
)->SetDefaultRenderer(arg2
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 Py_INCREF(Py_None
); resultobj
= Py_None
;
12763 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxGrid
*arg1
= (wxGrid
*) 0 ;
12768 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 PyObject
* obj1
= 0 ;
12771 PyObject
* obj2
= 0 ;
12772 PyObject
* obj3
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12780 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12784 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 Py_INCREF(Py_None
); resultobj
= Py_None
;
12802 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxGrid
*arg1
= (wxGrid
*) 0 ;
12805 wxGridCellRenderer
*result
;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12829 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxGrid
*arg1
= (wxGrid
*) 0 ;
12834 wxGridCellRenderer
*result
;
12835 PyObject
* obj0
= 0 ;
12836 PyObject
* obj1
= 0 ;
12837 PyObject
* obj2
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "row",(char *) "col", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12845 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12868 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxGrid
*arg1
= (wxGrid
*) 0 ;
12871 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self",(char *) "editor", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 (arg1
)->SetDefaultEditor(arg2
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 Py_INCREF(Py_None
); resultobj
= Py_None
;
12895 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
;
12897 wxGrid
*arg1
= (wxGrid
*) 0 ;
12900 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 PyObject
* obj1
= 0 ;
12903 PyObject
* obj2
= 0 ;
12904 PyObject
* obj3
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12912 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12916 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 Py_INCREF(Py_None
); resultobj
= Py_None
;
12934 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxGrid
*arg1
= (wxGrid
*) 0 ;
12937 wxGridCellEditor
*result
;
12938 PyObject
* obj0
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= wxPyMake_wxGridCellEditor(result
);
12961 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxGrid
*arg1
= (wxGrid
*) 0 ;
12966 wxGridCellEditor
*result
;
12967 PyObject
* obj0
= 0 ;
12968 PyObject
* obj1
= 0 ;
12969 PyObject
* obj2
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self",(char *) "row",(char *) "col", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12977 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= wxPyMake_wxGridCellEditor(result
);
13000 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxGrid
*arg1
= (wxGrid
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 PyObject
* obj2
= 0 ;
13009 char *kwnames
[] = {
13010 (char *) "self",(char *) "row",(char *) "col", NULL
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13016 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13020 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13043 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxGrid
*arg1
= (wxGrid
*) 0 ;
13048 wxString
*arg4
= 0 ;
13049 bool temp4
= False
;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 PyObject
* obj2
= 0 ;
13053 PyObject
* obj3
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13061 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13065 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13069 arg4
= wxString_in_helper(obj3
);
13070 if (arg4
== NULL
) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 Py_INCREF(Py_None
); resultobj
= Py_None
;
13095 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxGrid
*arg1
= (wxGrid
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 PyObject
* obj2
= 0 ;
13104 char *kwnames
[] = {
13105 (char *) "self",(char *) "row",(char *) "col", NULL
13108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13111 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13132 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxGrid
*arg1
= (wxGrid
*) 0 ;
13137 bool arg4
= (bool) True
;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 PyObject
* obj2
= 0 ;
13141 PyObject
* obj3
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13149 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13153 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13158 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 Py_INCREF(Py_None
); resultobj
= Py_None
;
13176 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxGrid
*arg1
= (wxGrid
*) 0 ;
13180 bool arg3
= (bool) False
;
13181 PyObject
* obj0
= 0 ;
13182 PyObject
* obj1
= 0 ;
13183 PyObject
* obj2
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13191 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13196 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->SelectRow(arg2
,arg3
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxGrid
*arg1
= (wxGrid
*) 0 ;
13218 bool arg3
= (bool) False
;
13219 PyObject
* obj0
= 0 ;
13220 PyObject
* obj1
= 0 ;
13221 PyObject
* obj2
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13229 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13234 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 (arg1
)->SelectCol(arg2
,arg3
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 Py_INCREF(Py_None
); resultobj
= Py_None
;
13252 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
;
13254 wxGrid
*arg1
= (wxGrid
*) 0 ;
13259 bool arg6
= (bool) False
;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 PyObject
* obj2
= 0 ;
13263 PyObject
* obj3
= 0 ;
13264 PyObject
* obj4
= 0 ;
13265 PyObject
* obj5
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13273 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13277 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13281 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13285 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13290 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 Py_INCREF(Py_None
); resultobj
= Py_None
;
13308 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxGrid
*arg1
= (wxGrid
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 (arg1
)->SelectAll();
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 Py_INCREF(Py_None
); resultobj
= Py_None
;
13332 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
;
13334 wxGrid
*arg1
= (wxGrid
*) 0 ;
13336 PyObject
* obj0
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (bool)(arg1
)->IsSelection();
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13357 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxGrid
*arg1
= (wxGrid
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 (arg1
)->ClearSelection();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 Py_INCREF(Py_None
); resultobj
= Py_None
;
13381 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxGrid
*arg1
= (wxGrid
*) 0 ;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 PyObject
* obj2
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "row",(char *) "col", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13418 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxGrid
*arg1
= (wxGrid
*) 0 ;
13421 wxGridCellCoordsArray result
;
13422 PyObject
* obj0
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= wxGridCellCoordsArray_helper(result
);
13445 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxGrid
*arg1
= (wxGrid
*) 0 ;
13448 wxGridCellCoordsArray result
;
13449 PyObject
* obj0
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= wxGridCellCoordsArray_helper(result
);
13472 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxGrid
*arg1
= (wxGrid
*) 0 ;
13475 wxGridCellCoordsArray result
;
13476 PyObject
* obj0
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= wxGridCellCoordsArray_helper(result
);
13499 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxGrid
*arg1
= (wxGrid
*) 0 ;
13503 PyObject
* obj0
= 0 ;
13504 char *kwnames
[] = {
13505 (char *) "self", NULL
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= PyList_New(0);
13520 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13521 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13522 PyList_Append(resultobj
, val
);
13532 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxGrid
*arg1
= (wxGrid
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= PyList_New(0);
13553 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13554 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13555 PyList_Append(resultobj
, val
);
13565 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxGrid
*arg1
= (wxGrid
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 char *kwnames
[] = {
13572 (char *) "self",(char *) "row", NULL
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13578 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13583 (arg1
)->DeselectRow(arg2
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 Py_INCREF(Py_None
); resultobj
= Py_None
;
13595 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxGrid
*arg1
= (wxGrid
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self",(char *) "col", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13608 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 (arg1
)->DeselectCol(arg2
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 Py_INCREF(Py_None
); resultobj
= Py_None
;
13625 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxGrid
*arg1
= (wxGrid
*) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 PyObject
* obj1
= 0 ;
13632 PyObject
* obj2
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "self",(char *) "row",(char *) "col", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13640 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13644 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 (arg1
)->DeselectCell(arg2
,arg3
);
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 Py_INCREF(Py_None
); resultobj
= Py_None
;
13661 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
;
13663 wxGrid
*arg1
= (wxGrid
*) 0 ;
13664 wxGridCellCoords
*arg2
= 0 ;
13665 wxGridCellCoords
*arg3
= 0 ;
13667 wxGridCellCoords temp2
;
13668 wxGridCellCoords temp3
;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 PyObject
* obj2
= 0 ;
13672 char *kwnames
[] = {
13673 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13680 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
13684 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13694 wxRect
* resultptr
;
13695 resultptr
= new wxRect((wxRect
&) result
);
13696 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
13704 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxGrid
*arg1
= (wxGrid
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13723 wxColour
* resultptr
;
13724 resultptr
= new wxColour((wxColour
&) result
);
13725 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
13733 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxGrid
*arg1
= (wxGrid
*) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 wxColour
* resultptr
;
13753 resultptr
= new wxColour((wxColour
&) result
);
13754 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
13762 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxGrid
*arg1
= (wxGrid
*) 0 ;
13765 wxColour
*arg2
= 0 ;
13767 PyObject
* obj0
= 0 ;
13768 PyObject
* obj1
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self",(char *) "c", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13777 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 Py_INCREF(Py_None
); resultobj
= Py_None
;
13793 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxGrid
*arg1
= (wxGrid
*) 0 ;
13796 wxColour
*arg2
= 0 ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self",(char *) "c", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 Py_INCREF(Py_None
); resultobj
= Py_None
;
13824 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
;
13826 wxGrid
*arg1
= (wxGrid
*) 0 ;
13827 wxString
*arg2
= 0 ;
13828 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
13829 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13830 bool temp2
= False
;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 PyObject
* obj2
= 0 ;
13834 PyObject
* obj3
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13842 arg2
= wxString_in_helper(obj1
);
13843 if (arg2
== NULL
) SWIG_fail
;
13846 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13847 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 Py_INCREF(Py_None
); resultobj
= Py_None
;
13870 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 wxGrid
*arg1
= (wxGrid
*) 0 ;
13875 wxGridCellEditor
*result
;
13876 PyObject
* obj0
= 0 ;
13877 PyObject
* obj1
= 0 ;
13878 PyObject
* obj2
= 0 ;
13879 char *kwnames
[] = {
13880 (char *) "self",(char *) "row",(char *) "col", NULL
13883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13886 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13890 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= wxPyMake_wxGridCellEditor(result
);
13909 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxGrid
*arg1
= (wxGrid
*) 0 ;
13914 wxGridCellRenderer
*result
;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 PyObject
* obj2
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "row",(char *) "col", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13929 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13948 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxGrid
*arg1
= (wxGrid
*) 0 ;
13951 wxString
*arg2
= 0 ;
13952 wxGridCellEditor
*result
;
13953 bool temp2
= False
;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 char *kwnames
[] = {
13957 (char *) "self",(char *) "typeName", NULL
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
13961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13963 arg2
= wxString_in_helper(obj1
);
13964 if (arg2
== NULL
) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= wxPyMake_wxGridCellEditor(result
);
13991 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxGrid
*arg1
= (wxGrid
*) 0 ;
13994 wxString
*arg2
= 0 ;
13995 wxGridCellRenderer
*result
;
13996 bool temp2
= False
;
13997 PyObject
* obj0
= 0 ;
13998 PyObject
* obj1
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self",(char *) "typeName", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14006 arg2
= wxString_in_helper(obj1
);
14007 if (arg2
== NULL
) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14034 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxGrid
*arg1
= (wxGrid
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 PyObject
* obj2
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14053 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 (arg1
)->SetMargins(arg2
,arg3
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 Py_INCREF(Py_None
); resultobj
= Py_None
;
14070 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxGrid
*arg1
= (wxGrid
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= wxPyMake_wxObject(result
);
14097 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxGrid
*arg1
= (wxGrid
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= wxPyMake_wxObject(result
);
14124 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxGrid
*arg1
= (wxGrid
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= wxPyMake_wxObject(result
);
14151 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxGrid
*arg1
= (wxGrid
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self", NULL
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= wxPyMake_wxObject(result
);
14178 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
14180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14181 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14183 return Py_BuildValue((char *)"");
14185 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14189 wxGrid
*arg3
= (wxGrid
*) 0 ;
14190 int arg4
= (int) -1 ;
14191 int arg5
= (int) -1 ;
14192 int arg6
= (int) -1 ;
14193 int arg7
= (int) -1 ;
14194 bool arg8
= (bool) True
;
14195 bool arg9
= (bool) False
;
14196 bool arg10
= (bool) False
;
14197 bool arg11
= (bool) False
;
14198 bool arg12
= (bool) False
;
14199 wxGridEvent
*result
;
14200 PyObject
* obj0
= 0 ;
14201 PyObject
* obj1
= 0 ;
14202 PyObject
* obj2
= 0 ;
14203 PyObject
* obj3
= 0 ;
14204 PyObject
* obj4
= 0 ;
14205 PyObject
* obj5
= 0 ;
14206 PyObject
* obj6
= 0 ;
14207 PyObject
* obj7
= 0 ;
14208 PyObject
* obj8
= 0 ;
14209 PyObject
* obj9
= 0 ;
14210 PyObject
* obj10
= 0 ;
14211 PyObject
* obj11
= 0 ;
14212 char *kwnames
[] = {
14213 (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
14216 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
;
14218 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14228 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14234 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14240 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14246 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14252 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14258 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14264 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14270 arg11
= (bool) SWIG_PyObj_AsBool(obj10
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14276 arg12
= (bool) SWIG_PyObj_AsBool(obj11
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEvent
, 1);
14294 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (int)(arg1
)->GetRow();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= SWIG_PyObj_FromInt((int)result
);
14319 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (int)(arg1
)->GetCol();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_PyObj_FromInt((int)result
);
14344 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (arg1
)->GetPosition();
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 wxPoint
* resultptr
;
14364 resultptr
= new wxPoint((wxPoint
&) result
);
14365 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14373 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (bool)(arg1
)->Selecting();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14398 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (bool)(arg1
)->ControlDown();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14423 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)(arg1
)->MetaDown();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14448 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (bool)(arg1
)->ShiftDown();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14473 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14477 PyObject
* obj0
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (bool)(arg1
)->AltDown();
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14501 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14503 return Py_BuildValue((char *)"");
14505 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14506 PyObject
*resultobj
;
14509 wxGrid
*arg3
= (wxGrid
*) 0 ;
14510 int arg4
= (int) -1 ;
14511 int arg5
= (int) -1 ;
14512 int arg6
= (int) -1 ;
14513 bool arg7
= (bool) False
;
14514 bool arg8
= (bool) False
;
14515 bool arg9
= (bool) False
;
14516 bool arg10
= (bool) False
;
14517 wxGridSizeEvent
*result
;
14518 PyObject
* obj0
= 0 ;
14519 PyObject
* obj1
= 0 ;
14520 PyObject
* obj2
= 0 ;
14521 PyObject
* obj3
= 0 ;
14522 PyObject
* obj4
= 0 ;
14523 PyObject
* obj5
= 0 ;
14524 PyObject
* obj6
= 0 ;
14525 PyObject
* obj7
= 0 ;
14526 PyObject
* obj8
= 0 ;
14527 PyObject
* obj9
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14534 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14544 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14550 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14556 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14562 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14568 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14574 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14580 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizeEvent
, 1);
14598 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (int)(arg1
)->GetRowOrCol();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= SWIG_PyObj_FromInt((int)result
);
14623 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14627 PyObject
* obj0
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "self", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (arg1
)->GetPosition();
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14642 wxPoint
* resultptr
;
14643 resultptr
= new wxPoint((wxPoint
&) result
);
14644 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14652 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14656 PyObject
* obj0
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "self", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (bool)(arg1
)->ControlDown();
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14677 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= (bool)(arg1
)->MetaDown();
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14702 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (bool)(arg1
)->ShiftDown();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14727 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (bool)(arg1
)->AltDown();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14752 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14755 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
14757 return Py_BuildValue((char *)"");
14759 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14763 wxGrid
*arg3
= (wxGrid
*) 0 ;
14764 wxGridCellCoords
*arg4
= 0 ;
14765 wxGridCellCoords
*arg5
= 0 ;
14766 bool arg6
= (bool) True
;
14767 bool arg7
= (bool) False
;
14768 bool arg8
= (bool) False
;
14769 bool arg9
= (bool) False
;
14770 bool arg10
= (bool) False
;
14771 wxGridRangeSelectEvent
*result
;
14772 wxGridCellCoords temp4
;
14773 wxGridCellCoords temp5
;
14774 PyObject
* obj0
= 0 ;
14775 PyObject
* obj1
= 0 ;
14776 PyObject
* obj2
= 0 ;
14777 PyObject
* obj3
= 0 ;
14778 PyObject
* obj4
= 0 ;
14779 PyObject
* obj5
= 0 ;
14780 PyObject
* obj6
= 0 ;
14781 PyObject
* obj7
= 0 ;
14782 PyObject
* obj8
= 0 ;
14783 PyObject
* obj9
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14790 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14794 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14800 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
14804 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
14808 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14814 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14820 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14826 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14832 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
14850 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14853 wxGridCellCoords result
;
14854 PyObject
* obj0
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 result
= (arg1
)->GetTopLeftCoords();
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14869 wxGridCellCoords
* resultptr
;
14870 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14871 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
14879 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14880 PyObject
*resultobj
;
14881 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14882 wxGridCellCoords result
;
14883 PyObject
* obj0
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
14889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (arg1
)->GetBottomRightCoords();
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 wxGridCellCoords
* resultptr
;
14899 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14900 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
14908 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
;
14910 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (int)(arg1
)->GetTopRow();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_PyObj_FromInt((int)result
);
14933 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (int)(arg1
)->GetBottomRow();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_PyObj_FromInt((int)result
);
14958 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (int)(arg1
)->GetLeftCol();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_PyObj_FromInt((int)result
);
14983 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 result
= (int)(arg1
)->GetRightCol();
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_PyObj_FromInt((int)result
);
15008 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 result
= (bool)(arg1
)->Selecting();
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15033 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15037 PyObject
* obj0
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (bool)(arg1
)->ControlDown();
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15058 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (bool)(arg1
)->MetaDown();
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15083 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 char *kwnames
[] = {
15089 (char *) "self", NULL
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (bool)(arg1
)->ShiftDown();
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15108 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15112 PyObject
* obj0
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (bool)(arg1
)->AltDown();
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15133 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15136 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15138 return Py_BuildValue((char *)"");
15140 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15144 wxObject
*arg3
= (wxObject
*) 0 ;
15147 wxControl
*arg6
= (wxControl
*) 0 ;
15148 wxGridEditorCreatedEvent
*result
;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 PyObject
* obj2
= 0 ;
15152 PyObject
* obj3
= 0 ;
15153 PyObject
* obj4
= 0 ;
15154 PyObject
* obj5
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15161 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15170 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15192 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (int)(arg1
)->GetRow();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_PyObj_FromInt((int)result
);
15217 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (int)(arg1
)->GetCol();
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_PyObj_FromInt((int)result
);
15242 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (wxControl
*)(arg1
)->GetControl();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= wxPyMake_wxObject(result
);
15269 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 PyObject
* obj1
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self",(char *) "row", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15282 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 (arg1
)->SetRow(arg2
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj1
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self",(char *) "col", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15312 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->SetCol(arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 Py_INCREF(Py_None
); resultobj
= Py_None
;
15329 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15332 wxControl
*arg2
= (wxControl
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "ctrl", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 (arg1
)->SetControl(arg2
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15356 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15359 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15361 return Py_BuildValue((char *)"");
15363 static PyMethodDef SwigMethods
[] = {
15364 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15365 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15366 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15367 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15368 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15369 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15370 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15371 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
15372 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15373 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15374 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15375 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
15376 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15377 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
15378 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15379 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
15380 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15381 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15382 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15383 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15384 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15385 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
15386 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15387 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
15388 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15389 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
15390 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15391 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
15392 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15393 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
15394 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15395 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15396 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15397 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15398 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15399 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15400 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15401 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15402 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15403 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15404 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15405 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15406 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15407 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15408 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15409 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15410 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15411 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15412 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15413 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15414 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15415 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15416 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
15417 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15418 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15419 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15420 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15421 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15422 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15423 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15424 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15425 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15426 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15427 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15428 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
15429 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15430 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15431 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
15432 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15433 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15434 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
15435 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15436 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15437 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
15438 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15439 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15440 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
15441 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15442 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15443 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
15444 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15445 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15446 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
15447 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15448 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15449 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
15450 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15451 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15452 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15453 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15454 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15455 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15456 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15457 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15458 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15459 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15460 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15461 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15462 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15463 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15464 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15465 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15466 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15467 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15468 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15469 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15470 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15471 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15472 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15473 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15474 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15475 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15476 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15477 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15478 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15479 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15480 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15481 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15482 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15483 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15484 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
15485 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15486 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15487 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15488 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15489 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15490 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15491 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15492 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15493 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
15494 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15495 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15496 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15497 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15498 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15499 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15500 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
15501 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15502 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15503 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15504 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15505 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15506 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15507 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15508 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15509 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15510 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15511 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15512 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15513 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15514 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15515 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15516 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15517 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15518 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15519 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15520 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15521 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15522 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15523 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15524 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15525 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15526 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15527 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15528 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15529 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15530 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15531 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15532 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15533 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15534 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15535 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15536 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
15537 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15538 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15539 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15540 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15541 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15542 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15543 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15544 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15545 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15546 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15547 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15548 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15549 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15550 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15551 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15552 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15553 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15554 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15555 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15556 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15557 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15558 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15559 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
15560 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15561 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
15562 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15563 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15564 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15565 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15566 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15567 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15568 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15569 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15570 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15571 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15572 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
15573 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15574 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15575 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15576 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15577 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15578 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15579 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15580 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15581 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15582 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
15583 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
15584 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
15585 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15586 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15587 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15588 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15589 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15590 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15591 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15592 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15593 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15594 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15595 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15596 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15597 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15598 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15599 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15600 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15601 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15602 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15603 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15604 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15605 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15606 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15607 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
15608 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15609 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15610 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15611 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15612 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15613 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15614 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15615 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15616 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15617 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15618 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15619 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15620 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15621 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15622 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15623 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15624 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15625 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15626 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15627 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15628 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15629 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15630 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15631 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15632 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15633 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15634 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15635 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15636 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15637 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15638 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15639 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15640 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15641 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15642 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15643 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15644 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15645 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15646 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15647 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15648 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15649 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15650 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15651 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15652 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15653 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15654 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15655 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15656 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15657 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15658 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15659 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15660 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15661 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15662 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15663 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15664 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15665 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15666 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15667 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15668 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15669 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15670 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15671 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15672 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15673 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15674 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15675 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15676 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15677 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15678 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15679 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15680 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15681 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15682 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15683 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15684 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15685 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15686 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15687 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15688 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15689 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15690 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15691 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15692 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15693 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15694 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15695 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15696 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15697 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15698 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15699 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15700 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15701 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15702 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15703 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15704 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15705 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15706 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15707 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15708 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15709 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15710 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15711 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15712 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15713 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15714 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15715 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15716 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15717 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15718 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15719 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15720 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15721 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15722 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15723 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15724 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15725 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15726 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15727 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15731 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15733 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15735 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15737 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15739 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15742 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15745 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15747 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15749 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15751 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15753 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15758 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15763 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
15769 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15773 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
15774 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15776 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15783 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
15784 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
15785 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
15786 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15788 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15791 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
15792 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
15793 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
15794 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
15797 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
15799 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15800 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15801 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15803 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
15805 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
15806 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15807 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15808 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15809 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15810 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15811 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
15817 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15819 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
15820 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
15822 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
15823 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
15825 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
15826 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15828 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
15829 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15831 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
15832 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
15834 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
15835 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15837 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
15838 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15840 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
15841 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15843 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
15844 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15846 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
15847 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15849 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
15850 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15852 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
15853 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15855 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
15856 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15858 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
15859 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
15861 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
15862 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15864 static void *_p_wxGridTo_p_wxPanel(void *x
) {
15865 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
15867 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
15868 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15870 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
15871 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15873 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
15874 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
15876 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
15877 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15879 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
15880 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
15882 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
15883 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15885 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
15886 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15888 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
15889 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15891 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
15892 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15894 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
15895 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
15897 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
15898 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
15900 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
15901 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15903 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
15904 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15906 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
15907 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15909 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
15910 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
15912 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
15913 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
15915 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
15916 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15918 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
15919 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15921 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
15922 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15924 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
15925 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15927 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
15928 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15930 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
15931 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15933 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
15934 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
15936 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
15937 return (void *)((wxWindow
*) ((wxPanel
*) x
));
15939 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
15940 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
15942 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
15943 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
15945 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
15946 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15948 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
15949 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
15951 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
15952 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15954 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
15955 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
15957 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
15958 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15960 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
15961 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
15963 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
15964 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
15966 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
15967 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
15969 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
15970 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
15972 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
15973 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
15975 static void *_p_wxControlTo_p_wxWindow(void *x
) {
15976 return (void *)((wxWindow
*) ((wxControl
*) x
));
15978 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
15979 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15981 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
15982 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15984 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
15985 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15987 static void *_p_wxGridTo_p_wxWindow(void *x
) {
15988 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15990 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
15991 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
15993 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
15994 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
15996 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
15997 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15999 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16000 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16002 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16003 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16005 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16006 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16008 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16009 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16011 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16012 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16014 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16015 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16017 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16018 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16020 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16021 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16023 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16024 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16026 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16027 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16029 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16030 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16032 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16033 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16035 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16036 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16038 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16039 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16041 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16042 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16044 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16045 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16047 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16048 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16050 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16051 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16053 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16054 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16056 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16057 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16059 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16060 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16062 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16063 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16065 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16066 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16068 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16069 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16071 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16074 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16075 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16077 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16078 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16080 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16081 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16083 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16084 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16086 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16087 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16089 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16090 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16092 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16093 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16095 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16096 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16098 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16099 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16101 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16102 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16104 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16105 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16107 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16108 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16110 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16111 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16113 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16114 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16116 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16117 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16119 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16120 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16122 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16123 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16125 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16126 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16128 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16129 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16131 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16132 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16134 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16135 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16137 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16138 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16140 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16143 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16144 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16146 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16147 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16149 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16150 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16152 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16153 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16155 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16156 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16158 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16159 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16161 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16162 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16164 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16165 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16167 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16168 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16170 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16171 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16173 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16174 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16176 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16177 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16179 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16182 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16185 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16186 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16188 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16189 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16191 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16192 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16194 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16195 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16197 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16198 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16200 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16201 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16203 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16204 return (void *)((wxObject
*) ((wxSizer
*) x
));
16206 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16207 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16209 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16210 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16212 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16215 static void *_p_wxEventTo_p_wxObject(void *x
) {
16216 return (void *)((wxObject
*) ((wxEvent
*) x
));
16218 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16219 return (void *)((wxObject
*) ((wxFontData
*) x
));
16221 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16222 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16224 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16225 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16227 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16228 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16230 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16231 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16233 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16234 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16236 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16237 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16239 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16242 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16243 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16245 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16246 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16248 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16249 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16251 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16252 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16254 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16255 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16257 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16258 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16260 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16261 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16263 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16266 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16269 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16270 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16272 static void *_p_wxControlTo_p_wxObject(void *x
) {
16273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16275 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16276 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16278 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16281 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16282 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16284 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16285 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16287 static void *_p_wxGridTo_p_wxObject(void *x
) {
16288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16290 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16291 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16293 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16296 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16297 return (void *)((wxObject
*) ((wxColourData
*) x
));
16299 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16300 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16302 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16305 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16308 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16311 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16314 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16317 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16320 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16323 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16326 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16329 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16332 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16333 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16335 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16336 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16338 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16339 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16341 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16342 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16344 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16347 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16348 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16350 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16351 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16353 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16354 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16356 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16357 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16359 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16360 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16362 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16363 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16365 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16366 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16368 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16369 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16371 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16372 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16374 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16375 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16377 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16378 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16380 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16381 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16383 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16384 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16386 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16387 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16389 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16390 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16392 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16393 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16395 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16396 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16398 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16399 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16401 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16402 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16404 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16405 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16407 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16408 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16410 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16413 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16416 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16419 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16420 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16422 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16425 static void *_p_wxImageTo_p_wxObject(void *x
) {
16426 return (void *)((wxObject
*) ((wxImage
*) x
));
16428 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16431 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16432 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16434 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16435 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16437 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16438 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16440 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16443 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16446 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16449 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16450 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16452 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16453 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16455 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16456 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16458 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16459 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16461 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16464 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16467 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16470 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16473 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16476 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16479 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16482 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16485 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16488 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16491 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16494 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16497 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16500 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16501 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16503 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16504 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16506 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16509 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16512 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16515 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16518 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16521 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16524 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16527 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16528 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16530 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16533 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16534 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16536 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16537 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16539 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16540 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16542 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16543 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16545 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16546 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16548 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16549 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16551 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16552 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16554 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16555 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16557 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16558 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16560 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16563 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16566 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16567 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16569 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16570 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16572 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16575 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16578 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16579 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16581 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16582 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16584 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16587 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16590 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16593 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16596 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16599 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16600 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16602 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16603 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16605 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16606 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16608 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16609 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16611 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16614 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16617 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16620 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16623 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
16624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16626 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
16627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16629 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
16630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16632 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
16633 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
16635 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
16636 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
16638 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
16639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16641 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
16642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16644 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
16645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16647 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
16648 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
16650 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
16651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16653 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
16654 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
16656 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
16657 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
16659 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
16660 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
16662 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
16663 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
16665 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
16666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16668 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
16669 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
16671 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
16672 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
16674 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
16675 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
16677 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
16678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16680 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
16681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16683 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
16684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16686 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
16687 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
16689 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
16690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16692 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
16693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16695 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
16696 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
16698 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
16699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16701 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
16702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16704 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
16705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16707 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16710 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16713 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
16714 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16716 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
16717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16719 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
16720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16722 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
16723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16725 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
16726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16728 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
16729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16731 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
16732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16734 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
16735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16737 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
16738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16740 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
16741 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
16743 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
16744 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16746 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
16747 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
16749 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
16750 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
16752 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
16753 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16755 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
16756 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16758 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
16759 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
16761 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
16762 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
16764 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
16765 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16767 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
16768 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16770 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
16771 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16773 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
16774 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16776 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
16777 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16779 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
16780 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
16782 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
16783 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16785 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
16786 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16788 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
16789 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
16791 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
16792 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16794 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
16795 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16797 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
16798 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16800 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
16801 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16803 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
16804 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16806 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
16807 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16809 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
16810 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
16812 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
16813 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16815 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
16816 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16818 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
16819 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16821 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
16822 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16824 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
16825 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
16827 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
16828 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16830 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
16831 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
16832 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
16833 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
16834 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
16835 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
16836 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
16837 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}};
16838 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}};
16839 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
16840 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
16841 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
16842 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
16843 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
16844 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
16845 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}};
16846 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}};
16847 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
16848 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
16849 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
16850 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}};
16851 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}};
16852 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
16853 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
16854 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}};
16855 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}};
16856 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
16857 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
16858 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
16859 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
16860 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}};
16861 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
16862 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
16863 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
16864 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}};
16865 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
16866 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
16867 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}};
16868 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}};
16869 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
16870 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
16871 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
16872 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
16873 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
16874 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}};
16875 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
},{0}};
16876 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
16877 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
},{0}};
16878 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
16879 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
16880 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16881 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
16883 static swig_type_info
*swig_types_initial
[] = {
16884 _swigt__p_wxGridCellAutoWrapStringRenderer
,
16885 _swigt__p_wxGridCellEnumRenderer
,
16886 _swigt__p_wxGridCellDateTimeRenderer
,
16887 _swigt__p_wxGridCellBoolRenderer
,
16888 _swigt__p_wxGridCellFloatRenderer
,
16889 _swigt__p_wxGridCellNumberRenderer
,
16890 _swigt__p_wxPyGridCellRenderer
,
16891 _swigt__p_wxGridCellRenderer
,
16892 _swigt__p_wxGridCellStringRenderer
,
16893 _swigt__p_wxGridCellAttr
,
16894 _swigt__p_wxColour
,
16896 _swigt__p_wxGridTableMessage
,
16900 _swigt__p_wxNotifyEvent
,
16901 _swigt__p_wxGridRangeSelectEvent
,
16903 _swigt__p_wxGridCellCoords
,
16904 _swigt__p_wxScrolledWindow
,
16905 _swigt__p_wxWindow
,
16907 _swigt__p_wxControl
,
16909 _swigt__p_wxObject
,
16910 _swigt__p_wxGridSizeEvent
,
16913 _swigt__p_wxString
,
16914 _swigt__p_wxEvtHandler
,
16916 _swigt__p_wxGridEvent
,
16917 _swigt__p_wxGridEditorCreatedEvent
,
16918 _swigt__p_wxGridTableBase
,
16919 _swigt__p_wxGridCellNumberEditor
,
16920 _swigt__p_wxPyGridCellEditor
,
16921 _swigt__p_wxGridCellEditor
,
16922 _swigt__p_wxGridCellTextEditor
,
16923 _swigt__p_wxGridCellFloatEditor
,
16924 _swigt__p_wxGridCellBoolEditor
,
16925 _swigt__p_wxPyGridTableBase
,
16926 _swigt__p_wxGridStringTable
,
16927 _swigt__p_wxArrayString
,
16928 _swigt__p_wxCommandEvent
,
16929 _swigt__p_wxGridCellAttrProvider
,
16930 _swigt__p_wxKeyEvent
,
16931 _swigt__p_wxGridCellChoiceEditor
,
16932 _swigt__p_wxGridCellEnumEditor
,
16933 _swigt__p_wxGridCellAutoWrapStringEditor
,
16935 _swigt__p_wxPyGridCellAttrProvider
,
16940 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16942 static swig_const_info swig_const_table
[] = {
16943 { SWIG_PY_STRING
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
16944 { SWIG_PY_STRING
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
16945 { SWIG_PY_STRING
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
16946 { SWIG_PY_STRING
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
16947 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
16948 { SWIG_PY_STRING
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
16949 { SWIG_PY_STRING
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
16950 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
16951 { SWIG_PY_STRING
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
16961 SWIGEXPORT(void) SWIG_init(void) {
16962 static PyObject
*SWIG_globals
= 0;
16963 static int typeinit
= 0;
16966 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
16967 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
16968 d
= PyModule_GetDict(m
);
16971 for (i
= 0; swig_types_initial
[i
]; i
++) {
16972 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
16976 SWIG_InstallConstants(d
,swig_const_table
);
16978 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
16979 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
16980 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
16981 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
16982 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_PyObj_FromInt((int)wxGridCellAttr::Any
));
16983 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_PyObj_FromInt((int)wxGridCellAttr::Default
));
16984 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_PyObj_FromInt((int)wxGridCellAttr::Cell
));
16985 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_PyObj_FromInt((int)wxGridCellAttr::Row
));
16986 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_PyObj_FromInt((int)wxGridCellAttr::Col
));
16987 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_PyObj_FromInt((int)wxGridCellAttr::Merged
));
16988 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_PyObj_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
16989 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_PyObj_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
16990 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
16991 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
16992 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
16993 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
16994 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
16995 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
16996 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectCells
));
16997 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectRows
));
16998 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectColumns
));
16999 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17000 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17001 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17002 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17003 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17004 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17005 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17006 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17007 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17008 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17009 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17010 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17011 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17012 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17013 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17014 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));