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
; }
1227 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1229 if (source
== Py_None
) {
1230 **obj
= wxGridCellCoords(-1,-1);
1234 // If source is an object instance then it may already be the right type
1235 if (wxPySwigInstance_Check(source
)) {
1236 wxGridCellCoords
* ptr
;
1237 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1242 // otherwise a 2-tuple of integers is expected
1243 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1244 PyObject
* o1
= PySequence_GetItem(source
, 0);
1245 PyObject
* o2
= PySequence_GetItem(source
, 1);
1246 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1251 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1258 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1263 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1266 if (wxPySwigInstance_Check(source
) &&
1267 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1271 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1278 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1280 PyObject
* list
= PyList_New(0);
1282 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1283 wxGridCellCoords
& coord
= source
.Item(idx
);
1284 PyObject
* tup
= PyTuple_New(2);
1285 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1286 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1287 PyList_Append(list
, tup
);
1293 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1294 PyObject
* tup
= PyTuple_New(2);
1295 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1296 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1300 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1302 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1303 wxGridCellCoords rv
;
1304 self
->XYToCell(x
, y
, rv
);
1310 static int _wrap_DateTimeFormatStr_set(PyObject
*_val
) {
1311 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1316 static PyObject
*_wrap_DateTimeFormatStr_get() {
1321 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1323 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1330 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1331 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1336 static PyObject
*_wrap_GridNoCellCoords_get() {
1339 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellCoords
, SWIGTYPE_p_wxGridCellCoords
, 0);
1344 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1345 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1350 static PyObject
*_wrap_GridNoCellRect_get() {
1353 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellRect
, SWIGTYPE_p_wxRect
, 0);
1358 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
*resultobj
;
1360 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1361 PyObject
*arg2
= (PyObject
*) 0 ;
1362 PyObject
* obj0
= 0 ;
1363 PyObject
* obj1
= 0 ;
1365 (char *) "self",(char *) "_self", NULL
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) SWIG_fail
;
1378 Py_INCREF(Py_None
); resultobj
= Py_None
;
1385 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
*resultobj
;
1387 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1388 wxString
*arg2
= 0 ;
1389 bool temp2
= False
;
1390 PyObject
* obj0
= 0 ;
1391 PyObject
* obj1
= 0 ;
1393 (char *) "self",(char *) "params", NULL
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1399 arg2
= wxString_in_helper(obj1
);
1400 if (arg2
== NULL
) SWIG_fail
;
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 (arg1
)->SetParameters((wxString
const &)*arg2
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) SWIG_fail
;
1410 Py_INCREF(Py_None
); resultobj
= Py_None
;
1425 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
*resultobj
;
1427 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1428 PyObject
* obj0
= 0 ;
1430 (char *) "self", NULL
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1442 Py_INCREF(Py_None
); resultobj
= Py_None
;
1449 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1451 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1452 PyObject
* obj0
= 0 ;
1454 (char *) "self", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 wxPyEndAllowThreads(__tstate
);
1464 if (PyErr_Occurred()) SWIG_fail
;
1466 Py_INCREF(Py_None
); resultobj
= Py_None
;
1473 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
*resultobj
;
1475 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1477 wxGridCellAttr
*arg3
= 0 ;
1484 PyObject
* obj0
= 0 ;
1485 PyObject
* obj1
= 0 ;
1486 PyObject
* obj2
= 0 ;
1487 PyObject
* obj3
= 0 ;
1488 PyObject
* obj4
= 0 ;
1489 PyObject
* obj5
= 0 ;
1490 PyObject
* obj6
= 0 ;
1491 PyObject
* obj7
= 0 ;
1493 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1500 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1502 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1506 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1508 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1512 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1515 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1519 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1523 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1533 Py_INCREF(Py_None
); resultobj
= Py_None
;
1540 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
*resultobj
;
1542 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1544 wxGridCellAttr
*arg3
= 0 ;
1549 PyObject
* obj0
= 0 ;
1550 PyObject
* obj1
= 0 ;
1551 PyObject
* obj2
= 0 ;
1552 PyObject
* obj3
= 0 ;
1553 PyObject
* obj4
= 0 ;
1554 PyObject
* obj5
= 0 ;
1556 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1565 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1569 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1574 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1578 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1590 resultptr
= new wxSize((wxSize
&) result
);
1591 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1599 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1602 wxGridCellRenderer
*result
;
1603 PyObject
* obj0
= 0 ;
1605 (char *) "self", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1618 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1626 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1629 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1631 return Py_BuildValue((char *)"");
1633 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
*resultobj
;
1635 wxPyGridCellRenderer
*result
;
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1655 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1657 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1658 PyObject
*arg2
= (PyObject
*) 0 ;
1659 PyObject
*arg3
= (PyObject
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj1
= 0 ;
1662 PyObject
* obj2
= 0 ;
1664 (char *) "self",(char *) "self",(char *) "_class", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1678 Py_INCREF(Py_None
); resultobj
= Py_None
;
1685 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1688 wxString
*arg2
= 0 ;
1689 bool temp2
= False
;
1690 PyObject
* obj0
= 0 ;
1691 PyObject
* obj1
= 0 ;
1693 (char *) "self",(char *) "params", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1699 arg2
= wxString_in_helper(obj1
);
1700 if (arg2
== NULL
) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1710 Py_INCREF(Py_None
); resultobj
= Py_None
;
1725 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1728 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1730 return Py_BuildValue((char *)"");
1732 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1734 wxGridCellStringRenderer
*result
;
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1754 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1757 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1759 return Py_BuildValue((char *)"");
1761 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxGridCellNumberRenderer
*result
;
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1783 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1786 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1788 return Py_BuildValue((char *)"");
1790 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 int arg1
= (int) -1 ;
1793 int arg2
= (int) -1 ;
1794 wxGridCellFloatRenderer
*result
;
1795 PyObject
* obj0
= 0 ;
1796 PyObject
* obj1
= 0 ;
1798 (char *) "width",(char *) "precision", NULL
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1804 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1810 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1828 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
*resultobj
;
1830 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1832 PyObject
* obj0
= 0 ;
1834 (char *) "self", NULL
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 resultobj
= SWIG_PyObj_FromInt((int)result
);
1853 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
*resultobj
;
1855 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1857 PyObject
* obj0
= 0 ;
1858 PyObject
* obj1
= 0 ;
1860 (char *) "self",(char *) "width", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1866 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 (arg1
)->SetWidth(arg2
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 Py_INCREF(Py_None
); resultobj
= Py_None
;
1883 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1887 PyObject
* obj0
= 0 ;
1889 (char *) "self", NULL
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
1893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 resultobj
= SWIG_PyObj_FromInt((int)result
);
1908 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1913 PyObject
* obj1
= 0 ;
1915 (char *) "self",(char *) "precision", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1921 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 (arg1
)->SetPrecision(arg2
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 Py_INCREF(Py_None
); resultobj
= Py_None
;
1938 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1941 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
1943 return Py_BuildValue((char *)"");
1945 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
*resultobj
;
1947 wxGridCellBoolRenderer
*result
;
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
1967 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1970 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
1972 return Py_BuildValue((char *)"");
1974 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
1977 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
1978 wxGridCellDateTimeRenderer
*result
;
1979 PyObject
* obj0
= 0 ;
1980 PyObject
* obj1
= 0 ;
1982 (char *) "outformat",(char *) "informat", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1988 wxString
* sptr
= wxString_in_helper(obj0
);
1989 if (sptr
== NULL
) SWIG_fail
;
1996 wxString
* sptr
= wxString_in_helper(obj1
);
1997 if (sptr
== NULL
) SWIG_fail
;
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2016 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2019 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2021 return Py_BuildValue((char *)"");
2023 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
*resultobj
;
2025 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2026 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2027 wxGridCellEnumRenderer
*result
;
2028 bool temp1
= False
;
2029 PyObject
* obj0
= 0 ;
2031 (char *) "choices", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2037 arg1
= wxString_in_helper(obj0
);
2038 if (arg1
== NULL
) SWIG_fail
;
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2049 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2064 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2067 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2069 return Py_BuildValue((char *)"");
2071 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxGridCellAutoWrapStringRenderer
*result
;
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2093 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2096 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2098 return Py_BuildValue((char *)"");
2100 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2103 PyObject
*arg2
= (PyObject
*) 0 ;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "_self", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2120 Py_INCREF(Py_None
); resultobj
= Py_None
;
2127 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
*resultobj
;
2129 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2131 PyObject
* obj0
= 0 ;
2133 (char *) "self", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 result
= (bool)(arg1
)->IsCreated();
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2152 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2154 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2156 PyObject
* obj0
= 0 ;
2158 (char *) "self", NULL
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (wxControl
*)(arg1
)->GetControl();
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 resultobj
= wxPyMake_wxObject(result
);
2179 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2182 wxControl
*arg2
= (wxControl
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2184 PyObject
* obj1
= 0 ;
2186 (char *) "self",(char *) "control", NULL
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 (arg1
)->SetControl(arg2
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2199 Py_INCREF(Py_None
); resultobj
= Py_None
;
2206 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
*resultobj
;
2208 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2209 wxGridCellAttr
*result
;
2210 PyObject
* obj0
= 0 ;
2212 (char *) "self", NULL
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2225 resultobj
= wxPyMake_wxGridCellAttr(result
);
2233 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2236 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2238 PyObject
* obj1
= 0 ;
2240 (char *) "self",(char *) "attr", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 (arg1
)->SetCellAttr(arg2
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2263 wxString
*arg2
= 0 ;
2264 bool temp2
= False
;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2268 (char *) "self",(char *) "params", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2274 arg2
= wxString_in_helper(obj1
);
2275 if (arg2
== NULL
) SWIG_fail
;
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 (arg1
)->SetParameters((wxString
const &)*arg2
);
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2285 Py_INCREF(Py_None
); resultobj
= Py_None
;
2300 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
*resultobj
;
2302 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "self", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 Py_INCREF(Py_None
); resultobj
= Py_None
;
2324 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2329 (char *) "self", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 Py_INCREF(Py_None
); resultobj
= Py_None
;
2348 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2351 wxWindow
*arg2
= (wxWindow
*) 0 ;
2353 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2356 PyObject
* obj2
= 0 ;
2357 PyObject
* obj3
= 0 ;
2359 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2366 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2369 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 (arg1
)->Create(arg2
,arg3
,arg4
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 Py_INCREF(Py_None
); resultobj
= Py_None
;
2384 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2389 wxGrid
*arg4
= (wxGrid
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2392 PyObject
* obj2
= 0 ;
2393 PyObject
* obj3
= 0 ;
2395 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2405 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2408 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2416 Py_INCREF(Py_None
); resultobj
= Py_None
;
2423 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2428 wxGrid
*arg4
= (wxGrid
*) 0 ;
2430 PyObject
* obj0
= 0 ;
2431 PyObject
* obj1
= 0 ;
2432 PyObject
* obj2
= 0 ;
2433 PyObject
* obj3
= 0 ;
2435 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2441 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2445 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2448 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2463 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2466 PyObject
* obj0
= 0 ;
2468 (char *) "self", NULL
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2480 Py_INCREF(Py_None
); resultobj
= Py_None
;
2487 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2490 wxGridCellEditor
*result
;
2491 PyObject
* obj0
= 0 ;
2493 (char *) "self", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) SWIG_fail
;
2506 resultobj
= wxPyMake_wxGridCellEditor(result
);
2514 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2519 PyObject
* obj0
= 0 ;
2520 PyObject
* obj1
= 0 ;
2522 (char *) "self",(char *) "rect", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2529 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 (arg1
)->SetSize((wxRect
const &)*arg2
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2545 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2549 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2552 PyObject
* obj2
= 0 ;
2554 (char *) "self",(char *) "show",(char *) "attr", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2560 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 (arg1
)->Show(arg2
,arg3
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 Py_INCREF(Py_None
); resultobj
= Py_None
;
2580 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2584 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2586 PyObject
* obj0
= 0 ;
2587 PyObject
* obj1
= 0 ;
2588 PyObject
* obj2
= 0 ;
2590 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2599 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 Py_INCREF(Py_None
); resultobj
= Py_None
;
2614 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2617 wxKeyEvent
*arg2
= 0 ;
2619 PyObject
* obj0
= 0 ;
2620 PyObject
* obj1
= 0 ;
2622 (char *) "self",(char *) "event", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2629 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2645 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
*resultobj
;
2647 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2648 wxKeyEvent
*arg2
= 0 ;
2649 PyObject
* obj0
= 0 ;
2650 PyObject
* obj1
= 0 ;
2652 (char *) "self",(char *) "event", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2659 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 (arg1
)->StartingKey(*arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 Py_INCREF(Py_None
); resultobj
= Py_None
;
2675 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 (arg1
)->StartingClick();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2702 wxKeyEvent
*arg2
= 0 ;
2703 PyObject
* obj0
= 0 ;
2704 PyObject
* obj1
= 0 ;
2706 (char *) "self",(char *) "event", NULL
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 (arg1
)->HandleReturn(*arg2
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 Py_INCREF(Py_None
); resultobj
= Py_None
;
2729 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2732 PyObject
* obj0
= 0 ;
2734 (char *) "self", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 Py_INCREF(Py_None
); resultobj
= Py_None
;
2753 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2756 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2758 return Py_BuildValue((char *)"");
2760 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxPyGridCellEditor
*result
;
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellEditor
, 1);
2782 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2785 PyObject
*arg2
= (PyObject
*) 0 ;
2786 PyObject
*arg3
= (PyObject
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2789 PyObject
* obj2
= 0 ;
2791 (char *) "self",(char *) "self",(char *) "_class", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2805 Py_INCREF(Py_None
); resultobj
= Py_None
;
2812 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
*resultobj
;
2814 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2817 PyObject
* obj0
= 0 ;
2818 PyObject
* obj1
= 0 ;
2820 (char *) "self",(char *) "rect", NULL
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2827 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2831 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2833 wxPyEndAllowThreads(__tstate
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2836 Py_INCREF(Py_None
); resultobj
= Py_None
;
2843 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2847 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2848 PyObject
* obj0
= 0 ;
2849 PyObject
* obj1
= 0 ;
2850 PyObject
* obj2
= 0 ;
2852 (char *) "self",(char *) "show",(char *) "attr", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2858 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 (arg1
)->base_Show(arg2
,arg3
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 Py_INCREF(Py_None
); resultobj
= Py_None
;
2878 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2882 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2884 PyObject
* obj0
= 0 ;
2885 PyObject
* obj1
= 0 ;
2886 PyObject
* obj2
= 0 ;
2888 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2897 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 Py_INCREF(Py_None
); resultobj
= Py_None
;
2912 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2915 wxKeyEvent
*arg2
= 0 ;
2917 PyObject
* obj0
= 0 ;
2918 PyObject
* obj1
= 0 ;
2920 (char *) "self",(char *) "event", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2927 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2943 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2946 wxKeyEvent
*arg2
= 0 ;
2947 PyObject
* obj0
= 0 ;
2948 PyObject
* obj1
= 0 ;
2950 (char *) "self",(char *) "event", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 (arg1
)->base_StartingKey(*arg2
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2966 Py_INCREF(Py_None
); resultobj
= Py_None
;
2973 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2976 PyObject
* obj0
= 0 ;
2978 (char *) "self", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
2982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 (arg1
)->base_StartingClick();
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2990 Py_INCREF(Py_None
); resultobj
= Py_None
;
2997 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3000 wxKeyEvent
*arg2
= 0 ;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3004 (char *) "self",(char *) "event", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3009 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3011 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 (arg1
)->base_HandleReturn(*arg2
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 Py_INCREF(Py_None
); resultobj
= Py_None
;
3027 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3032 (char *) "self", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 (arg1
)->base_Destroy();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 Py_INCREF(Py_None
); resultobj
= Py_None
;
3051 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3054 wxString
*arg2
= 0 ;
3055 bool temp2
= False
;
3056 PyObject
* obj0
= 0 ;
3057 PyObject
* obj1
= 0 ;
3059 (char *) "self",(char *) "params", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3065 arg2
= wxString_in_helper(obj1
);
3066 if (arg2
== NULL
) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3094 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3096 return Py_BuildValue((char *)"");
3098 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxGridCellTextEditor
*result
;
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellTextEditor
, 1);
3120 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3124 PyObject
* obj0
= 0 ;
3126 (char *) "self", NULL
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellTextEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 result
= (arg1
)->GetValue();
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3151 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3154 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3156 return Py_BuildValue((char *)"");
3158 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 int arg1
= (int) -1 ;
3161 int arg2
= (int) -1 ;
3162 wxGridCellNumberEditor
*result
;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3166 (char *) "min",(char *) "max", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3172 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3178 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3196 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3200 PyObject
* obj0
= 0 ;
3202 (char *) "self", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellNumberEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 result
= (arg1
)->GetValue();
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3227 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3230 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3232 return Py_BuildValue((char *)"");
3234 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxGridCellFloatEditor
*result
;
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3256 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 result
= (arg1
)->GetValue();
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3287 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3290 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3292 return Py_BuildValue((char *)"");
3294 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxGridCellBoolEditor
*result
;
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3316 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3320 PyObject
* obj0
= 0 ;
3322 (char *) "self", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellBoolEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= (arg1
)->GetValue();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3347 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3350 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3352 return Py_BuildValue((char *)"");
3354 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 int arg1
= (int) 0 ;
3357 wxString
*arg2
= (wxString
*) NULL
;
3358 bool arg3
= (bool) False
;
3359 wxGridCellChoiceEditor
*result
;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "choices",(char *) "allowOthers", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3369 arg1
= PyList_Size(obj0
);
3370 arg2
= wxString_LIST_helper(obj0
);
3371 if (arg2
== NULL
) SWIG_fail
;
3376 arg3
= (bool) SWIG_PyObj_AsBool(obj1
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3389 if (arg2
) delete [] arg2
;
3394 if (arg2
) delete [] arg2
;
3400 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3404 PyObject
* obj0
= 0 ;
3406 (char *) "self", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (arg1
)->GetValue();
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3431 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3434 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3436 return Py_BuildValue((char *)"");
3438 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3441 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3442 wxGridCellEnumEditor
*result
;
3443 bool temp1
= False
;
3444 PyObject
* obj0
= 0 ;
3446 (char *) "choices", NULL
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3452 arg1
= wxString_in_helper(obj0
);
3453 if (arg1
== NULL
) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3479 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "self", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEnumEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 result
= (arg1
)->GetValue();
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3510 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3513 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3515 return Py_BuildValue((char *)"");
3517 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxGridCellAutoWrapStringEditor
*result
;
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) SWIG_fail
;
3532 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3539 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3545 (char *) "self", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (arg1
)->GetValue();
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3570 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3573 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3575 return Py_BuildValue((char *)"");
3577 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3579 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3580 PyObject
*arg2
= (PyObject
*) 0 ;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3584 (char *) "self",(char *) "_self", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 Py_INCREF(Py_None
); resultobj
= Py_None
;
3604 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3607 wxGridCellAttr
*result
;
3608 PyObject
* obj0
= 0 ;
3610 (char *) "attrDefault", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= wxPyMake_wxGridCellAttr(result
);
3633 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3636 wxGridCellAttr
*result
;
3637 PyObject
* obj0
= 0 ;
3639 (char *) "self", NULL
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= wxPyMake_wxGridCellAttr(result
);
3660 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3663 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3667 (char *) "self",(char *) "mergefrom", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->MergeWith(arg2
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 Py_INCREF(Py_None
); resultobj
= Py_None
;
3687 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3692 (char *) "self", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 Py_INCREF(Py_None
); resultobj
= Py_None
;
3711 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3716 (char *) "self", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3738 wxColour
*arg2
= 0 ;
3740 PyObject
* obj0
= 0 ;
3741 PyObject
* obj1
= 0 ;
3743 (char *) "self",(char *) "colText", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3769 wxColour
*arg2
= 0 ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3774 (char *) "self",(char *) "colBack", NULL
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3781 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 Py_INCREF(Py_None
); resultobj
= Py_None
;
3797 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3804 (char *) "self",(char *) "font", NULL
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3811 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 (arg1
)->SetFont((wxFont
const &)*arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 Py_INCREF(Py_None
); resultobj
= Py_None
;
3827 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3834 PyObject
* obj2
= 0 ;
3836 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3842 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3846 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 (arg1
)->SetAlignment(arg2
,arg3
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3869 PyObject
* obj1
= 0 ;
3870 PyObject
* obj2
= 0 ;
3872 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3878 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3882 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 (arg1
)->SetSize(arg2
,arg3
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 Py_INCREF(Py_None
); resultobj
= Py_None
;
3899 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3902 bool arg2
= (bool) True
;
3903 PyObject
* obj0
= 0 ;
3904 PyObject
* obj1
= 0 ;
3906 (char *) "self",(char *) "allow", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3913 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->SetOverflow(arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3934 bool arg2
= (bool) True
;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3938 (char *) "self",(char *) "isReadOnly", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
3942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3945 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 (arg1
)->SetReadOnly(arg2
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 Py_INCREF(Py_None
); resultobj
= Py_None
;
3963 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3966 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "renderer", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3975 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->SetRenderer(arg2
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 Py_INCREF(Py_None
); resultobj
= Py_None
;
3990 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3993 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3997 (char *) "self",(char *) "editor", NULL
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4002 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 (arg1
)->SetEditor(arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 Py_INCREF(Py_None
); resultobj
= Py_None
;
4017 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4021 PyObject
* obj0
= 0 ;
4022 PyObject
* obj1
= 0 ;
4024 (char *) "self",(char *) "kind", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4030 arg2
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj1
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 Py_INCREF(Py_None
); resultobj
= Py_None
;
4047 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4053 (char *) "self", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4072 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4076 PyObject
* obj0
= 0 ;
4078 (char *) "self", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4097 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "self", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4122 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
;
4124 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4126 PyObject
* obj0
= 0 ;
4128 (char *) "self", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4147 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4153 (char *) "self", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4172 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4178 (char *) "self", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4197 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4201 PyObject
* obj0
= 0 ;
4203 (char *) "self", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4222 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4228 (char *) "self", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4247 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4251 PyObject
* obj0
= 0 ;
4253 (char *) "self", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4266 wxColour
* resultptr
;
4267 resultptr
= new wxColour((wxColour
&) result
);
4268 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4276 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4282 (char *) "self", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4295 wxColour
* resultptr
;
4296 resultptr
= new wxColour((wxColour
&) result
);
4297 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4305 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4311 (char *) "self", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4325 resultptr
= new wxFont((wxFont
&) result
);
4326 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
4334 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4337 int *arg2
= (int *) 0 ;
4338 int *arg3
= (int *) 0 ;
4341 PyObject
* obj0
= 0 ;
4343 (char *) "self", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 Py_INCREF(Py_None
); resultobj
= Py_None
;
4359 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4360 resultobj
= t_output_helper(resultobj
,o
);
4363 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4364 resultobj
= t_output_helper(resultobj
,o
);
4372 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4375 int *arg2
= (int *) 0 ;
4376 int *arg3
= (int *) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 Py_INCREF(Py_None
); resultobj
= Py_None
;
4397 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4398 resultobj
= t_output_helper(resultobj
,o
);
4401 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4402 resultobj
= t_output_helper(resultobj
,o
);
4410 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4416 (char *) "self", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4435 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4437 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4438 wxGrid
*arg2
= (wxGrid
*) 0 ;
4441 wxGridCellRenderer
*result
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 PyObject
* obj3
= 0 ;
4447 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4454 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4458 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4477 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4480 wxGrid
*arg2
= (wxGrid
*) 0 ;
4483 wxGridCellEditor
*result
;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 PyObject
* obj2
= 0 ;
4487 PyObject
* obj3
= 0 ;
4489 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4496 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4500 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= wxPyMake_wxGridCellEditor(result
);
4519 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4523 PyObject
* obj0
= 0 ;
4525 (char *) "self", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4544 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4547 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4551 (char *) "self",(char *) "defAttr", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 (arg1
)->SetDefAttr(arg2
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4564 Py_INCREF(Py_None
); resultobj
= Py_None
;
4571 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4574 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4576 return Py_BuildValue((char *)"");
4578 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxGridCellAttrProvider
*result
;
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4602 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4605 PyObject
*arg2
= (PyObject
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "_self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 Py_INCREF(Py_None
); resultobj
= Py_None
;
4629 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
;
4631 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4635 wxGridCellAttr
*result
;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 PyObject
* obj2
= 0 ;
4639 PyObject
* obj3
= 0 ;
4641 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= wxPyMake_wxGridCellAttr(result
);
4674 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4677 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4682 PyObject
* obj2
= 0 ;
4683 PyObject
* obj3
= 0 ;
4685 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4692 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4696 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4713 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4716 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4720 PyObject
* obj2
= 0 ;
4722 (char *) "self",(char *) "attr",(char *) "row", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4729 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 (arg1
)->SetRowAttr(arg2
,arg3
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 Py_INCREF(Py_None
); resultobj
= Py_None
;
4746 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4749 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4755 (char *) "self",(char *) "attr",(char *) "col", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4762 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 (arg1
)->SetColAttr(arg2
,arg3
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 Py_INCREF(Py_None
); resultobj
= Py_None
;
4779 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4786 PyObject
* obj2
= 0 ;
4788 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4794 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4798 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 Py_INCREF(Py_None
); resultobj
= Py_None
;
4815 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4820 PyObject
* obj0
= 0 ;
4821 PyObject
* obj1
= 0 ;
4822 PyObject
* obj2
= 0 ;
4824 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4830 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4834 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 (arg1
)->UpdateAttrCols(arg2
,arg3
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 Py_INCREF(Py_None
); resultobj
= Py_None
;
4851 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4854 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
4856 return Py_BuildValue((char *)"");
4858 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxPyGridCellAttrProvider
*result
;
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
4880 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4883 PyObject
*arg2
= (PyObject
*) 0 ;
4884 PyObject
*arg3
= (PyObject
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4886 PyObject
* obj1
= 0 ;
4887 PyObject
* obj2
= 0 ;
4889 (char *) "self",(char *) "self",(char *) "_class", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 Py_INCREF(Py_None
); resultobj
= Py_None
;
4910 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4916 wxGridCellAttr
*result
;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 PyObject
* obj2
= 0 ;
4920 PyObject
* obj3
= 0 ;
4922 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4928 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4932 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4936 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= wxPyMake_wxGridCellAttr(result
);
4955 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4958 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4963 PyObject
* obj2
= 0 ;
4964 PyObject
* obj3
= 0 ;
4966 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4973 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4997 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5001 PyObject
* obj2
= 0 ;
5003 (char *) "self",(char *) "attr",(char *) "row", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5010 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5030 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5034 PyObject
* obj2
= 0 ;
5036 (char *) "self",(char *) "attr",(char *) "col", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5043 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 (arg1
)->base_SetColAttr(arg2
,arg3
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 Py_INCREF(Py_None
); resultobj
= Py_None
;
5060 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5065 return Py_BuildValue((char *)"");
5067 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5070 PyObject
*arg2
= (PyObject
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5074 (char *) "self",(char *) "_self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxGridTableBase__setOORInfo(arg1
,arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 Py_INCREF(Py_None
); resultobj
= Py_None
;
5094 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5097 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5101 (char *) "self",(char *) "attrProvider", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5106 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 (arg1
)->SetAttrProvider(arg2
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 Py_INCREF(Py_None
); resultobj
= Py_None
;
5121 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5124 wxGridCellAttrProvider
*result
;
5125 PyObject
* obj0
= 0 ;
5127 (char *) "self", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5148 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5151 wxGrid
*arg2
= (wxGrid
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5155 (char *) "self",(char *) "grid", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5160 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 (arg1
)->SetView(arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 Py_INCREF(Py_None
); resultobj
= Py_None
;
5175 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5181 (char *) "self", NULL
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= wxPyMake_wxObject(result
);
5202 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5208 (char *) "self", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= (int)(arg1
)->GetNumberRows();
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= SWIG_PyObj_FromInt((int)result
);
5227 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5231 PyObject
* obj0
= 0 ;
5233 (char *) "self", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (int)(arg1
)->GetNumberCols();
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_PyObj_FromInt((int)result
);
5252 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5259 PyObject
* obj1
= 0 ;
5260 PyObject
* obj2
= 0 ;
5262 (char *) "self",(char *) "row",(char *) "col", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5268 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5272 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5289 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 PyObject
* obj2
= 0 ;
5299 (char *) "self",(char *) "row",(char *) "col", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5305 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5309 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (arg1
)->GetValue(arg2
,arg3
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5332 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5337 wxString
*arg4
= 0 ;
5338 bool temp4
= False
;
5339 PyObject
* obj0
= 0 ;
5340 PyObject
* obj1
= 0 ;
5341 PyObject
* obj2
= 0 ;
5342 PyObject
* obj3
= 0 ;
5344 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5350 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5354 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5358 arg4
= wxString_in_helper(obj3
);
5359 if (arg4
== NULL
) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5392 PyObject
* obj2
= 0 ;
5394 (char *) "self",(char *) "row",(char *) "col", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5400 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5404 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5427 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5432 wxString
*arg4
= 0 ;
5434 bool temp4
= False
;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 PyObject
* obj2
= 0 ;
5438 PyObject
* obj3
= 0 ;
5440 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5446 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5450 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 arg4
= wxString_in_helper(obj3
);
5455 if (arg4
== NULL
) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5480 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5485 wxString
*arg4
= 0 ;
5487 bool temp4
= False
;
5488 PyObject
* obj0
= 0 ;
5489 PyObject
* obj1
= 0 ;
5490 PyObject
* obj2
= 0 ;
5491 PyObject
* obj3
= 0 ;
5493 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5499 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5503 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 arg4
= wxString_in_helper(obj3
);
5508 if (arg4
== NULL
) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5533 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5541 PyObject
* obj2
= 0 ;
5543 (char *) "self",(char *) "row",(char *) "col", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5549 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5553 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_PyObj_FromLong((long)result
);
5570 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5578 PyObject
* obj2
= 0 ;
5580 (char *) "self",(char *) "row",(char *) "col", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5586 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5590 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5607 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 PyObject
* obj2
= 0 ;
5617 (char *) "self",(char *) "row",(char *) "col", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5623 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5627 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5644 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
;
5646 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5652 PyObject
* obj2
= 0 ;
5653 PyObject
* obj3
= 0 ;
5655 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5661 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5665 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5686 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 PyObject
* obj2
= 0 ;
5695 PyObject
* obj3
= 0 ;
5697 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5703 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5711 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 Py_INCREF(Py_None
); resultobj
= Py_None
;
5728 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
;
5730 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5736 PyObject
* obj2
= 0 ;
5737 PyObject
* obj3
= 0 ;
5739 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5745 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5753 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 Py_INCREF(Py_None
); resultobj
= Py_None
;
5794 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5797 size_t arg2
= (size_t) 0 ;
5798 size_t arg3
= (size_t) 1 ;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5802 PyObject
* obj2
= 0 ;
5804 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5811 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5817 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5835 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5838 size_t arg2
= (size_t) 1 ;
5840 PyObject
* obj0
= 0 ;
5841 PyObject
* obj1
= 0 ;
5843 (char *) "self",(char *) "numRows", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5850 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 result
= (bool)(arg1
)->AppendRows(arg2
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5868 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5871 size_t arg2
= (size_t) 0 ;
5872 size_t arg3
= (size_t) 1 ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5876 PyObject
* obj2
= 0 ;
5878 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5885 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5891 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5909 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5912 size_t arg2
= (size_t) 0 ;
5913 size_t arg3
= (size_t) 1 ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5917 PyObject
* obj2
= 0 ;
5919 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5926 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5932 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5950 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5953 size_t arg2
= (size_t) 1 ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5958 (char *) "self",(char *) "numCols", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5965 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (bool)(arg1
)->AppendCols(arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5983 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5986 size_t arg2
= (size_t) 0 ;
5987 size_t arg3
= (size_t) 1 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 PyObject
* obj2
= 0 ;
5993 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6000 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6006 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6032 (char *) "self",(char *) "row", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6038 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (arg1
)->GetRowLabelValue(arg2
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6061 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6069 (char *) "self",(char *) "col", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6075 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (arg1
)->GetColLabelValue(arg2
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6098 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6102 wxString
*arg3
= 0 ;
6103 bool temp3
= False
;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6106 PyObject
* obj2
= 0 ;
6108 (char *) "self",(char *) "row",(char *) "value", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6114 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 arg3
= wxString_in_helper(obj2
);
6119 if (arg3
== NULL
) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 Py_INCREF(Py_None
); resultobj
= Py_None
;
6144 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6148 wxString
*arg3
= 0 ;
6149 bool temp3
= False
;
6150 PyObject
* obj0
= 0 ;
6151 PyObject
* obj1
= 0 ;
6152 PyObject
* obj2
= 0 ;
6154 (char *) "self",(char *) "col",(char *) "value", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6160 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 arg3
= wxString_in_helper(obj2
);
6165 if (arg3
== NULL
) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 Py_INCREF(Py_None
); resultobj
= Py_None
;
6190 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 result
= (bool)(arg1
)->CanHaveAttributes();
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6215 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6221 wxGridCellAttr
*result
;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 PyObject
* obj2
= 0 ;
6225 PyObject
* obj3
= 0 ;
6227 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6233 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6237 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6241 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= wxPyMake_wxGridCellAttr(result
);
6260 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6263 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6268 PyObject
* obj2
= 0 ;
6269 PyObject
* obj3
= 0 ;
6271 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6278 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6282 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 Py_INCREF(Py_None
); resultobj
= Py_None
;
6299 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6302 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6306 PyObject
* obj2
= 0 ;
6308 (char *) "self",(char *) "attr",(char *) "row", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6315 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->SetRowAttr(arg2
,arg3
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6335 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6341 (char *) "self",(char *) "attr",(char *) "col", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6348 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 (arg1
)->SetColAttr(arg2
,arg3
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6365 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6368 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6370 return Py_BuildValue((char *)"");
6372 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxPyGridTableBase
*result
;
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridTableBase
, 1);
6394 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6397 PyObject
*arg2
= (PyObject
*) 0 ;
6398 PyObject
*arg3
= (PyObject
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6401 PyObject
* obj2
= 0 ;
6403 (char *) "self",(char *) "self",(char *) "_class", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 Py_INCREF(Py_None
); resultobj
= Py_None
;
6424 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6429 (char *) "self", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 wxPyGridTableBase_Destroy(arg1
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 Py_INCREF(Py_None
); resultobj
= Py_None
;
6448 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj1
= 0 ;
6456 PyObject
* obj2
= 0 ;
6458 (char *) "self",(char *) "row",(char *) "col", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6464 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6491 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6496 wxString
*arg4
= 0 ;
6498 bool temp4
= False
;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 PyObject
* obj2
= 0 ;
6502 PyObject
* obj3
= 0 ;
6504 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6510 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6518 arg4
= wxString_in_helper(obj3
);
6519 if (arg4
== NULL
) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6544 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6549 wxString
*arg4
= 0 ;
6551 bool temp4
= False
;
6552 PyObject
* obj0
= 0 ;
6553 PyObject
* obj1
= 0 ;
6554 PyObject
* obj2
= 0 ;
6555 PyObject
* obj3
= 0 ;
6557 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6567 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 arg4
= wxString_in_helper(obj3
);
6572 if (arg4
== NULL
) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6597 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6600 PyObject
* obj0
= 0 ;
6602 (char *) "self", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 (arg1
)->base_Clear();
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 Py_INCREF(Py_None
); resultobj
= Py_None
;
6621 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
;
6623 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6624 size_t arg2
= (size_t) 0 ;
6625 size_t arg3
= (size_t) 1 ;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6629 PyObject
* obj2
= 0 ;
6631 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6638 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6644 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6662 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6665 size_t arg2
= (size_t) 1 ;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6670 (char *) "self",(char *) "numRows", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6677 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6698 size_t arg2
= (size_t) 0 ;
6699 size_t arg3
= (size_t) 1 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6703 PyObject
* obj2
= 0 ;
6705 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6712 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6718 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6736 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6739 size_t arg2
= (size_t) 0 ;
6740 size_t arg3
= (size_t) 1 ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6744 PyObject
* obj2
= 0 ;
6746 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6753 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6759 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6777 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6780 size_t arg2
= (size_t) 1 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6785 (char *) "self",(char *) "numCols", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6792 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6810 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6813 size_t arg2
= (size_t) 0 ;
6814 size_t arg3
= (size_t) 1 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6818 PyObject
* obj2
= 0 ;
6820 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6827 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6833 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6851 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6859 (char *) "self",(char *) "row", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6865 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6888 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6896 (char *) "self",(char *) "col", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6902 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 result
= (arg1
)->base_GetColLabelValue(arg2
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6925 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6929 wxString
*arg3
= 0 ;
6930 bool temp3
= False
;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6935 (char *) "self",(char *) "row",(char *) "value", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6941 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 arg3
= wxString_in_helper(obj2
);
6946 if (arg3
== NULL
) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 Py_INCREF(Py_None
); resultobj
= Py_None
;
6971 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6975 wxString
*arg3
= 0 ;
6976 bool temp3
= False
;
6977 PyObject
* obj0
= 0 ;
6978 PyObject
* obj1
= 0 ;
6979 PyObject
* obj2
= 0 ;
6981 (char *) "self",(char *) "col",(char *) "value", NULL
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6987 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6991 arg3
= wxString_in_helper(obj2
);
6992 if (arg3
== NULL
) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 Py_INCREF(Py_None
); resultobj
= Py_None
;
7017 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (bool)(arg1
)->base_CanHaveAttributes();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7042 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7048 wxGridCellAttr
*result
;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 PyObject
* obj2
= 0 ;
7052 PyObject
* obj3
= 0 ;
7054 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7064 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7068 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= wxPyMake_wxGridCellAttr(result
);
7087 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7089 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7090 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 PyObject
* obj2
= 0 ;
7096 PyObject
* obj3
= 0 ;
7098 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7103 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7105 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7109 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 Py_INCREF(Py_None
); resultobj
= Py_None
;
7126 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7129 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7135 (char *) "self",(char *) "attr",(char *) "row", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7142 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 Py_INCREF(Py_None
); resultobj
= Py_None
;
7159 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7162 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7166 PyObject
* obj2
= 0 ;
7168 (char *) "self",(char *) "attr",(char *) "col", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7173 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 (arg1
)->base_SetColAttr(arg2
,arg3
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 Py_INCREF(Py_None
); resultobj
= Py_None
;
7192 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
7194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7195 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7197 return Py_BuildValue((char *)"");
7199 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 int arg1
= (int) 0 ;
7202 int arg2
= (int) 0 ;
7203 wxGridStringTable
*result
;
7204 PyObject
* obj0
= 0 ;
7205 PyObject
* obj1
= 0 ;
7207 (char *) "numRows",(char *) "numCols", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7213 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridStringTable
, 1);
7237 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
7239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7240 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7242 return Py_BuildValue((char *)"");
7244 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7246 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7248 int arg3
= (int) -1 ;
7249 int arg4
= (int) -1 ;
7250 wxGridTableMessage
*result
;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7253 PyObject
* obj2
= 0 ;
7254 PyObject
* obj3
= 0 ;
7256 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7262 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7267 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7273 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridTableMessage
, 1);
7291 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7294 PyObject
* obj0
= 0 ;
7296 (char *) "self", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7318 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7320 PyObject
* obj1
= 0 ;
7322 (char *) "self",(char *) "table", NULL
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7327 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 (arg1
)->SetTableObject(arg2
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 Py_INCREF(Py_None
); resultobj
= Py_None
;
7342 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7345 wxGridTableBase
*result
;
7346 PyObject
* obj0
= 0 ;
7348 (char *) "self", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= wxPyMake_wxGridTableBase(result
);
7369 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7376 (char *) "self",(char *) "id", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7382 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 (arg1
)->SetId(arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (int)(arg1
)->GetId();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_PyObj_FromInt((int)result
);
7424 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 (char *) "self",(char *) "comInt1", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7437 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 (arg1
)->SetCommandInt(arg2
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7454 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7460 (char *) "self", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 result
= (int)(arg1
)->GetCommandInt();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_PyObj_FromInt((int)result
);
7479 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7483 PyObject
* obj0
= 0 ;
7484 PyObject
* obj1
= 0 ;
7486 (char *) "self",(char *) "comInt2", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 (arg1
)->SetCommandInt2(arg2
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7515 (char *) "self", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (int)(arg1
)->GetCommandInt2();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_PyObj_FromInt((int)result
);
7534 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7537 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7539 return Py_BuildValue((char *)"");
7541 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 int arg1
= (int) -1 ;
7544 int arg2
= (int) -1 ;
7545 wxGridCellCoords
*result
;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7549 (char *) "r",(char *) "c", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7555 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7561 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellCoords
, 1);
7579 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7584 (char *) "self", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 Py_INCREF(Py_None
); resultobj
= Py_None
;
7603 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7609 (char *) "self", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= SWIG_PyObj_FromInt((int)result
);
7628 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7630 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7635 (char *) "self",(char *) "n", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 (arg1
)->SetRow(arg2
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 Py_INCREF(Py_None
); resultobj
= Py_None
;
7658 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "self", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_PyObj_FromInt((int)result
);
7683 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7687 PyObject
* obj0
= 0 ;
7688 PyObject
* obj1
= 0 ;
7690 (char *) "self",(char *) "n", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 (arg1
)->SetCol(arg2
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7720 PyObject
* obj2
= 0 ;
7722 (char *) "self",(char *) "row",(char *) "col", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7728 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7732 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 (arg1
)->Set(arg2
,arg3
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 Py_INCREF(Py_None
); resultobj
= Py_None
;
7749 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7752 wxGridCellCoords
*arg2
= 0 ;
7754 wxGridCellCoords temp2
;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "self",(char *) "other", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7765 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7781 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7784 wxGridCellCoords
*arg2
= 0 ;
7786 wxGridCellCoords temp2
;
7787 PyObject
* obj0
= 0 ;
7788 PyObject
* obj1
= 0 ;
7790 (char *) "self",(char *) "other", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7797 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7813 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "self", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7838 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7841 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7843 return Py_BuildValue((char *)"");
7845 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxWindow
*arg1
= (wxWindow
*) 0 ;
7849 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7850 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7851 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7852 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7853 long arg5
= (long) wxWANTS_CHARS
;
7854 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7855 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7859 bool temp6
= False
;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 PyObject
* obj2
= 0 ;
7863 PyObject
* obj3
= 0 ;
7864 PyObject
* obj4
= 0 ;
7865 PyObject
* obj5
= 0 ;
7867 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7873 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7885 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7890 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7896 arg6
= wxString_in_helper(obj5
);
7897 if (arg6
== NULL
) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= wxPyMake_wxObject(result
);
7925 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxGrid
*arg1
= (wxGrid
*) 0 ;
7930 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7934 PyObject
* obj2
= 0 ;
7935 PyObject
* obj3
= 0 ;
7937 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7952 arg4
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj3
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7970 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxGrid
*arg1
= (wxGrid
*) 0 ;
7973 WXGRIDSELECTIONMODES arg2
;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7977 (char *) "self",(char *) "selmode", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7983 arg2
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj1
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 (arg1
)->SetSelectionMode(arg2
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 Py_INCREF(Py_None
); resultobj
= Py_None
;
8000 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxGrid
*arg1
= (wxGrid
*) 0 ;
8003 WXGRIDSELECTIONMODES result
;
8004 PyObject
* obj0
= 0 ;
8006 (char *) "self", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= SWIG_PyObj_FromInt((int)result
);
8025 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
;
8027 wxGrid
*arg1
= (wxGrid
*) 0 ;
8029 PyObject
* obj0
= 0 ;
8031 (char *) "self", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (int)(arg1
)->GetNumberRows();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_PyObj_FromInt((int)result
);
8050 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8052 wxGrid
*arg1
= (wxGrid
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (int)(arg1
)->GetNumberCols();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= SWIG_PyObj_FromInt((int)result
);
8075 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxGrid
*arg1
= (wxGrid
*) 0 ;
8078 wxGridTableMessage
*arg2
= 0 ;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8083 (char *) "self","arg2", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8088 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8106 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxGrid
*arg1
= (wxGrid
*) 0 ;
8109 wxGridTableBase
*result
;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= wxPyMake_wxGridTableBase(result
);
8133 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxGrid
*arg1
= (wxGrid
*) 0 ;
8136 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8137 bool arg3
= (bool) False
;
8138 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8142 PyObject
* obj2
= 0 ;
8143 PyObject
* obj3
= 0 ;
8145 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8150 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8153 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8159 arg4
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj3
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8177 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxGrid
*arg1
= (wxGrid
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8182 (char *) "self", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 (arg1
)->ClearGrid();
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 Py_INCREF(Py_None
); resultobj
= Py_None
;
8201 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8203 wxGrid
*arg1
= (wxGrid
*) 0 ;
8204 int arg2
= (int) 0 ;
8205 int arg3
= (int) 1 ;
8206 bool arg4
= (bool) True
;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8210 PyObject
* obj2
= 0 ;
8211 PyObject
* obj3
= 0 ;
8213 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8220 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8226 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8232 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8250 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxGrid
*arg1
= (wxGrid
*) 0 ;
8253 int arg2
= (int) 1 ;
8254 bool arg3
= (bool) True
;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8258 PyObject
* obj2
= 0 ;
8260 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8267 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8273 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8291 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxGrid
*arg1
= (wxGrid
*) 0 ;
8294 int arg2
= (int) 0 ;
8295 int arg3
= (int) 1 ;
8296 bool arg4
= (bool) True
;
8298 PyObject
* obj0
= 0 ;
8299 PyObject
* obj1
= 0 ;
8300 PyObject
* obj2
= 0 ;
8301 PyObject
* obj3
= 0 ;
8303 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8310 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8316 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8322 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8340 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxGrid
*arg1
= (wxGrid
*) 0 ;
8343 int arg2
= (int) 0 ;
8344 int arg3
= (int) 1 ;
8345 bool arg4
= (bool) True
;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8350 PyObject
* obj3
= 0 ;
8352 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8359 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8365 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8371 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8389 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxGrid
*arg1
= (wxGrid
*) 0 ;
8392 int arg2
= (int) 1 ;
8393 bool arg3
= (bool) True
;
8395 PyObject
* obj0
= 0 ;
8396 PyObject
* obj1
= 0 ;
8397 PyObject
* obj2
= 0 ;
8399 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8412 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8430 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxGrid
*arg1
= (wxGrid
*) 0 ;
8433 int arg2
= (int) 0 ;
8434 int arg3
= (int) 1 ;
8435 bool arg4
= (bool) True
;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8439 PyObject
* obj2
= 0 ;
8440 PyObject
* obj3
= 0 ;
8442 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8449 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8455 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8461 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8479 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxGrid
*arg1
= (wxGrid
*) 0 ;
8483 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8486 PyObject
* obj2
= 0 ;
8488 (char *) "self",(char *) "dc",(char *) "attr", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8497 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 Py_INCREF(Py_None
); resultobj
= Py_None
;
8512 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxGrid
*arg1
= (wxGrid
*) 0 ;
8516 wxString
*arg3
= 0 ;
8518 int arg5
= (int) wxLEFT
;
8519 int arg6
= (int) wxTOP
;
8520 int arg7
= (int) wxHORIZONTAL
;
8521 bool temp3
= False
;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8526 PyObject
* obj3
= 0 ;
8527 PyObject
* obj4
= 0 ;
8528 PyObject
* obj5
= 0 ;
8529 PyObject
* obj6
= 0 ;
8531 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8541 arg3
= wxString_in_helper(obj2
);
8542 if (arg3
== NULL
) SWIG_fail
;
8547 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8551 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8557 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8563 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 Py_INCREF(Py_None
); resultobj
= Py_None
;
8589 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxGrid
*arg1
= (wxGrid
*) 0 ;
8593 wxArrayString
*arg3
= 0 ;
8594 long *arg4
= (long *) 0 ;
8595 long *arg5
= (long *) 0 ;
8596 bool temp3
= False
;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8601 PyObject
* obj2
= 0 ;
8603 (char *) "self",(char *) "dc",(char *) "lines", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8615 if (! PySequence_Check(obj2
)) {
8616 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8619 arg3
= new wxArrayString
;
8621 int i
, len
=PySequence_Length(obj2
);
8622 for (i
=0; i
<len
; i
++) {
8623 PyObject
* item
= PySequence_GetItem(obj2
, i
);
8625 PyObject
* str
= PyObject_Unicode(item
);
8627 PyObject
* str
= PyObject_Str(item
);
8629 arg3
->Add(Py2wxString(str
));
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 Py_INCREF(Py_None
); resultobj
= Py_None
;
8643 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8644 resultobj
= t_output_helper(resultobj
,o
);
8647 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
8648 resultobj
= t_output_helper(resultobj
,o
);
8651 if (temp3
) delete arg3
;
8656 if (temp3
) delete arg3
;
8662 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxGrid
*arg1
= (wxGrid
*) 0 ;
8665 PyObject
* obj0
= 0 ;
8667 (char *) "self", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
8671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 (arg1
)->BeginBatch();
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxGrid
*arg1
= (wxGrid
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8691 (char *) "self", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
8695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8710 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxGrid
*arg1
= (wxGrid
*) 0 ;
8714 PyObject
* obj0
= 0 ;
8716 (char *) "self", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (int)(arg1
)->GetBatchCount();
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= SWIG_PyObj_FromInt((int)result
);
8735 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxGrid
*arg1
= (wxGrid
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8740 (char *) "self", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
8744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 (arg1
)->ForceRefresh();
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 Py_INCREF(Py_None
); resultobj
= Py_None
;
8759 static PyObject
*_wrap_Grid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxGrid
*arg1
= (wxGrid
*) 0 ;
8762 bool arg2
= (bool) True
;
8763 wxRect
*arg3
= (wxRect
*) NULL
;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 PyObject
* obj2
= 0 ;
8768 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8775 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8780 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 Py_INCREF(Py_None
); resultobj
= Py_None
;
8796 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 wxGrid
*arg1
= (wxGrid
*) 0 ;
8800 PyObject
* obj0
= 0 ;
8802 (char *) "self", NULL
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
8806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (bool)(arg1
)->IsEditable();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8821 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxGrid
*arg1
= (wxGrid
*) 0 ;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8828 (char *) "self",(char *) "edit", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
8832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8834 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 (arg1
)->EnableEditing(arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxGrid
*arg1
= (wxGrid
*) 0 ;
8854 bool arg2
= (bool) True
;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8858 (char *) "self",(char *) "enable", NULL
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
8862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8865 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 (arg1
)->EnableCellEditControl(arg2
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 Py_INCREF(Py_None
); resultobj
= Py_None
;
8883 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
;
8885 wxGrid
*arg1
= (wxGrid
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "self", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->DisableCellEditControl();
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8907 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxGrid
*arg1
= (wxGrid
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8913 (char *) "self", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8932 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxGrid
*arg1
= (wxGrid
*) 0 ;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8957 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxGrid
*arg1
= (wxGrid
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8963 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8982 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxGrid
*arg1
= (wxGrid
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9007 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxGrid
*arg1
= (wxGrid
*) 0 ;
9010 PyObject
* obj0
= 0 ;
9012 (char *) "self", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 (arg1
)->ShowCellEditControl();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 Py_INCREF(Py_None
); resultobj
= Py_None
;
9031 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxGrid
*arg1
= (wxGrid
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "self", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 (arg1
)->HideCellEditControl();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 Py_INCREF(Py_None
); resultobj
= Py_None
;
9055 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxGrid
*arg1
= (wxGrid
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 (arg1
)->SaveEditControlValue();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 Py_INCREF(Py_None
); resultobj
= Py_None
;
9079 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxGrid
*arg1
= (wxGrid
*) 0 ;
9084 wxGridCellCoords result
;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9087 PyObject
* obj2
= 0 ;
9089 (char *) "self",(char *) "x",(char *) "y", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9095 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9099 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9110 wxGridCellCoords
* resultptr
;
9111 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9112 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
9120 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxGrid
*arg1
= (wxGrid
*) 0 ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9128 (char *) "self",(char *) "y", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9134 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (int)(arg1
)->YToRow(arg2
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_PyObj_FromInt((int)result
);
9151 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxGrid
*arg1
= (wxGrid
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9159 (char *) "self",(char *) "x", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 result
= (int)(arg1
)->XToCol(arg2
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= SWIG_PyObj_FromInt((int)result
);
9182 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxGrid
*arg1
= (wxGrid
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "self",(char *) "y", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9196 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_PyObj_FromInt((int)result
);
9213 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxGrid
*arg1
= (wxGrid
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9221 (char *) "self",(char *) "x", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_PyObj_FromInt((int)result
);
9244 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxGrid
*arg1
= (wxGrid
*) 0 ;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9252 PyObject
* obj2
= 0 ;
9254 (char *) "self",(char *) "row",(char *) "col", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9260 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9264 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (arg1
)->CellToRect(arg2
,arg3
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9276 resultptr
= new wxRect((wxRect
&) result
);
9277 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
9285 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxGrid
*arg1
= (wxGrid
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9291 (char *) "self", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (int)(arg1
)->GetGridCursorRow();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_PyObj_FromInt((int)result
);
9310 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxGrid
*arg1
= (wxGrid
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9316 (char *) "self", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (int)(arg1
)->GetGridCursorCol();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_PyObj_FromInt((int)result
);
9335 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxGrid
*arg1
= (wxGrid
*) 0 ;
9340 bool arg4
= (bool) True
;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9344 PyObject
* obj2
= 0 ;
9345 PyObject
* obj3
= 0 ;
9347 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9353 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9357 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9362 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9380 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxGrid
*arg1
= (wxGrid
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9389 (char *) "self",(char *) "row",(char *) "col", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9395 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9399 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->MakeCellVisible(arg2
,arg3
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 Py_INCREF(Py_None
); resultobj
= Py_None
;
9416 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxGrid
*arg1
= (wxGrid
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9422 PyObject
* obj1
= 0 ;
9423 PyObject
* obj2
= 0 ;
9425 (char *) "self",(char *) "row",(char *) "col", NULL
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9431 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 (arg1
)->SetGridCursor(arg2
,arg3
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 Py_INCREF(Py_None
); resultobj
= Py_None
;
9452 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxGrid
*arg1
= (wxGrid
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9458 PyObject
* obj1
= 0 ;
9460 (char *) "self",(char *) "expandSelection", NULL
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9466 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9483 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxGrid
*arg1
= (wxGrid
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9491 (char *) "self",(char *) "expandSelection", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9497 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9514 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxGrid
*arg1
= (wxGrid
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9522 (char *) "self",(char *) "expandSelection", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9528 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9545 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxGrid
*arg1
= (wxGrid
*) 0 ;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "self",(char *) "expandSelection", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9559 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9576 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxGrid
*arg1
= (wxGrid
*) 0 ;
9580 PyObject
* obj0
= 0 ;
9582 (char *) "self", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= (bool)(arg1
)->MovePageDown();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9601 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxGrid
*arg1
= (wxGrid
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9607 (char *) "self", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (bool)(arg1
)->MovePageUp();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9626 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxGrid
*arg1
= (wxGrid
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9634 (char *) "self",(char *) "expandSelection", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9640 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9657 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxGrid
*arg1
= (wxGrid
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9665 (char *) "self",(char *) "expandSelection", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9671 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxGrid
*arg1
= (wxGrid
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9696 (char *) "self",(char *) "expandSelection", NULL
9699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9702 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxGrid
*arg1
= (wxGrid
*) 0 ;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9727 (char *) "self",(char *) "expandSelection", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9733 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9750 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxGrid
*arg1
= (wxGrid
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (int)(arg1
)->GetDefaultRowLabelSize();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_PyObj_FromInt((int)result
);
9775 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxGrid
*arg1
= (wxGrid
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9781 (char *) "self", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (int)(arg1
)->GetRowLabelSize();
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_PyObj_FromInt((int)result
);
9800 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
;
9802 wxGrid
*arg1
= (wxGrid
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9806 (char *) "self", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (int)(arg1
)->GetDefaultColLabelSize();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_PyObj_FromInt((int)result
);
9825 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxGrid
*arg1
= (wxGrid
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (int)(arg1
)->GetColLabelSize();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_PyObj_FromInt((int)result
);
9850 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxGrid
*arg1
= (wxGrid
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (arg1
)->GetLabelBackgroundColour();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9869 wxColour
* resultptr
;
9870 resultptr
= new wxColour((wxColour
&) result
);
9871 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9879 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxGrid
*arg1
= (wxGrid
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9885 (char *) "self", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (arg1
)->GetLabelTextColour();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9898 wxColour
* resultptr
;
9899 resultptr
= new wxColour((wxColour
&) result
);
9900 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9908 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxGrid
*arg1
= (wxGrid
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (arg1
)->GetLabelFont();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9928 resultptr
= new wxFont((wxFont
&) result
);
9929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
9937 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxGrid
*arg1
= (wxGrid
*) 0 ;
9940 int *arg2
= (int *) 0 ;
9941 int *arg3
= (int *) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 Py_INCREF(Py_None
); resultobj
= Py_None
;
9962 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9963 resultobj
= t_output_helper(resultobj
,o
);
9966 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9967 resultobj
= t_output_helper(resultobj
,o
);
9975 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxGrid
*arg1
= (wxGrid
*) 0 ;
9978 int *arg2
= (int *) 0 ;
9979 int *arg3
= (int *) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 Py_INCREF(Py_None
); resultobj
= Py_None
;
10000 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10001 resultobj
= t_output_helper(resultobj
,o
);
10004 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10005 resultobj
= t_output_helper(resultobj
,o
);
10013 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxGrid
*arg1
= (wxGrid
*) 0 ;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (int)(arg1
)->GetColLabelTextOrientation();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_PyObj_FromInt((int)result
);
10038 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxGrid
*arg1
= (wxGrid
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 PyObject
* obj1
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self",(char *) "row", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10052 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (arg1
)->GetRowLabelValue(arg2
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10075 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxGrid
*arg1
= (wxGrid
*) 0 ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self",(char *) "col", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10089 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (arg1
)->GetColLabelValue(arg2
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10112 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
;
10114 wxGrid
*arg1
= (wxGrid
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (arg1
)->GetGridLineColour();
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10131 wxColour
* resultptr
;
10132 resultptr
= new wxColour((wxColour
&) result
);
10133 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10141 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxGrid
*arg1
= (wxGrid
*) 0 ;
10145 PyObject
* obj0
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (arg1
)->GetCellHighlightColour();
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10160 wxColour
* resultptr
;
10161 resultptr
= new wxColour((wxColour
&) result
);
10162 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10170 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxGrid
*arg1
= (wxGrid
*) 0 ;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_PyObj_FromInt((int)result
);
10195 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxGrid
*arg1
= (wxGrid
*) 0 ;
10199 PyObject
* obj0
= 0 ;
10200 char *kwnames
[] = {
10201 (char *) "self", NULL
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_PyObj_FromInt((int)result
);
10220 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxGrid
*arg1
= (wxGrid
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 PyObject
* obj1
= 0 ;
10226 char *kwnames
[] = {
10227 (char *) "self",(char *) "width", NULL
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10233 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 (arg1
)->SetRowLabelSize(arg2
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 Py_INCREF(Py_None
); resultobj
= Py_None
;
10250 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxGrid
*arg1
= (wxGrid
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 PyObject
* obj1
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self",(char *) "height", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10263 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->SetColLabelSize(arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxGrid
*arg1
= (wxGrid
*) 0 ;
10283 wxColour
*arg2
= 0 ;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self","arg2", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10295 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10311 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxGrid
*arg1
= (wxGrid
*) 0 ;
10314 wxColour
*arg2
= 0 ;
10316 PyObject
* obj0
= 0 ;
10317 PyObject
* obj1
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self","arg2", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 Py_INCREF(Py_None
); resultobj
= Py_None
;
10342 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxGrid
*arg1
= (wxGrid
*) 0 ;
10346 PyObject
* obj0
= 0 ;
10347 PyObject
* obj1
= 0 ;
10348 char *kwnames
[] = {
10349 (char *) "self","arg2", NULL
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10355 if (arg2
== NULL
) {
10356 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 Py_INCREF(Py_None
); resultobj
= Py_None
;
10372 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxGrid
*arg1
= (wxGrid
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 PyObject
* obj2
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10391 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 Py_INCREF(Py_None
); resultobj
= Py_None
;
10408 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxGrid
*arg1
= (wxGrid
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 PyObject
* obj1
= 0 ;
10415 PyObject
* obj2
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10423 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10427 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 Py_INCREF(Py_None
); resultobj
= Py_None
;
10444 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxGrid
*arg1
= (wxGrid
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self",(char *) "textOrientation", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10457 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 (arg1
)->SetColLabelTextOrientation(arg2
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 Py_INCREF(Py_None
); resultobj
= Py_None
;
10474 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxGrid
*arg1
= (wxGrid
*) 0 ;
10478 wxString
*arg3
= 0 ;
10479 bool temp3
= False
;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 PyObject
* obj2
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self",(char *) "row","arg3", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10490 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10494 arg3
= wxString_in_helper(obj2
);
10495 if (arg3
== NULL
) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxGrid
*arg1
= (wxGrid
*) 0 ;
10524 wxString
*arg3
= 0 ;
10525 bool temp3
= False
;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 PyObject
* obj2
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "col","arg3", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10536 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 arg3
= wxString_in_helper(obj2
);
10541 if (arg3
== NULL
) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 Py_INCREF(Py_None
); resultobj
= Py_None
;
10566 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxGrid
*arg1
= (wxGrid
*) 0 ;
10569 wxColour
*arg2
= 0 ;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self","arg2", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10581 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 Py_INCREF(Py_None
); resultobj
= Py_None
;
10597 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxGrid
*arg1
= (wxGrid
*) 0 ;
10600 wxColour
*arg2
= 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self","arg2", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10612 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 Py_INCREF(Py_None
); resultobj
= Py_None
;
10628 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxGrid
*arg1
= (wxGrid
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self",(char *) "width", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 (arg1
)->SetCellHighlightPenWidth(arg2
);
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 Py_INCREF(Py_None
); resultobj
= Py_None
;
10658 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxGrid
*arg1
= (wxGrid
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "width", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 (arg1
)->SetCellHighlightROPenWidth(arg2
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxGrid
*arg1
= (wxGrid
*) 0 ;
10691 bool arg2
= (bool) True
;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "enable", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10702 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 (arg1
)->EnableDragRowSize(arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 Py_INCREF(Py_None
); resultobj
= Py_None
;
10720 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxGrid
*arg1
= (wxGrid
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 (arg1
)->DisableDragRowSize();
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 Py_INCREF(Py_None
); resultobj
= Py_None
;
10744 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxGrid
*arg1
= (wxGrid
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (bool)(arg1
)->CanDragRowSize();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10769 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxGrid
*arg1
= (wxGrid
*) 0 ;
10772 bool arg2
= (bool) True
;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "enable", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10783 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 (arg1
)->EnableDragColSize(arg2
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 Py_INCREF(Py_None
); resultobj
= Py_None
;
10801 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxGrid
*arg1
= (wxGrid
*) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->DisableDragColSize();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxGrid
*arg1
= (wxGrid
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
10835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (bool)(arg1
)->CanDragColSize();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10850 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxGrid
*arg1
= (wxGrid
*) 0 ;
10853 bool arg2
= (bool) True
;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "enable", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10864 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 (arg1
)->EnableDragGridSize(arg2
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 Py_INCREF(Py_None
); resultobj
= Py_None
;
10882 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxGrid
*arg1
= (wxGrid
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 (arg1
)->DisableDragGridSize();
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 Py_INCREF(Py_None
); resultobj
= Py_None
;
10906 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxGrid
*arg1
= (wxGrid
*) 0 ;
10910 PyObject
* obj0
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (bool)(arg1
)->CanDragGridSize();
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10931 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxGrid
*arg1
= (wxGrid
*) 0 ;
10936 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 PyObject
* obj2
= 0 ;
10940 PyObject
* obj3
= 0 ;
10941 char *kwnames
[] = {
10942 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10948 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10952 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxGrid
*arg1
= (wxGrid
*) 0 ;
10974 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 PyObject
* obj1
= 0 ;
10977 PyObject
* obj2
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "row",(char *) "attr", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10985 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 (arg1
)->SetRowAttr(arg2
,arg3
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 Py_INCREF(Py_None
); resultobj
= Py_None
;
11003 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxGrid
*arg1
= (wxGrid
*) 0 ;
11007 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 PyObject
* obj1
= 0 ;
11010 PyObject
* obj2
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self",(char *) "col",(char *) "attr", NULL
11015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11018 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 (arg1
)->SetColAttr(arg2
,arg3
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 Py_INCREF(Py_None
); resultobj
= Py_None
;
11036 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxGrid
*arg1
= (wxGrid
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self",(char *) "col", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetColFormatBool(arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxGrid
*arg1
= (wxGrid
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "col", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 (arg1
)->SetColFormatNumber(arg2
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxGrid
*arg1
= (wxGrid
*) 0 ;
11100 int arg3
= (int) -1 ;
11101 int arg4
= (int) -1 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 PyObject
* obj2
= 0 ;
11105 PyObject
* obj3
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11113 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11118 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11124 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11142 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxGrid
*arg1
= (wxGrid
*) 0 ;
11146 wxString
*arg3
= 0 ;
11147 bool temp3
= False
;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 PyObject
* obj2
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self",(char *) "col",(char *) "typeName", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11158 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 arg3
= wxString_in_helper(obj2
);
11163 if (arg3
== NULL
) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxGrid
*arg1
= (wxGrid
*) 0 ;
11191 bool arg2
= (bool) True
;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self",(char *) "enable", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11202 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->EnableGridLines(arg2
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxGrid
*arg1
= (wxGrid
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (bool)(arg1
)->GridLinesEnabled();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11245 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxGrid
*arg1
= (wxGrid
*) 0 ;
11249 PyObject
* obj0
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (int)(arg1
)->GetDefaultRowSize();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= SWIG_PyObj_FromInt((int)result
);
11270 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxGrid
*arg1
= (wxGrid
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self",(char *) "row", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11284 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (int)(arg1
)->GetRowSize(arg2
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= SWIG_PyObj_FromInt((int)result
);
11301 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxGrid
*arg1
= (wxGrid
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (int)(arg1
)->GetDefaultColSize();
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_PyObj_FromInt((int)result
);
11326 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxGrid
*arg1
= (wxGrid
*) 0 ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "col", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11340 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (int)(arg1
)->GetColSize(arg2
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_PyObj_FromInt((int)result
);
11357 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxGrid
*arg1
= (wxGrid
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (arg1
)->GetDefaultCellBackgroundColour();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 wxColour
* resultptr
;
11377 resultptr
= new wxColour((wxColour
&) result
);
11378 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11386 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxGrid
*arg1
= (wxGrid
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 PyObject
* obj2
= 0 ;
11395 char *kwnames
[] = {
11396 (char *) "self",(char *) "row",(char *) "col", NULL
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11402 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 wxColour
* resultptr
;
11418 resultptr
= new wxColour((wxColour
&) result
);
11419 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11427 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxGrid
*arg1
= (wxGrid
*) 0 ;
11431 PyObject
* obj0
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (arg1
)->GetDefaultCellTextColour();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11446 wxColour
* resultptr
;
11447 resultptr
= new wxColour((wxColour
&) result
);
11448 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11456 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxGrid
*arg1
= (wxGrid
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 PyObject
* obj2
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "row",(char *) "col", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11472 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11476 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 wxColour
* resultptr
;
11488 resultptr
= new wxColour((wxColour
&) result
);
11489 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
11497 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxGrid
*arg1
= (wxGrid
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
11507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (arg1
)->GetDefaultCellFont();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 wxFont
* resultptr
;
11517 resultptr
= new wxFont((wxFont
&) result
);
11518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11526 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxGrid
*arg1
= (wxGrid
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "row",(char *) "col", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11542 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11546 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (arg1
)->GetCellFont(arg2
,arg3
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11557 wxFont
* resultptr
;
11558 resultptr
= new wxFont((wxFont
&) result
);
11559 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
11567 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11568 PyObject
*resultobj
;
11569 wxGrid
*arg1
= (wxGrid
*) 0 ;
11570 int *arg2
= (int *) 0 ;
11571 int *arg3
= (int *) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
11582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 Py_INCREF(Py_None
); resultobj
= Py_None
;
11592 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11593 resultobj
= t_output_helper(resultobj
,o
);
11596 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11597 resultobj
= t_output_helper(resultobj
,o
);
11605 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxGrid
*arg1
= (wxGrid
*) 0 ;
11610 int *arg4
= (int *) 0 ;
11611 int *arg5
= (int *) 0 ;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 PyObject
* obj2
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self",(char *) "row",(char *) "col", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11630 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 Py_INCREF(Py_None
); resultobj
= Py_None
;
11642 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11643 resultobj
= t_output_helper(resultobj
,o
);
11646 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11647 resultobj
= t_output_helper(resultobj
,o
);
11655 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxGrid
*arg1
= (wxGrid
*) 0 ;
11659 PyObject
* obj0
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "self", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
11665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (bool)(arg1
)->GetDefaultCellOverflow();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11680 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxGrid
*arg1
= (wxGrid
*) 0 ;
11686 PyObject
* obj0
= 0 ;
11687 PyObject
* obj1
= 0 ;
11688 PyObject
* obj2
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "row",(char *) "col", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11700 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11717 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxGrid
*arg1
= (wxGrid
*) 0 ;
11722 int *arg4
= (int *) 0 ;
11723 int *arg5
= (int *) 0 ;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 PyObject
* obj2
= 0 ;
11729 char *kwnames
[] = {
11730 (char *) "self",(char *) "row",(char *) "col", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11738 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 Py_INCREF(Py_None
); resultobj
= Py_None
;
11754 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11755 resultobj
= t_output_helper(resultobj
,o
);
11758 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11759 resultobj
= t_output_helper(resultobj
,o
);
11767 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxGrid
*arg1
= (wxGrid
*) 0 ;
11771 bool arg3
= (bool) False
;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 PyObject
* obj2
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11782 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11787 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 Py_INCREF(Py_None
); resultobj
= Py_None
;
11805 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxGrid
*arg1
= (wxGrid
*) 0 ;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 PyObject
* obj2
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "self",(char *) "row",(char *) "height", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11820 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11824 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 (arg1
)->SetRowSize(arg2
,arg3
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 Py_INCREF(Py_None
); resultobj
= Py_None
;
11841 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxGrid
*arg1
= (wxGrid
*) 0 ;
11845 bool arg3
= (bool) False
;
11846 PyObject
* obj0
= 0 ;
11847 PyObject
* obj1
= 0 ;
11848 PyObject
* obj2
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11861 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->SetDefaultColSize(arg2
,arg3
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxGrid
*arg1
= (wxGrid
*) 0 ;
11884 PyObject
* obj0
= 0 ;
11885 PyObject
* obj1
= 0 ;
11886 PyObject
* obj2
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "col",(char *) "width", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 (arg1
)->SetColSize(arg2
,arg3
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 Py_INCREF(Py_None
); resultobj
= Py_None
;
11915 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
;
11917 wxGrid
*arg1
= (wxGrid
*) 0 ;
11919 bool arg3
= (bool) True
;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 PyObject
* obj2
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11935 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 (arg1
)->AutoSizeColumn(arg2
,arg3
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 Py_INCREF(Py_None
); resultobj
= Py_None
;
11953 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxGrid
*arg1
= (wxGrid
*) 0 ;
11957 bool arg3
= (bool) True
;
11958 PyObject
* obj0
= 0 ;
11959 PyObject
* obj1
= 0 ;
11960 PyObject
* obj2
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11968 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11973 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 (arg1
)->AutoSizeRow(arg2
,arg3
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 Py_INCREF(Py_None
); resultobj
= Py_None
;
11991 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxGrid
*arg1
= (wxGrid
*) 0 ;
11994 bool arg2
= (bool) True
;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "setAsMin", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12005 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->AutoSizeColumns(arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 Py_INCREF(Py_None
); resultobj
= Py_None
;
12023 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxGrid
*arg1
= (wxGrid
*) 0 ;
12026 bool arg2
= (bool) True
;
12027 PyObject
* obj0
= 0 ;
12028 PyObject
* obj1
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self",(char *) "setAsMin", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12037 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 (arg1
)->AutoSizeRows(arg2
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 Py_INCREF(Py_None
); resultobj
= Py_None
;
12055 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxGrid
*arg1
= (wxGrid
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 (arg1
)->AutoSize();
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 Py_INCREF(Py_None
); resultobj
= Py_None
;
12079 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxGrid
*arg1
= (wxGrid
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self",(char *) "row", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12092 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->AutoSizeRowLabelSize(arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 Py_INCREF(Py_None
); resultobj
= Py_None
;
12109 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxGrid
*arg1
= (wxGrid
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self",(char *) "col", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 (arg1
)->AutoSizeColLabelSize(arg2
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 Py_INCREF(Py_None
); resultobj
= Py_None
;
12139 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxGrid
*arg1
= (wxGrid
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 PyObject
* obj2
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self",(char *) "col",(char *) "width", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12154 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 Py_INCREF(Py_None
); resultobj
= Py_None
;
12175 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxGrid
*arg1
= (wxGrid
*) 0 ;
12180 PyObject
* obj0
= 0 ;
12181 PyObject
* obj1
= 0 ;
12182 PyObject
* obj2
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "row",(char *) "width", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12194 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 Py_INCREF(Py_None
); resultobj
= Py_None
;
12211 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxGrid
*arg1
= (wxGrid
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "width", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12224 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxGrid
*arg1
= (wxGrid
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 PyObject
* obj1
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self",(char *) "width", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12254 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxGrid
*arg1
= (wxGrid
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_PyObj_FromInt((int)result
);
12296 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
;
12298 wxGrid
*arg1
= (wxGrid
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_PyObj_FromInt((int)result
);
12321 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxGrid
*arg1
= (wxGrid
*) 0 ;
12324 wxColour
*arg2
= 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self","arg2", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12336 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 Py_INCREF(Py_None
); resultobj
= Py_None
;
12352 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxGrid
*arg1
= (wxGrid
*) 0 ;
12357 wxColour
*arg4
= 0 ;
12359 PyObject
* obj0
= 0 ;
12360 PyObject
* obj1
= 0 ;
12361 PyObject
* obj2
= 0 ;
12362 PyObject
* obj3
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12370 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12379 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12395 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxGrid
*arg1
= (wxGrid
*) 0 ;
12398 wxColour
*arg2
= 0 ;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self","arg2", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 Py_INCREF(Py_None
); resultobj
= Py_None
;
12426 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxGrid
*arg1
= (wxGrid
*) 0 ;
12431 wxColour
*arg4
= 0 ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 PyObject
* obj2
= 0 ;
12436 PyObject
* obj3
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12444 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12453 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 Py_INCREF(Py_None
); resultobj
= Py_None
;
12469 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxGrid
*arg1
= (wxGrid
*) 0 ;
12473 PyObject
* obj0
= 0 ;
12474 PyObject
* obj1
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self","arg2", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12482 if (arg2
== NULL
) {
12483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxGrid
*arg1
= (wxGrid
*) 0 ;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 PyObject
* obj2
= 0 ;
12508 PyObject
* obj3
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12516 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12520 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12524 if (arg4
== NULL
) {
12525 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 Py_INCREF(Py_None
); resultobj
= Py_None
;
12541 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxGrid
*arg1
= (wxGrid
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 PyObject
* obj2
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "horiz",(char *) "vert", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12556 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12560 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 Py_INCREF(Py_None
); resultobj
= Py_None
;
12577 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxGrid
*arg1
= (wxGrid
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 PyObject
* obj2
= 0 ;
12587 PyObject
* obj3
= 0 ;
12588 PyObject
* obj4
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12596 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12608 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 Py_INCREF(Py_None
); resultobj
= Py_None
;
12625 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxGrid
*arg1
= (wxGrid
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "self",(char *) "allow", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
12636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12638 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 (arg1
)->SetDefaultCellOverflow(arg2
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 Py_INCREF(Py_None
); resultobj
= Py_None
;
12655 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxGrid
*arg1
= (wxGrid
*) 0 ;
12661 PyObject
* obj0
= 0 ;
12662 PyObject
* obj1
= 0 ;
12663 PyObject
* obj2
= 0 ;
12664 PyObject
* obj3
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12672 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12676 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12680 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 Py_INCREF(Py_None
); resultobj
= Py_None
;
12697 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxGrid
*arg1
= (wxGrid
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 PyObject
* obj1
= 0 ;
12706 PyObject
* obj2
= 0 ;
12707 PyObject
* obj3
= 0 ;
12708 PyObject
* obj4
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12716 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12724 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12728 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 Py_INCREF(Py_None
); resultobj
= Py_None
;
12745 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
;
12747 wxGrid
*arg1
= (wxGrid
*) 0 ;
12748 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
12749 PyObject
* obj0
= 0 ;
12750 PyObject
* obj1
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self",(char *) "renderer", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
12756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 (arg1
)->SetDefaultRenderer(arg2
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 Py_INCREF(Py_None
); resultobj
= Py_None
;
12772 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
;
12774 wxGrid
*arg1
= (wxGrid
*) 0 ;
12777 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 PyObject
* obj1
= 0 ;
12780 PyObject
* obj2
= 0 ;
12781 PyObject
* obj3
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12789 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12804 Py_INCREF(Py_None
); resultobj
= Py_None
;
12811 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxGrid
*arg1
= (wxGrid
*) 0 ;
12814 wxGridCellRenderer
*result
;
12815 PyObject
* obj0
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12838 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxGrid
*arg1
= (wxGrid
*) 0 ;
12843 wxGridCellRenderer
*result
;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 PyObject
* obj2
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self",(char *) "row",(char *) "col", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12854 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12858 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12877 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxGrid
*arg1
= (wxGrid
*) 0 ;
12880 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self",(char *) "editor", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
12888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 (arg1
)->SetDefaultEditor(arg2
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12904 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxGrid
*arg1
= (wxGrid
*) 0 ;
12909 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 PyObject
* obj3
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12921 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12925 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 Py_INCREF(Py_None
); resultobj
= Py_None
;
12943 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxGrid
*arg1
= (wxGrid
*) 0 ;
12946 wxGridCellEditor
*result
;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= wxPyMake_wxGridCellEditor(result
);
12970 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxGrid
*arg1
= (wxGrid
*) 0 ;
12975 wxGridCellEditor
*result
;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 PyObject
* obj2
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self",(char *) "row",(char *) "col", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12986 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= wxPyMake_wxGridCellEditor(result
);
13009 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxGrid
*arg1
= (wxGrid
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self",(char *) "row",(char *) "col", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13025 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13029 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13052 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxGrid
*arg1
= (wxGrid
*) 0 ;
13057 wxString
*arg4
= 0 ;
13058 bool temp4
= False
;
13059 PyObject
* obj0
= 0 ;
13060 PyObject
* obj1
= 0 ;
13061 PyObject
* obj2
= 0 ;
13062 PyObject
* obj3
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13070 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13078 arg4
= wxString_in_helper(obj3
);
13079 if (arg4
== NULL
) SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 Py_INCREF(Py_None
); resultobj
= Py_None
;
13104 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxGrid
*arg1
= (wxGrid
*) 0 ;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 PyObject
* obj2
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "row",(char *) "col", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13120 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13124 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13141 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxGrid
*arg1
= (wxGrid
*) 0 ;
13146 bool arg4
= (bool) True
;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj2
= 0 ;
13150 PyObject
* obj3
= 0 ;
13151 char *kwnames
[] = {
13152 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13158 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13167 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxGrid
*arg1
= (wxGrid
*) 0 ;
13189 bool arg3
= (bool) False
;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13200 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13205 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 (arg1
)->SelectRow(arg2
,arg3
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 Py_INCREF(Py_None
); resultobj
= Py_None
;
13223 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxGrid
*arg1
= (wxGrid
*) 0 ;
13227 bool arg3
= (bool) False
;
13228 PyObject
* obj0
= 0 ;
13229 PyObject
* obj1
= 0 ;
13230 PyObject
* obj2
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13238 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13243 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 (arg1
)->SelectCol(arg2
,arg3
);
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 Py_INCREF(Py_None
); resultobj
= Py_None
;
13261 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxGrid
*arg1
= (wxGrid
*) 0 ;
13268 bool arg6
= (bool) False
;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 PyObject
* obj2
= 0 ;
13272 PyObject
* obj3
= 0 ;
13273 PyObject
* obj4
= 0 ;
13274 PyObject
* obj5
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13282 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13299 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 Py_INCREF(Py_None
); resultobj
= Py_None
;
13317 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxGrid
*arg1
= (wxGrid
*) 0 ;
13320 PyObject
* obj0
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->SelectAll();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13341 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxGrid
*arg1
= (wxGrid
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= (bool)(arg1
)->IsSelection();
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13366 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
;
13368 wxGrid
*arg1
= (wxGrid
*) 0 ;
13369 PyObject
* obj0
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 (arg1
)->ClearSelection();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 Py_INCREF(Py_None
); resultobj
= Py_None
;
13390 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxGrid
*arg1
= (wxGrid
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 PyObject
* obj2
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self",(char *) "row",(char *) "col", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13410 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13427 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
;
13429 wxGrid
*arg1
= (wxGrid
*) 0 ;
13430 wxGridCellCoordsArray result
;
13431 PyObject
* obj0
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= wxGridCellCoordsArray_helper(result
);
13454 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxGrid
*arg1
= (wxGrid
*) 0 ;
13457 wxGridCellCoordsArray result
;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= wxGridCellCoordsArray_helper(result
);
13481 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxGrid
*arg1
= (wxGrid
*) 0 ;
13484 wxGridCellCoordsArray result
;
13485 PyObject
* obj0
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= wxGridCellCoordsArray_helper(result
);
13508 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxGrid
*arg1
= (wxGrid
*) 0 ;
13512 PyObject
* obj0
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= PyList_New(0);
13529 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13530 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13531 PyList_Append(resultobj
, val
);
13541 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13542 PyObject
*resultobj
;
13543 wxGrid
*arg1
= (wxGrid
*) 0 ;
13545 PyObject
* obj0
= 0 ;
13546 char *kwnames
[] = {
13547 (char *) "self", NULL
13550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
13551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= PyList_New(0);
13562 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13563 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13564 PyList_Append(resultobj
, val
);
13574 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxGrid
*arg1
= (wxGrid
*) 0 ;
13578 PyObject
* obj0
= 0 ;
13579 PyObject
* obj1
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self",(char *) "row", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13587 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 (arg1
)->DeselectRow(arg2
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 Py_INCREF(Py_None
); resultobj
= Py_None
;
13604 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxGrid
*arg1
= (wxGrid
*) 0 ;
13608 PyObject
* obj0
= 0 ;
13609 PyObject
* obj1
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self",(char *) "col", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->DeselectCol(arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 Py_INCREF(Py_None
); resultobj
= Py_None
;
13634 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxGrid
*arg1
= (wxGrid
*) 0 ;
13639 PyObject
* obj0
= 0 ;
13640 PyObject
* obj1
= 0 ;
13641 PyObject
* obj2
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self",(char *) "row",(char *) "col", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13653 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 (arg1
)->DeselectCell(arg2
,arg3
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxGrid
*arg1
= (wxGrid
*) 0 ;
13673 wxGridCellCoords
*arg2
= 0 ;
13674 wxGridCellCoords
*arg3
= 0 ;
13676 wxGridCellCoords temp2
;
13677 wxGridCellCoords temp3
;
13678 PyObject
* obj0
= 0 ;
13679 PyObject
* obj1
= 0 ;
13680 PyObject
* obj2
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13689 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
13693 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13703 wxRect
* resultptr
;
13704 resultptr
= new wxRect((wxRect
&) result
);
13705 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
13713 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxGrid
*arg1
= (wxGrid
*) 0 ;
13717 PyObject
* obj0
= 0 ;
13718 char *kwnames
[] = {
13719 (char *) "self", NULL
13722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
13723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13732 wxColour
* resultptr
;
13733 resultptr
= new wxColour((wxColour
&) result
);
13734 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
13742 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxGrid
*arg1
= (wxGrid
*) 0 ;
13746 PyObject
* obj0
= 0 ;
13747 char *kwnames
[] = {
13748 (char *) "self", NULL
13751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
13752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13761 wxColour
* resultptr
;
13762 resultptr
= new wxColour((wxColour
&) result
);
13763 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
13771 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxGrid
*arg1
= (wxGrid
*) 0 ;
13774 wxColour
*arg2
= 0 ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self",(char *) "c", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 Py_INCREF(Py_None
); resultobj
= Py_None
;
13802 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxGrid
*arg1
= (wxGrid
*) 0 ;
13805 wxColour
*arg2
= 0 ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "c", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13817 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 Py_INCREF(Py_None
); resultobj
= Py_None
;
13833 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxGrid
*arg1
= (wxGrid
*) 0 ;
13836 wxString
*arg2
= 0 ;
13837 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
13838 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13839 bool temp2
= False
;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 PyObject
* obj2
= 0 ;
13843 PyObject
* obj3
= 0 ;
13844 char *kwnames
[] = {
13845 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
13848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13851 arg2
= wxString_in_helper(obj1
);
13852 if (arg2
== NULL
) SWIG_fail
;
13855 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 Py_INCREF(Py_None
); resultobj
= Py_None
;
13879 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxGrid
*arg1
= (wxGrid
*) 0 ;
13884 wxGridCellEditor
*result
;
13885 PyObject
* obj0
= 0 ;
13886 PyObject
* obj1
= 0 ;
13887 PyObject
* obj2
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self",(char *) "row",(char *) "col", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= wxPyMake_wxGridCellEditor(result
);
13918 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxGrid
*arg1
= (wxGrid
*) 0 ;
13923 wxGridCellRenderer
*result
;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 PyObject
* obj2
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self",(char *) "row",(char *) "col", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13934 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13938 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= wxPyMake_wxGridCellRenderer(result
);
13957 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxGrid
*arg1
= (wxGrid
*) 0 ;
13960 wxString
*arg2
= 0 ;
13961 wxGridCellEditor
*result
;
13962 bool temp2
= False
;
13963 PyObject
* obj0
= 0 ;
13964 PyObject
* obj1
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self",(char *) "typeName", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13972 arg2
= wxString_in_helper(obj1
);
13973 if (arg2
== NULL
) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= wxPyMake_wxGridCellEditor(result
);
14000 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxGrid
*arg1
= (wxGrid
*) 0 ;
14003 wxString
*arg2
= 0 ;
14004 wxGridCellRenderer
*result
;
14005 bool temp2
= False
;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "typeName", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14015 arg2
= wxString_in_helper(obj1
);
14016 if (arg2
== NULL
) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= wxPyMake_wxGridCellRenderer(result
);
14043 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxGrid
*arg1
= (wxGrid
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 PyObject
* obj1
= 0 ;
14050 PyObject
* obj2
= 0 ;
14051 char *kwnames
[] = {
14052 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14058 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14062 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 (arg1
)->SetMargins(arg2
,arg3
);
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 Py_INCREF(Py_None
); resultobj
= Py_None
;
14079 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxGrid
*arg1
= (wxGrid
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self", NULL
14088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= wxPyMake_wxObject(result
);
14106 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxGrid
*arg1
= (wxGrid
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= wxPyMake_wxObject(result
);
14133 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
;
14135 wxGrid
*arg1
= (wxGrid
*) 0 ;
14137 PyObject
* obj0
= 0 ;
14138 char *kwnames
[] = {
14139 (char *) "self", NULL
14142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14146 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= wxPyMake_wxObject(result
);
14160 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxGrid
*arg1
= (wxGrid
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= wxPyMake_wxObject(result
);
14187 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
14189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14190 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14192 return Py_BuildValue((char *)"");
14194 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14198 wxGrid
*arg3
= (wxGrid
*) 0 ;
14199 int arg4
= (int) -1 ;
14200 int arg5
= (int) -1 ;
14201 int arg6
= (int) -1 ;
14202 int arg7
= (int) -1 ;
14203 bool arg8
= (bool) True
;
14204 bool arg9
= (bool) False
;
14205 bool arg10
= (bool) False
;
14206 bool arg11
= (bool) False
;
14207 bool arg12
= (bool) False
;
14208 wxGridEvent
*result
;
14209 PyObject
* obj0
= 0 ;
14210 PyObject
* obj1
= 0 ;
14211 PyObject
* obj2
= 0 ;
14212 PyObject
* obj3
= 0 ;
14213 PyObject
* obj4
= 0 ;
14214 PyObject
* obj5
= 0 ;
14215 PyObject
* obj6
= 0 ;
14216 PyObject
* obj7
= 0 ;
14217 PyObject
* obj8
= 0 ;
14218 PyObject
* obj9
= 0 ;
14219 PyObject
* obj10
= 0 ;
14220 PyObject
* obj11
= 0 ;
14221 char *kwnames
[] = {
14222 (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
14225 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
;
14227 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14231 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14237 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14243 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14249 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14255 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14261 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14267 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14273 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14279 arg11
= (bool) SWIG_PyObj_AsBool(obj10
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14285 arg12
= (bool) SWIG_PyObj_AsBool(obj11
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEvent
, 1);
14303 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (int)(arg1
)->GetRow();
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= SWIG_PyObj_FromInt((int)result
);
14328 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (int)(arg1
)->GetCol();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= SWIG_PyObj_FromInt((int)result
);
14353 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (arg1
)->GetPosition();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14372 wxPoint
* resultptr
;
14373 resultptr
= new wxPoint((wxPoint
&) result
);
14374 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14382 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
;
14384 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14386 PyObject
* obj0
= 0 ;
14387 char *kwnames
[] = {
14388 (char *) "self", NULL
14391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (bool)(arg1
)->Selecting();
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14407 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (bool)(arg1
)->ControlDown();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (bool)(arg1
)->MetaDown();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 char *kwnames
[] = {
14463 (char *) "self", NULL
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (bool)(arg1
)->ShiftDown();
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14482 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (bool)(arg1
)->AltDown();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14507 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14510 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14512 return Py_BuildValue((char *)"");
14514 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
;
14518 wxGrid
*arg3
= (wxGrid
*) 0 ;
14519 int arg4
= (int) -1 ;
14520 int arg5
= (int) -1 ;
14521 int arg6
= (int) -1 ;
14522 bool arg7
= (bool) False
;
14523 bool arg8
= (bool) False
;
14524 bool arg9
= (bool) False
;
14525 bool arg10
= (bool) False
;
14526 wxGridSizeEvent
*result
;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 PyObject
* obj2
= 0 ;
14530 PyObject
* obj3
= 0 ;
14531 PyObject
* obj4
= 0 ;
14532 PyObject
* obj5
= 0 ;
14533 PyObject
* obj6
= 0 ;
14534 PyObject
* obj7
= 0 ;
14535 PyObject
* obj8
= 0 ;
14536 PyObject
* obj9
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14543 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14547 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14553 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14559 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14565 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14571 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14577 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14583 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14589 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizeEvent
, 1);
14607 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (int)(arg1
)->GetRowOrCol();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_PyObj_FromInt((int)result
);
14632 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14636 PyObject
* obj0
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (arg1
)->GetPosition();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14651 wxPoint
* resultptr
;
14652 resultptr
= new wxPoint((wxPoint
&) result
);
14653 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14661 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= (bool)(arg1
)->ControlDown();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14686 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (bool)(arg1
)->MetaDown();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14711 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14715 PyObject
* obj0
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "self", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14724 result
= (bool)(arg1
)->ShiftDown();
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14736 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (bool)(arg1
)->AltDown();
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14761 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14764 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
14766 return Py_BuildValue((char *)"");
14768 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14772 wxGrid
*arg3
= (wxGrid
*) 0 ;
14773 wxGridCellCoords
*arg4
= 0 ;
14774 wxGridCellCoords
*arg5
= 0 ;
14775 bool arg6
= (bool) True
;
14776 bool arg7
= (bool) False
;
14777 bool arg8
= (bool) False
;
14778 bool arg9
= (bool) False
;
14779 bool arg10
= (bool) False
;
14780 wxGridRangeSelectEvent
*result
;
14781 wxGridCellCoords temp4
;
14782 wxGridCellCoords temp5
;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 PyObject
* obj2
= 0 ;
14786 PyObject
* obj3
= 0 ;
14787 PyObject
* obj4
= 0 ;
14788 PyObject
* obj5
= 0 ;
14789 PyObject
* obj6
= 0 ;
14790 PyObject
* obj7
= 0 ;
14791 PyObject
* obj8
= 0 ;
14792 PyObject
* obj9
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
14799 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14809 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
14813 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
14817 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14823 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14829 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14835 arg9
= (bool) SWIG_PyObj_AsBool(obj8
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14841 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
14859 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14862 wxGridCellCoords result
;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (arg1
)->GetTopLeftCoords();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 wxGridCellCoords
* resultptr
;
14879 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
14888 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14891 wxGridCellCoords result
;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (arg1
)->GetBottomRightCoords();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 wxGridCellCoords
* resultptr
;
14908 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
14909 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
14917 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (int)(arg1
)->GetTopRow();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_PyObj_FromInt((int)result
);
14942 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (int)(arg1
)->GetBottomRow();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_PyObj_FromInt((int)result
);
14967 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (int)(arg1
)->GetLeftCol();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_PyObj_FromInt((int)result
);
14992 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
;
14994 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (int)(arg1
)->GetRightCol();
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_PyObj_FromInt((int)result
);
15017 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (bool)(arg1
)->Selecting();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15042 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (bool)(arg1
)->ControlDown();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15067 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15071 PyObject
* obj0
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (bool)(arg1
)->MetaDown();
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15092 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15096 PyObject
* obj0
= 0 ;
15097 char *kwnames
[] = {
15098 (char *) "self", NULL
15101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (bool)(arg1
)->ShiftDown();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15117 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (bool)(arg1
)->AltDown();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15142 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15145 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15147 return Py_BuildValue((char *)"");
15149 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15153 wxObject
*arg3
= (wxObject
*) 0 ;
15156 wxControl
*arg6
= (wxControl
*) 0 ;
15157 wxGridEditorCreatedEvent
*result
;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 PyObject
* obj2
= 0 ;
15161 PyObject
* obj3
= 0 ;
15162 PyObject
* obj4
= 0 ;
15163 PyObject
* obj5
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15170 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15179 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15183 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15201 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (int)(arg1
)->GetRow();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15219 resultobj
= SWIG_PyObj_FromInt((int)result
);
15226 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (int)(arg1
)->GetCol();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_PyObj_FromInt((int)result
);
15251 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (wxControl
*)(arg1
)->GetControl();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= wxPyMake_wxObject(result
);
15278 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 PyObject
* obj1
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self",(char *) "row", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 (arg1
)->SetRow(arg2
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 Py_INCREF(Py_None
); resultobj
= Py_None
;
15308 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
;
15310 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 PyObject
* obj1
= 0 ;
15314 char *kwnames
[] = {
15315 (char *) "self",(char *) "col", NULL
15318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15321 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 (arg1
)->SetCol(arg2
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 Py_INCREF(Py_None
); resultobj
= Py_None
;
15338 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15341 wxControl
*arg2
= (wxControl
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 PyObject
* obj1
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self",(char *) "ctrl", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 (arg1
)->SetControl(arg2
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 Py_INCREF(Py_None
); resultobj
= Py_None
;
15365 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15368 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15370 return Py_BuildValue((char *)"");
15372 static PyMethodDef SwigMethods
[] = {
15373 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15374 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15375 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15376 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15377 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15378 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15379 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15380 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
15381 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15382 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15383 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15384 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
15385 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15386 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
15387 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15388 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
15389 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15390 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15391 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15392 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15393 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15394 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
15395 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15396 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
15397 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15398 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
15399 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15400 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
15401 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15402 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
15403 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15404 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15405 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15406 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15407 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15408 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15409 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15410 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15411 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15412 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15413 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15414 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15415 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15416 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15417 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15418 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15419 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15420 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15421 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15422 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15423 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15424 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15425 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
15426 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15427 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15428 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15429 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15430 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15431 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15432 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15433 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15434 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15435 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15436 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15437 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
15438 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15439 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15440 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
15441 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15442 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15443 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
15444 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15445 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15446 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
15447 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15448 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15449 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
15450 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15451 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15452 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
15453 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15454 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15455 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
15456 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15457 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15458 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
15459 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15460 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15461 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15462 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15463 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15464 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15465 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15466 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15467 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15468 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15469 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15470 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15471 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15472 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15473 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15474 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15475 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15476 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15477 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15478 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15479 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15480 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15481 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15482 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15483 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15484 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15485 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15486 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15487 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15488 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15489 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15490 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15491 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15492 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15493 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
15494 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15495 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15496 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15497 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15498 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15499 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15500 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15501 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15502 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
15503 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15504 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15505 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15506 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15507 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15508 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15509 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
15510 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15511 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15512 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15513 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15514 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15515 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15516 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15517 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15518 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15519 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15520 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15521 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15522 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15523 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15524 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15525 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15526 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15527 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15528 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15529 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15530 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15531 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15532 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15533 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15534 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15535 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15536 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15537 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15538 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15539 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15540 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15541 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15542 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15543 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15544 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15545 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
15546 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15547 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15548 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15549 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15550 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15551 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15552 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15553 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15554 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15555 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15556 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15557 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15558 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15559 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15560 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15561 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15562 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15563 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15564 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15565 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15566 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15567 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15568 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
15569 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15570 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
15571 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15572 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15573 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15574 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15575 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15576 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15577 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15578 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15579 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15580 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15581 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
15582 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15583 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15584 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15585 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15586 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15587 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15588 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15589 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15590 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15591 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
15592 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
15593 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
15594 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15595 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15596 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15597 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15598 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15599 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15600 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15601 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15602 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15603 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15604 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15605 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15606 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15607 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15608 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15609 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15610 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15611 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15612 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15613 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15614 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15615 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15616 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
15617 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15618 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15619 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15620 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15621 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15622 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15623 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15624 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15625 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15626 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15627 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15628 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15629 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15630 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15631 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15632 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15633 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15634 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15635 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15636 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15637 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15638 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15639 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15640 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15641 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15642 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15643 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15644 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15645 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15646 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15647 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15648 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15649 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15650 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15651 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15652 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15653 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15654 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15655 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15656 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15657 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15658 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15659 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15660 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15661 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15662 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15663 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15664 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15665 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15666 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15667 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15668 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15669 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15670 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15671 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15672 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15673 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15674 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15675 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15676 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15677 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15678 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15679 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15680 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15681 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15682 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15683 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15684 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15685 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15686 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15687 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15688 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15689 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15690 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15691 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15692 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15693 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15694 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15695 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15696 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15697 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15698 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15699 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15700 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15701 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15702 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15703 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15704 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15705 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15706 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15707 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15708 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15709 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15710 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15711 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15712 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15713 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15714 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15715 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15716 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15717 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15718 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15719 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15720 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15721 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15722 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15723 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15724 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15725 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15726 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15727 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15728 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15729 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15730 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15731 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15732 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15733 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15734 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15735 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15736 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15737 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15738 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15739 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15740 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15741 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15742 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15743 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15744 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15745 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15746 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15747 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15748 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15749 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15750 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15751 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15752 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15753 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15754 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15755 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15756 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15757 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15758 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15759 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15760 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15761 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15762 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15763 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15764 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15765 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15766 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15767 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
15768 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15769 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15770 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15771 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15772 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
15773 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
15774 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
15775 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
15776 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
15777 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
15778 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
15779 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15780 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15781 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15782 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
15783 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
15784 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15785 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15786 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15787 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15788 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15789 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15790 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15791 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15792 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
15793 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
15794 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
15795 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15796 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15797 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15798 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15799 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15800 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
15801 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
15802 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
15803 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
15804 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
15805 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
15806 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
15807 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
15808 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15809 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15810 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15811 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15812 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15813 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
15814 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
15815 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15816 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15817 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15818 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15819 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15820 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15821 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
15826 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15828 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
15829 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
15831 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
15832 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
15834 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
15835 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15837 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
15838 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15840 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
15841 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
15843 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
15844 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15846 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
15847 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15849 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
15850 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15852 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
15853 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
15855 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
15856 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
15858 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
15859 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
15861 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
15862 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
15864 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
15865 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
15867 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
15868 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
15870 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
15871 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15873 static void *_p_wxGridTo_p_wxPanel(void *x
) {
15874 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
15876 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
15877 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15879 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
15880 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15882 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
15883 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
15885 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
15886 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15888 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
15889 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
15891 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
15892 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15894 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
15895 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15897 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
15898 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15900 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
15901 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15903 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
15904 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
15906 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
15907 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
15909 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
15910 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15912 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
15913 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
15915 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
15916 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
15918 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
15919 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
15921 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
15922 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
15924 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
15925 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
15927 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
15928 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
15930 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
15931 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
15933 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
15934 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
15936 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
15937 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
15939 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
15940 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
15942 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
15943 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
15945 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
15946 return (void *)((wxWindow
*) ((wxPanel
*) x
));
15948 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
15949 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
15951 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
15952 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
15954 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
15955 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
15957 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
15958 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
15960 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
15961 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
15963 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
15964 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
15966 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
15967 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
15969 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
15970 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
15972 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
15973 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
15975 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
15976 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
15978 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
15979 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
15981 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
15982 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
15984 static void *_p_wxControlTo_p_wxWindow(void *x
) {
15985 return (void *)((wxWindow
*) ((wxControl
*) x
));
15987 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
15988 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15990 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
15991 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15993 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
15994 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15996 static void *_p_wxGridTo_p_wxWindow(void *x
) {
15997 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15999 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16000 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16002 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
16003 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
16005 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
16006 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16008 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16009 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16011 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16012 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16014 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16015 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16017 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16018 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16020 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16021 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16023 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16024 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16026 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16027 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16029 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16030 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16032 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16033 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16035 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16036 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16038 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16039 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16041 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16042 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16044 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16045 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16047 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16050 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16051 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16053 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16054 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16056 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16057 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16059 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16060 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16062 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16063 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16065 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16066 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16068 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16069 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16071 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16074 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16075 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16077 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16078 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16080 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16081 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16083 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16084 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16086 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16087 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16089 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16090 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16092 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16095 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16096 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16098 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16099 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16101 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16102 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16104 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16105 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16107 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16108 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16110 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16111 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16113 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16114 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16116 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16117 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16119 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16120 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16122 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16123 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16125 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16126 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16128 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16129 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16131 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16132 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16134 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16135 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16137 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16138 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16140 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16143 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16144 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16146 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16147 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16149 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16150 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16152 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16153 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16155 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16156 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16158 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16159 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16161 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16162 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16164 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16167 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16168 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16170 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16171 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16173 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16174 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16176 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16177 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16179 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16180 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16182 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16183 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16185 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16186 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16188 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16191 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16194 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16195 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16197 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16198 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16200 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16201 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16203 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16204 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16206 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16207 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16209 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16210 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16212 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16213 return (void *)((wxObject
*) ((wxSizer
*) x
));
16215 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16216 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16218 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16221 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16224 static void *_p_wxEventTo_p_wxObject(void *x
) {
16225 return (void *)((wxObject
*) ((wxEvent
*) x
));
16227 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16228 return (void *)((wxObject
*) ((wxFontData
*) x
));
16230 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16231 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16233 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16234 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16236 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16237 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16239 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16240 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16242 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16243 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16245 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16246 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16248 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16251 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16252 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16254 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16255 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16257 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16258 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16260 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16261 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16263 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16264 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16266 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16267 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16269 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16270 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16272 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16275 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16278 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16281 static void *_p_wxControlTo_p_wxObject(void *x
) {
16282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16284 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16285 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16287 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16290 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16291 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16293 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16294 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16296 static void *_p_wxGridTo_p_wxObject(void *x
) {
16297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16299 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16300 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16302 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16305 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16306 return (void *)((wxObject
*) ((wxColourData
*) x
));
16308 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16309 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16311 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16314 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16317 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16320 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16323 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16326 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16329 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16332 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16335 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16338 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16341 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16342 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16344 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16345 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16347 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16348 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16350 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16351 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16353 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16356 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16357 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16359 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16360 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16362 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16363 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16365 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16366 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16368 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16369 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16371 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16372 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16374 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16377 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16378 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16380 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16381 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16383 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16384 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16386 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16387 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16389 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16390 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16392 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16393 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16395 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16396 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16398 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16399 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16401 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16402 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16404 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16405 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16407 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16408 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16410 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16413 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16414 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16416 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16417 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16419 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16422 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16425 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16428 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16429 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16431 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16434 static void *_p_wxImageTo_p_wxObject(void *x
) {
16435 return (void *)((wxObject
*) ((wxImage
*) x
));
16437 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16440 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16441 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16443 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16444 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16446 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16447 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16449 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16452 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16453 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16455 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16458 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16459 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16461 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16462 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16464 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16465 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16467 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16468 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16470 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16473 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16476 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16479 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16482 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16485 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16486 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16488 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16491 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16494 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16497 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16500 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16503 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
16504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
16506 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
16507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
16509 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
16510 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
16512 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
16513 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
16515 static void *_p_wxPanelTo_p_wxObject(void *x
) {
16516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
16518 static void *_p_wxDialogTo_p_wxObject(void *x
) {
16519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16521 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
16522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16524 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
16525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16527 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
16528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16530 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
16531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16533 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
16534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16536 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16537 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16539 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16542 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16543 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16545 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16546 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16548 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16549 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16551 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16552 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16554 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16555 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16557 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
16558 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
16560 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
16561 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16563 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16564 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16566 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16567 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16569 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
16570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16572 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
16573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16575 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16576 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16578 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16579 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16581 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16584 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16587 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
16588 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
16590 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
16591 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
16593 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16596 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16597 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16599 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
16600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16602 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
16603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16605 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
16606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16608 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
16609 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
16611 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
16612 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
16614 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
16615 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
16617 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
16618 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
16620 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
16621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16623 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
16624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16626 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
16627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16629 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
16630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16632 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
16633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16635 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
16636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16638 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
16639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16641 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
16642 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
16644 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
16645 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
16647 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
16648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16650 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
16651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16653 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
16654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16656 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
16657 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
16659 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
16660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16662 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
16663 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
16665 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
16666 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
16668 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
16669 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
16671 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
16672 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
16674 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
16675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16677 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
16678 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
16680 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
16681 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
16683 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
16684 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
16686 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
16687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16689 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
16690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16692 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
16693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16695 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
16696 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
16698 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
16699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16701 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
16702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16704 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
16705 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
16707 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
16708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16710 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
16711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16713 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
16714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16716 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
16719 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
16720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16722 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
16723 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16725 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
16726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16728 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
16729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16731 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
16732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16734 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
16735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16737 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
16738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
16740 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
16741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16743 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
16744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16746 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
16747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16749 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
16750 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
16752 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
16753 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
16755 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
16756 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
16758 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
16759 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
16761 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
16762 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16764 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
16765 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16767 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
16768 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
16770 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
16771 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
16773 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
16774 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16776 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
16777 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16779 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
16780 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
16782 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
16783 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
16785 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
16786 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
16788 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
16789 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
16791 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
16792 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16794 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
16795 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16797 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
16798 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
16800 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
16801 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16803 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
16804 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16806 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
16807 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16809 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
16810 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16812 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
16813 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16815 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
16816 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16818 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
16819 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
16821 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
16822 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16824 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
16825 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16827 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
16828 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16830 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
16831 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16833 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
16834 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
16836 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
16837 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
16839 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
16840 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
16841 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
16842 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
16843 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
16844 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
16845 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
16846 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}};
16847 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}};
16848 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
16849 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
16850 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
16851 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
16852 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
16853 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
16854 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}};
16855 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}};
16856 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
16857 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
16858 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
16859 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}};
16860 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}};
16861 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
16862 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
16863 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}};
16864 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}};
16865 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
16866 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
16867 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
16868 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
16869 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}};
16870 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
16871 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
16872 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
16873 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}};
16874 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
16875 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
16876 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}};
16877 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}};
16878 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
16879 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
16880 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
16881 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
16882 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
16883 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}};
16884 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
},{0}};
16885 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
16886 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
},{0}};
16887 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
16888 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
16889 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16890 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
16892 static swig_type_info
*swig_types_initial
[] = {
16893 _swigt__p_wxGridCellAutoWrapStringRenderer
,
16894 _swigt__p_wxGridCellEnumRenderer
,
16895 _swigt__p_wxGridCellDateTimeRenderer
,
16896 _swigt__p_wxGridCellBoolRenderer
,
16897 _swigt__p_wxGridCellFloatRenderer
,
16898 _swigt__p_wxGridCellNumberRenderer
,
16899 _swigt__p_wxPyGridCellRenderer
,
16900 _swigt__p_wxGridCellRenderer
,
16901 _swigt__p_wxGridCellStringRenderer
,
16902 _swigt__p_wxGridCellAttr
,
16903 _swigt__p_wxColour
,
16905 _swigt__p_wxGridTableMessage
,
16909 _swigt__p_wxNotifyEvent
,
16910 _swigt__p_wxGridRangeSelectEvent
,
16912 _swigt__p_wxGridCellCoords
,
16913 _swigt__p_wxScrolledWindow
,
16914 _swigt__p_wxWindow
,
16916 _swigt__p_wxControl
,
16918 _swigt__p_wxObject
,
16919 _swigt__p_wxGridSizeEvent
,
16922 _swigt__p_wxString
,
16923 _swigt__p_wxEvtHandler
,
16925 _swigt__p_wxGridEvent
,
16926 _swigt__p_wxGridEditorCreatedEvent
,
16927 _swigt__p_wxGridTableBase
,
16928 _swigt__p_wxGridCellNumberEditor
,
16929 _swigt__p_wxPyGridCellEditor
,
16930 _swigt__p_wxGridCellEditor
,
16931 _swigt__p_wxGridCellTextEditor
,
16932 _swigt__p_wxGridCellFloatEditor
,
16933 _swigt__p_wxGridCellBoolEditor
,
16934 _swigt__p_wxPyGridTableBase
,
16935 _swigt__p_wxGridStringTable
,
16936 _swigt__p_wxArrayString
,
16937 _swigt__p_wxCommandEvent
,
16938 _swigt__p_wxGridCellAttrProvider
,
16939 _swigt__p_wxKeyEvent
,
16940 _swigt__p_wxGridCellChoiceEditor
,
16941 _swigt__p_wxGridCellEnumEditor
,
16942 _swigt__p_wxGridCellAutoWrapStringEditor
,
16944 _swigt__p_wxPyGridCellAttrProvider
,
16949 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16951 static swig_const_info swig_const_table
[] = {
16952 { SWIG_PY_STRING
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
16953 { SWIG_PY_STRING
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
16954 { SWIG_PY_STRING
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
16955 { SWIG_PY_STRING
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
16956 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
16957 { SWIG_PY_STRING
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
16958 { SWIG_PY_STRING
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
16959 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
16960 { SWIG_PY_STRING
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
16970 SWIGEXPORT(void) SWIG_init(void) {
16971 static PyObject
*SWIG_globals
= 0;
16972 static int typeinit
= 0;
16975 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
16976 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
16977 d
= PyModule_GetDict(m
);
16980 for (i
= 0; swig_types_initial
[i
]; i
++) {
16981 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
16985 SWIG_InstallConstants(d
,swig_const_table
);
16987 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
16988 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
16989 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
16990 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
16991 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_PyObj_FromInt((int)wxGridCellAttr::Any
));
16992 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_PyObj_FromInt((int)wxGridCellAttr::Default
));
16993 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_PyObj_FromInt((int)wxGridCellAttr::Cell
));
16994 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_PyObj_FromInt((int)wxGridCellAttr::Row
));
16995 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_PyObj_FromInt((int)wxGridCellAttr::Col
));
16996 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_PyObj_FromInt((int)wxGridCellAttr::Merged
));
16997 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_PyObj_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
16998 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_PyObj_FromInt((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
16999 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
17000 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
17001 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
17002 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
17003 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
17004 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_PyObj_FromInt((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
17005 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectCells
));
17006 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectRows
));
17007 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_PyObj_FromInt((int)wxGrid::wxGridSelectColumns
));
17008 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17009 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17010 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17011 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17012 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17013 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17014 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17015 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17016 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17017 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17018 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17019 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17020 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17021 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17022 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17023 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));