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 SWIGSTATIC(PyObject
*)
903 SWIG_PyObj_FromBool(bool value
)
905 PyObject
*obj
= value
? Py_True
: Py_False
;
911 class wxPyGridCellEditor
: public wxGridCellEditor
914 wxPyGridCellEditor() : wxGridCellEditor() {}
916 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
917 wxPyBeginBlockThreads();
918 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
919 PyObject
* po
= wxPyMake_wxObject(parent
);
920 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
922 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
926 wxPyEndBlockThreads();
930 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
931 wxPyBeginBlockThreads();
932 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
933 PyObject
* go
= wxPyMake_wxObject(grid
);
934 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
937 wxPyEndBlockThreads();
941 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
943 wxPyBeginBlockThreads();
944 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
945 PyObject
* go
= wxPyMake_wxObject(grid
);
946 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
949 wxPyEndBlockThreads();
954 wxGridCellEditor
* Clone() const {
955 wxGridCellEditor
* rval
= NULL
;
956 wxPyBeginBlockThreads();
957 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
959 wxGridCellEditor
* ptr
;
960 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
962 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
967 wxPyEndBlockThreads();
972 void Show(bool show
, wxGridCellAttr
*attr
) {
974 wxPyBeginBlockThreads();
975 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
976 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
977 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
980 wxPyEndBlockThreads();
982 wxGridCellEditor::Show(show
, attr
);
984 void base_Show(bool show
, wxGridCellAttr
*attr
) {
985 wxGridCellEditor::Show(show
, attr
);
989 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
991 wxPyBeginBlockThreads();
992 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
993 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
994 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
996 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
1001 wxPyEndBlockThreads();
1003 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1005 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1006 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1010 DEC_PYCALLBACK___pure(Reset
);
1011 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1012 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1013 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1014 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1015 DEC_PYCALLBACK__(StartingClick
);
1016 DEC_PYCALLBACK__(Destroy
);
1017 DEC_PYCALLBACK__STRING(SetParameters
);
1018 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1024 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1025 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1026 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1027 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1028 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1029 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1030 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1031 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1032 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1035 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1036 self
->SetClientObject(new wxPyOORClientData(_self
));
1039 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1045 } else if (target
== Py_None
) {
1049 if (!PyTuple_Check(target
)) {
1051 target
= PyTuple_New(1);
1052 PyTuple_SetItem(target
, 0, o2
);
1054 o3
= PyTuple_New(1);
1055 PyTuple_SetItem(o3
, 0, o
);
1058 target
= PySequence_Concat(o2
, o3
);
1065 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1066 self
->SetClientObject(new wxPyOORClientData(_self
));
1069 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1072 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1074 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1075 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1076 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1077 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1082 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1083 self
->SetClientObject(new wxPyOORClientData(_self
));
1087 SWIG_PyObj_AsLong(PyObject
* obj
)
1089 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
1094 SWIG_PyObj_AsDouble(PyObject
*obj
)
1096 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1098 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1100 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1102 if (PyErr_Occurred()) {
1104 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1109 class wxPyGridTableBase
: public wxGridTableBase
1112 wxPyGridTableBase() : wxGridTableBase() {}
1114 PYCALLBACK_INT__pure(GetNumberRows
);
1115 PYCALLBACK_INT__pure(GetNumberCols
);
1116 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1117 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1118 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1119 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1120 PYCALLBACK__(wxGridTableBase
, Clear
);
1121 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1122 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1123 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1124 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1125 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1126 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1127 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1128 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1129 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1130 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1131 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1132 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1133 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1134 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1135 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1138 wxString
GetValue(int row
, int col
) {
1139 wxPyBeginBlockThreads();
1141 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1143 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1145 rval
= Py2wxString(ro
);
1149 wxPyEndBlockThreads();
1153 void SetValue(int row
, int col
, const wxString
& val
) {
1154 wxPyBeginBlockThreads();
1155 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1156 PyObject
* s
= wx2PyString(val
);
1157 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1160 wxPyEndBlockThreads();
1164 // Map the Get/Set methods for the standard non-string types to
1165 // the GetValue and SetValue python methods.
1166 long GetValueAsLong( int row
, int col
) {
1168 wxPyBeginBlockThreads();
1169 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1172 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1173 if (ro
&& PyNumber_Check(ro
)) {
1174 num
= PyNumber_Int(ro
);
1176 rval
= PyInt_AsLong(num
);
1182 wxPyEndBlockThreads();
1186 double GetValueAsDouble( int row
, int col
) {
1188 wxPyBeginBlockThreads();
1189 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1192 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1193 if (ro
&& PyNumber_Check(ro
)) {
1194 num
= PyNumber_Float(ro
);
1196 rval
= PyFloat_AsDouble(num
);
1202 wxPyEndBlockThreads();
1206 bool GetValueAsBool( int row
, int col
) {
1207 return (bool)GetValueAsLong(row
, col
);
1210 void SetValueAsLong( int row
, int col
, long value
) {
1211 wxPyBeginBlockThreads();
1212 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1213 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1215 wxPyEndBlockThreads();
1218 void SetValueAsDouble( int row
, int col
, double value
) {
1219 wxPyBeginBlockThreads();
1220 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1221 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1223 wxPyEndBlockThreads();
1226 void SetValueAsBool( int row
, int col
, bool value
) {
1227 SetValueAsLong( row
, col
, (long)value
);
1234 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1235 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1236 PyObject
* tup
= PyTuple_New(2);
1237 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1238 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1242 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1244 // If source is an object instance then it may already be the right type
1245 if (wxPySwigInstance_Check(source
)) {
1246 wxGridCellCoords
* ptr
;
1247 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1252 // otherwise a 2-tuple of integers is expected
1253 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1254 PyObject
* o1
= PySequence_GetItem(source
, 0);
1255 PyObject
* o2
= PySequence_GetItem(source
, 1);
1256 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1261 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1268 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1273 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1276 if (wxPySwigInstance_Check(source
) &&
1277 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1281 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1288 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1290 PyObject
* list
= PyList_New(0);
1292 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1293 wxGridCellCoords
& coord
= source
.Item(idx
);
1294 PyObject
* tup
= PyTuple_New(2);
1295 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1296 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1297 PyList_Append(list
, tup
);
1304 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1306 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1307 wxGridCellCoords rv
;
1308 self
->XYToCell(x
, y
, rv
);
1314 static int _wrap_DateTimeFormatStr_set(PyObject
*) {
1315 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1320 static PyObject
*_wrap_DateTimeFormatStr_get() {
1325 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1327 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1334 static int _wrap_GridNoCellCoords_set(PyObject
*) {
1335 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1340 static PyObject
*_wrap_GridNoCellCoords_get() {
1343 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellCoords
, SWIGTYPE_p_wxGridCellCoords
, 0);
1348 static int _wrap_GridNoCellRect_set(PyObject
*) {
1349 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1354 static PyObject
*_wrap_GridNoCellRect_get() {
1357 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellRect
, SWIGTYPE_p_wxRect
, 0);
1362 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
*resultobj
;
1364 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1365 PyObject
*arg2
= (PyObject
*) 0 ;
1366 PyObject
* obj0
= 0 ;
1367 PyObject
* obj1
= 0 ;
1369 (char *) "self",(char *) "_self", NULL
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1382 Py_INCREF(Py_None
); resultobj
= Py_None
;
1389 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
*resultobj
;
1391 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1392 wxString
*arg2
= 0 ;
1393 bool temp2
= False
;
1394 PyObject
* obj0
= 0 ;
1395 PyObject
* obj1
= 0 ;
1397 (char *) "self",(char *) "params", NULL
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1403 arg2
= wxString_in_helper(obj1
);
1404 if (arg2
== NULL
) SWIG_fail
;
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 (arg1
)->SetParameters((wxString
const &)*arg2
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) SWIG_fail
;
1414 Py_INCREF(Py_None
); resultobj
= Py_None
;
1429 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1430 PyObject
*resultobj
;
1431 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1432 PyObject
* obj0
= 0 ;
1434 (char *) "self", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 Py_INCREF(Py_None
); resultobj
= Py_None
;
1453 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1456 PyObject
* obj0
= 0 ;
1458 (char *) "self", NULL
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 wxPyEndAllowThreads(__tstate
);
1468 if (PyErr_Occurred()) SWIG_fail
;
1470 Py_INCREF(Py_None
); resultobj
= Py_None
;
1477 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1481 wxGridCellAttr
*arg3
= 0 ;
1488 PyObject
* obj0
= 0 ;
1489 PyObject
* obj1
= 0 ;
1490 PyObject
* obj2
= 0 ;
1491 PyObject
* obj3
= 0 ;
1492 PyObject
* obj4
= 0 ;
1493 PyObject
* obj5
= 0 ;
1494 PyObject
* obj6
= 0 ;
1495 PyObject
* obj7
= 0 ;
1497 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1506 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1508 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1510 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1516 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1519 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1523 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1527 arg8
= (bool) SWIG_PyObj_AsBool(obj7
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1534 wxPyEndAllowThreads(__tstate
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1537 Py_INCREF(Py_None
); resultobj
= Py_None
;
1544 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
*resultobj
;
1546 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1548 wxGridCellAttr
*arg3
= 0 ;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1555 PyObject
* obj2
= 0 ;
1556 PyObject
* obj3
= 0 ;
1557 PyObject
* obj4
= 0 ;
1558 PyObject
* obj5
= 0 ;
1560 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1569 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1573 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1578 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1582 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1594 resultptr
= new wxSize((wxSize
&) result
);
1595 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1603 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
*resultobj
;
1605 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1606 wxGridCellRenderer
*result
;
1607 PyObject
* obj0
= 0 ;
1609 (char *) "self", NULL
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) SWIG_fail
;
1622 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1630 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1633 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1635 return Py_BuildValue((char *)"");
1637 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxPyGridCellRenderer
*result
;
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1659 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
*resultobj
;
1661 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1662 PyObject
*arg2
= (PyObject
*) 0 ;
1663 PyObject
*arg3
= (PyObject
*) 0 ;
1664 PyObject
* obj0
= 0 ;
1665 PyObject
* obj1
= 0 ;
1666 PyObject
* obj2
= 0 ;
1668 (char *) "self",(char *) "self",(char *) "_class", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 Py_INCREF(Py_None
); resultobj
= Py_None
;
1689 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1692 wxString
*arg2
= 0 ;
1693 bool temp2
= False
;
1694 PyObject
* obj0
= 0 ;
1695 PyObject
* obj1
= 0 ;
1697 (char *) "self",(char *) "params", NULL
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1703 arg2
= wxString_in_helper(obj1
);
1704 if (arg2
== NULL
) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 Py_INCREF(Py_None
); resultobj
= Py_None
;
1729 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1732 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1734 return Py_BuildValue((char *)"");
1736 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxGridCellStringRenderer
*result
;
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1758 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1761 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1763 return Py_BuildValue((char *)"");
1765 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxGridCellNumberRenderer
*result
;
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) SWIG_fail
;
1780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1787 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1790 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1792 return Py_BuildValue((char *)"");
1794 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 int arg1
= (int) -1 ;
1797 int arg2
= (int) -1 ;
1798 wxGridCellFloatRenderer
*result
;
1799 PyObject
* obj0
= 0 ;
1800 PyObject
* obj1
= 0 ;
1802 (char *) "width",(char *) "precision", NULL
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1808 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1814 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) SWIG_fail
;
1825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1832 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
*resultobj
;
1834 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1838 (char *) "self", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 resultobj
= SWIG_PyObj_FromInt((int)result
);
1857 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
*resultobj
;
1859 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1861 PyObject
* obj0
= 0 ;
1862 PyObject
* obj1
= 0 ;
1864 (char *) "self",(char *) "width", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1870 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 (arg1
)->SetWidth(arg2
);
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 Py_INCREF(Py_None
); resultobj
= Py_None
;
1887 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 resultobj
= SWIG_PyObj_FromInt((int)result
);
1912 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1917 PyObject
* obj1
= 0 ;
1919 (char *) "self",(char *) "precision", NULL
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
1923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 (arg1
)->SetPrecision(arg2
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1935 Py_INCREF(Py_None
); resultobj
= Py_None
;
1942 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1945 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
1947 return Py_BuildValue((char *)"");
1949 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1951 wxGridCellBoolRenderer
*result
;
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
1971 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1974 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
1976 return Py_BuildValue((char *)"");
1978 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
1981 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
1982 wxGridCellDateTimeRenderer
*result
;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1986 (char *) "outformat",(char *) "informat", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1992 wxString
* sptr
= wxString_in_helper(obj0
);
1993 if (sptr
== NULL
) SWIG_fail
;
2000 wxString
* sptr
= wxString_in_helper(obj1
);
2001 if (sptr
== NULL
) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2020 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2023 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2025 return Py_BuildValue((char *)"");
2027 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
*resultobj
;
2029 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2030 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2031 wxGridCellEnumRenderer
*result
;
2032 bool temp1
= False
;
2033 PyObject
* obj0
= 0 ;
2035 (char *) "choices", NULL
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2041 arg1
= wxString_in_helper(obj0
);
2042 if (arg1
== NULL
) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2068 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2071 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2073 return Py_BuildValue((char *)"");
2075 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2077 wxGridCellAutoWrapStringRenderer
*result
;
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2097 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
2099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2100 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2102 return Py_BuildValue((char *)"");
2104 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2106 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2107 PyObject
*arg2
= (PyObject
*) 0 ;
2108 PyObject
* obj0
= 0 ;
2109 PyObject
* obj1
= 0 ;
2111 (char *) "self",(char *) "_self", NULL
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2124 Py_INCREF(Py_None
); resultobj
= Py_None
;
2131 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2137 (char *) "self", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (bool)(arg1
)->IsCreated();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2149 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2156 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2160 PyObject
* obj0
= 0 ;
2162 (char *) "self", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (wxControl
*)(arg1
)->GetControl();
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2175 resultobj
= wxPyMake_wxObject(result
);
2183 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2186 wxControl
*arg2
= (wxControl
*) 0 ;
2187 PyObject
* obj0
= 0 ;
2188 PyObject
* obj1
= 0 ;
2190 (char *) "self",(char *) "control", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 (arg1
)->SetControl(arg2
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 Py_INCREF(Py_None
); resultobj
= Py_None
;
2210 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
*resultobj
;
2212 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2213 wxGridCellAttr
*result
;
2214 PyObject
* obj0
= 0 ;
2216 (char *) "self", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2229 resultobj
= wxPyMake_wxGridCellAttr(result
);
2237 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2240 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2242 PyObject
* obj1
= 0 ;
2244 (char *) "self",(char *) "attr", NULL
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 (arg1
)->SetCellAttr(arg2
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) SWIG_fail
;
2257 Py_INCREF(Py_None
); resultobj
= Py_None
;
2264 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2266 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2267 wxString
*arg2
= 0 ;
2268 bool temp2
= False
;
2269 PyObject
* obj0
= 0 ;
2270 PyObject
* obj1
= 0 ;
2272 (char *) "self",(char *) "params", NULL
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2278 arg2
= wxString_in_helper(obj1
);
2279 if (arg2
== NULL
) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 (arg1
)->SetParameters((wxString
const &)*arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 Py_INCREF(Py_None
); resultobj
= Py_None
;
2304 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
*resultobj
;
2306 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2307 PyObject
* obj0
= 0 ;
2309 (char *) "self", NULL
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 Py_INCREF(Py_None
); resultobj
= Py_None
;
2328 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
*resultobj
;
2330 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "self", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 Py_INCREF(Py_None
); resultobj
= Py_None
;
2352 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2355 wxWindow
*arg2
= (wxWindow
*) 0 ;
2357 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2358 PyObject
* obj0
= 0 ;
2359 PyObject
* obj1
= 0 ;
2360 PyObject
* obj2
= 0 ;
2361 PyObject
* obj3
= 0 ;
2363 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2370 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2373 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 (arg1
)->Create(arg2
,arg3
,arg4
);
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2381 Py_INCREF(Py_None
); resultobj
= Py_None
;
2388 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2390 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2393 wxGrid
*arg4
= (wxGrid
*) 0 ;
2394 PyObject
* obj0
= 0 ;
2395 PyObject
* obj1
= 0 ;
2396 PyObject
* obj2
= 0 ;
2397 PyObject
* obj3
= 0 ;
2399 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2405 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2412 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2420 Py_INCREF(Py_None
); resultobj
= Py_None
;
2427 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2432 wxGrid
*arg4
= (wxGrid
*) 0 ;
2434 PyObject
* obj0
= 0 ;
2435 PyObject
* obj1
= 0 ;
2436 PyObject
* obj2
= 0 ;
2437 PyObject
* obj3
= 0 ;
2439 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2449 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2460 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2467 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
*resultobj
;
2469 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2470 PyObject
* obj0
= 0 ;
2472 (char *) "self", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 Py_INCREF(Py_None
); resultobj
= Py_None
;
2491 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2494 wxGridCellEditor
*result
;
2495 PyObject
* obj0
= 0 ;
2497 (char *) "self", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2510 resultobj
= wxPyMake_wxGridCellEditor(result
);
2518 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2523 PyObject
* obj0
= 0 ;
2524 PyObject
* obj1
= 0 ;
2526 (char *) "self",(char *) "rect", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2533 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 (arg1
)->SetSize((wxRect
const &)*arg2
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 Py_INCREF(Py_None
); resultobj
= Py_None
;
2549 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2553 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2554 PyObject
* obj0
= 0 ;
2555 PyObject
* obj1
= 0 ;
2556 PyObject
* obj2
= 0 ;
2558 (char *) "self",(char *) "show",(char *) "attr", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2564 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2568 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 (arg1
)->Show(arg2
,arg3
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 Py_INCREF(Py_None
); resultobj
= Py_None
;
2584 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2588 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2590 PyObject
* obj0
= 0 ;
2591 PyObject
* obj1
= 0 ;
2592 PyObject
* obj2
= 0 ;
2594 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2601 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2603 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2606 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2608 wxPyEndAllowThreads(__tstate
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2611 Py_INCREF(Py_None
); resultobj
= Py_None
;
2618 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2621 wxKeyEvent
*arg2
= 0 ;
2623 PyObject
* obj0
= 0 ;
2624 PyObject
* obj1
= 0 ;
2626 (char *) "self",(char *) "event", NULL
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2642 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2649 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2652 wxKeyEvent
*arg2
= 0 ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2656 (char *) "self",(char *) "event", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->StartingKey(*arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2682 PyObject
* obj0
= 0 ;
2684 (char *) "self", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 (arg1
)->StartingClick();
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2696 Py_INCREF(Py_None
); resultobj
= Py_None
;
2703 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
;
2705 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2706 wxKeyEvent
*arg2
= 0 ;
2707 PyObject
* obj0
= 0 ;
2708 PyObject
* obj1
= 0 ;
2710 (char *) "self",(char *) "event", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 (arg1
)->HandleReturn(*arg2
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2736 PyObject
* obj0
= 0 ;
2738 (char *) "self", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2750 Py_INCREF(Py_None
); resultobj
= Py_None
;
2757 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2760 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2762 return Py_BuildValue((char *)"");
2764 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxPyGridCellEditor
*result
;
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellEditor
, 1);
2786 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2789 PyObject
*arg2
= (PyObject
*) 0 ;
2790 PyObject
*arg3
= (PyObject
*) 0 ;
2791 PyObject
* obj0
= 0 ;
2792 PyObject
* obj1
= 0 ;
2793 PyObject
* obj2
= 0 ;
2795 (char *) "self",(char *) "self",(char *) "_class", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 Py_INCREF(Py_None
); resultobj
= Py_None
;
2816 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2824 (char *) "self",(char *) "rect", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2831 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 Py_INCREF(Py_None
); resultobj
= Py_None
;
2847 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2849 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2851 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2854 PyObject
* obj2
= 0 ;
2856 (char *) "self",(char *) "show",(char *) "attr", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2862 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 (arg1
)->base_Show(arg2
,arg3
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 Py_INCREF(Py_None
); resultobj
= Py_None
;
2882 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2886 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2888 PyObject
* obj0
= 0 ;
2889 PyObject
* obj1
= 0 ;
2890 PyObject
* obj2
= 0 ;
2892 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2899 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2901 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2909 Py_INCREF(Py_None
); resultobj
= Py_None
;
2916 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2919 wxKeyEvent
*arg2
= 0 ;
2921 PyObject
* obj0
= 0 ;
2922 PyObject
* obj1
= 0 ;
2924 (char *) "self",(char *) "event", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2940 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2947 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2950 wxKeyEvent
*arg2
= 0 ;
2951 PyObject
* obj0
= 0 ;
2952 PyObject
* obj1
= 0 ;
2954 (char *) "self",(char *) "event", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 (arg1
)->base_StartingKey(*arg2
);
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2970 Py_INCREF(Py_None
); resultobj
= Py_None
;
2977 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2980 PyObject
* obj0
= 0 ;
2982 (char *) "self", NULL
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
2986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 (arg1
)->base_StartingClick();
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 Py_INCREF(Py_None
); resultobj
= Py_None
;
3001 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3004 wxKeyEvent
*arg2
= 0 ;
3005 PyObject
* obj0
= 0 ;
3006 PyObject
* obj1
= 0 ;
3008 (char *) "self",(char *) "event", NULL
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3015 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 (arg1
)->base_HandleReturn(*arg2
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3024 Py_INCREF(Py_None
); resultobj
= Py_None
;
3031 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3034 PyObject
* obj0
= 0 ;
3036 (char *) "self", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 (arg1
)->base_Destroy();
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3048 Py_INCREF(Py_None
); resultobj
= Py_None
;
3055 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3058 wxString
*arg2
= 0 ;
3059 bool temp2
= False
;
3060 PyObject
* obj0
= 0 ;
3061 PyObject
* obj1
= 0 ;
3063 (char *) "self",(char *) "params", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3069 arg2
= wxString_in_helper(obj1
);
3070 if (arg2
== NULL
) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3080 Py_INCREF(Py_None
); resultobj
= Py_None
;
3095 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3098 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3100 return Py_BuildValue((char *)"");
3102 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxGridCellTextEditor
*result
;
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellTextEditor
, 1);
3124 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3130 (char *) "self", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellTextEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 result
= (arg1
)->GetValue();
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3155 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3158 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3160 return Py_BuildValue((char *)"");
3162 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 int arg1
= (int) -1 ;
3165 int arg2
= (int) -1 ;
3166 wxGridCellNumberEditor
*result
;
3167 PyObject
* obj0
= 0 ;
3168 PyObject
* obj1
= 0 ;
3170 (char *) "min",(char *) "max", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3176 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3200 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "self", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellNumberEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 result
= (arg1
)->GetValue();
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3231 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3234 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3236 return Py_BuildValue((char *)"");
3238 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxGridCellFloatEditor
*result
;
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3260 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
*resultobj
;
3262 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "self", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= (arg1
)->GetValue();
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3291 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3294 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3296 return Py_BuildValue((char *)"");
3298 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxGridCellBoolEditor
*result
;
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3313 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3320 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
*resultobj
;
3322 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3324 PyObject
* obj0
= 0 ;
3326 (char *) "self", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellBoolEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 result
= (arg1
)->GetValue();
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3351 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3354 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3356 return Py_BuildValue((char *)"");
3358 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
*resultobj
;
3360 int arg1
= (int) 0 ;
3361 wxString
*arg2
= (wxString
*) NULL
;
3362 bool arg3
= (bool) False
;
3363 wxGridCellChoiceEditor
*result
;
3364 PyObject
* obj0
= 0 ;
3365 PyObject
* obj1
= 0 ;
3367 (char *) "choices",(char *) "allowOthers", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3373 arg1
= PyList_Size(obj0
);
3374 arg2
= wxString_LIST_helper(obj0
);
3375 if (arg2
== NULL
) SWIG_fail
;
3380 arg3
= (bool) SWIG_PyObj_AsBool(obj1
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3393 if (arg2
) delete [] arg2
;
3398 if (arg2
) delete [] arg2
;
3404 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
;
3406 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3410 (char *) "self", NULL
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 result
= (arg1
)->GetValue();
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3435 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3438 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3440 return Py_BuildValue((char *)"");
3442 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3445 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3446 wxGridCellEnumEditor
*result
;
3447 bool temp1
= False
;
3448 PyObject
* obj0
= 0 ;
3450 (char *) "choices", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3456 arg1
= wxString_in_helper(obj0
);
3457 if (arg1
== NULL
) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3483 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3489 (char *) "self", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEnumEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 result
= (arg1
)->GetValue();
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3514 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3517 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3519 return Py_BuildValue((char *)"");
3521 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxGridCellAutoWrapStringEditor
*result
;
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3543 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3547 PyObject
* obj0
= 0 ;
3549 (char *) "self", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (arg1
)->GetValue();
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3574 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3577 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3579 return Py_BuildValue((char *)"");
3581 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3584 PyObject
*arg2
= (PyObject
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3586 PyObject
* obj1
= 0 ;
3588 (char *) "self",(char *) "_self", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 Py_INCREF(Py_None
); resultobj
= Py_None
;
3608 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3611 wxGridCellAttr
*result
;
3612 PyObject
* obj0
= 0 ;
3614 (char *) "attrDefault", NULL
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= wxPyMake_wxGridCellAttr(result
);
3637 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3640 wxGridCellAttr
*result
;
3641 PyObject
* obj0
= 0 ;
3643 (char *) "self", NULL
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= wxPyMake_wxGridCellAttr(result
);
3664 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
;
3666 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3667 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3668 PyObject
* obj0
= 0 ;
3669 PyObject
* obj1
= 0 ;
3671 (char *) "self",(char *) "mergefrom", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->MergeWith(arg2
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3694 PyObject
* obj0
= 0 ;
3696 (char *) "self", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 Py_INCREF(Py_None
); resultobj
= Py_None
;
3715 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3718 PyObject
* obj0
= 0 ;
3720 (char *) "self", NULL
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 Py_INCREF(Py_None
); resultobj
= Py_None
;
3739 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3742 wxColour
*arg2
= 0 ;
3744 PyObject
* obj0
= 0 ;
3745 PyObject
* obj1
= 0 ;
3747 (char *) "self",(char *) "colText", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3754 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3773 wxColour
*arg2
= 0 ;
3775 PyObject
* obj0
= 0 ;
3776 PyObject
* obj1
= 0 ;
3778 (char *) "self",(char *) "colBack", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3785 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 Py_INCREF(Py_None
); resultobj
= Py_None
;
3801 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3803 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3805 PyObject
* obj0
= 0 ;
3806 PyObject
* obj1
= 0 ;
3808 (char *) "self",(char *) "font", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3815 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 (arg1
)->SetFont((wxFont
const &)*arg2
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 Py_INCREF(Py_None
); resultobj
= Py_None
;
3831 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3836 PyObject
* obj0
= 0 ;
3837 PyObject
* obj1
= 0 ;
3838 PyObject
* obj2
= 0 ;
3840 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3846 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 (arg1
)->SetAlignment(arg2
,arg3
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3867 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3873 PyObject
* obj1
= 0 ;
3874 PyObject
* obj2
= 0 ;
3876 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3882 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3886 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->SetSize(arg2
,arg3
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3906 bool arg2
= (bool) True
;
3907 PyObject
* obj0
= 0 ;
3908 PyObject
* obj1
= 0 ;
3910 (char *) "self",(char *) "allow", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
3914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3917 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 (arg1
)->SetOverflow(arg2
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 Py_INCREF(Py_None
); resultobj
= Py_None
;
3935 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3938 bool arg2
= (bool) True
;
3939 PyObject
* obj0
= 0 ;
3940 PyObject
* obj1
= 0 ;
3942 (char *) "self",(char *) "isReadOnly", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
3946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3949 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 (arg1
)->SetReadOnly(arg2
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3970 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3974 (char *) "self",(char *) "renderer", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3979 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 (arg1
)->SetRenderer(arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3997 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "editor", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 (arg1
)->SetEditor(arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "kind", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4034 arg2
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj1
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4051 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4076 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4101 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4107 (char *) "self", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4126 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4132 (char *) "self", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4151 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4155 PyObject
* obj0
= 0 ;
4157 (char *) "self", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4176 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4180 PyObject
* obj0
= 0 ;
4182 (char *) "self", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4201 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4207 (char *) "self", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4226 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
;
4228 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4230 PyObject
* obj0
= 0 ;
4232 (char *) "self", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4251 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4255 PyObject
* obj0
= 0 ;
4257 (char *) "self", NULL
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4270 wxColour
* resultptr
;
4271 resultptr
= new wxColour((wxColour
&) result
);
4272 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4280 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4284 PyObject
* obj0
= 0 ;
4286 (char *) "self", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4299 wxColour
* resultptr
;
4300 resultptr
= new wxColour((wxColour
&) result
);
4301 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4309 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "self", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4329 resultptr
= new wxFont((wxFont
&) result
);
4330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
4338 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4341 int *arg2
= (int *) 0 ;
4342 int *arg3
= (int *) 0 ;
4345 PyObject
* obj0
= 0 ;
4347 (char *) "self", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4363 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4364 resultobj
= t_output_helper(resultobj
,o
);
4367 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4368 resultobj
= t_output_helper(resultobj
,o
);
4376 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4379 int *arg2
= (int *) 0 ;
4380 int *arg3
= (int *) 0 ;
4383 PyObject
* obj0
= 0 ;
4385 (char *) "self", NULL
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4402 resultobj
= t_output_helper(resultobj
,o
);
4405 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4406 resultobj
= t_output_helper(resultobj
,o
);
4414 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "self", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4439 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4442 wxGrid
*arg2
= (wxGrid
*) 0 ;
4445 wxGridCellRenderer
*result
;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4448 PyObject
* obj2
= 0 ;
4449 PyObject
* obj3
= 0 ;
4451 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4458 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4462 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4481 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4484 wxGrid
*arg2
= (wxGrid
*) 0 ;
4487 wxGridCellEditor
*result
;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4490 PyObject
* obj2
= 0 ;
4491 PyObject
* obj3
= 0 ;
4493 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4500 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4504 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= wxPyMake_wxGridCellEditor(result
);
4523 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4527 PyObject
* obj0
= 0 ;
4529 (char *) "self", NULL
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4548 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4551 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4555 (char *) "self",(char *) "defAttr", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 (arg1
)->SetDefAttr(arg2
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 Py_INCREF(Py_None
); resultobj
= Py_None
;
4575 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4578 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4580 return Py_BuildValue((char *)"");
4582 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxGridCellAttrProvider
*result
;
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4606 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4609 PyObject
*arg2
= (PyObject
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4611 PyObject
* obj1
= 0 ;
4613 (char *) "self",(char *) "_self", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 Py_INCREF(Py_None
); resultobj
= Py_None
;
4633 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4639 wxGridCellAttr
*result
;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4642 PyObject
* obj2
= 0 ;
4643 PyObject
* obj3
= 0 ;
4645 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4651 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= wxPyMake_wxGridCellAttr(result
);
4678 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4681 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj1
= 0 ;
4686 PyObject
* obj2
= 0 ;
4687 PyObject
* obj3
= 0 ;
4689 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4696 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4700 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 Py_INCREF(Py_None
); resultobj
= Py_None
;
4717 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
;
4719 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4720 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4723 PyObject
* obj1
= 0 ;
4724 PyObject
* obj2
= 0 ;
4726 (char *) "self",(char *) "attr",(char *) "row", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4733 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 (arg1
)->SetRowAttr(arg2
,arg3
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 Py_INCREF(Py_None
); resultobj
= Py_None
;
4750 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4753 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 PyObject
* obj2
= 0 ;
4759 (char *) "self",(char *) "attr",(char *) "col", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4766 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 (arg1
)->SetColAttr(arg2
,arg3
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 Py_INCREF(Py_None
); resultobj
= Py_None
;
4783 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4788 PyObject
* obj0
= 0 ;
4789 PyObject
* obj1
= 0 ;
4790 PyObject
* obj2
= 0 ;
4792 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4798 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4802 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 Py_INCREF(Py_None
); resultobj
= Py_None
;
4819 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4824 PyObject
* obj0
= 0 ;
4825 PyObject
* obj1
= 0 ;
4826 PyObject
* obj2
= 0 ;
4828 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4834 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4838 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 (arg1
)->UpdateAttrCols(arg2
,arg3
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 Py_INCREF(Py_None
); resultobj
= Py_None
;
4855 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4858 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
4860 return Py_BuildValue((char *)"");
4862 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxPyGridCellAttrProvider
*result
;
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
4884 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4887 PyObject
*arg2
= (PyObject
*) 0 ;
4888 PyObject
*arg3
= (PyObject
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4890 PyObject
* obj1
= 0 ;
4891 PyObject
* obj2
= 0 ;
4893 (char *) "self",(char *) "self",(char *) "_class", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4920 wxGridCellAttr
*result
;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4923 PyObject
* obj2
= 0 ;
4924 PyObject
* obj3
= 0 ;
4926 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4932 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4936 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4940 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= wxPyMake_wxGridCellAttr(result
);
4959 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4962 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4967 PyObject
* obj2
= 0 ;
4968 PyObject
* obj3
= 0 ;
4970 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4975 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4977 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4981 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 Py_INCREF(Py_None
); resultobj
= Py_None
;
4998 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5001 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5003 PyObject
* obj0
= 0 ;
5004 PyObject
* obj1
= 0 ;
5005 PyObject
* obj2
= 0 ;
5007 (char *) "self",(char *) "attr",(char *) "row", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5012 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5014 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5034 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5038 PyObject
* obj2
= 0 ;
5040 (char *) "self",(char *) "attr",(char *) "col", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5047 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 (arg1
)->base_SetColAttr(arg2
,arg3
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 Py_INCREF(Py_None
); resultobj
= Py_None
;
5064 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5067 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5069 return Py_BuildValue((char *)"");
5071 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5074 PyObject
*arg2
= (PyObject
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "_self", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 wxGridTableBase__setOORInfo(arg1
,arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 Py_INCREF(Py_None
); resultobj
= Py_None
;
5098 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
;
5100 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5101 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5103 PyObject
* obj1
= 0 ;
5105 (char *) "self",(char *) "attrProvider", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 (arg1
)->SetAttrProvider(arg2
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5125 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5128 wxGridCellAttrProvider
*result
;
5129 PyObject
* obj0
= 0 ;
5131 (char *) "self", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
5152 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5155 wxGrid
*arg2
= (wxGrid
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5159 (char *) "self",(char *) "grid", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 (arg1
)->SetView(arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 Py_INCREF(Py_None
); resultobj
= Py_None
;
5179 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5183 PyObject
* obj0
= 0 ;
5185 (char *) "self", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= wxPyMake_wxObject(result
);
5206 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (int)(arg1
)->GetNumberRows();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_PyObj_FromInt((int)result
);
5231 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "self", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (int)(arg1
)->GetNumberCols();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_PyObj_FromInt((int)result
);
5256 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5264 PyObject
* obj2
= 0 ;
5266 (char *) "self",(char *) "row",(char *) "col", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5272 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5293 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5301 PyObject
* obj2
= 0 ;
5303 (char *) "self",(char *) "row",(char *) "col", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5309 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (arg1
)->GetValue(arg2
,arg3
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5336 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5341 wxString
*arg4
= 0 ;
5342 bool temp4
= False
;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5345 PyObject
* obj2
= 0 ;
5346 PyObject
* obj3
= 0 ;
5348 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5354 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5358 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 arg4
= wxString_in_helper(obj3
);
5363 if (arg4
== NULL
) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5396 PyObject
* obj2
= 0 ;
5398 (char *) "self",(char *) "row",(char *) "col", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5404 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5408 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5431 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5436 wxString
*arg4
= 0 ;
5438 bool temp4
= False
;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5441 PyObject
* obj2
= 0 ;
5442 PyObject
* obj3
= 0 ;
5444 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5450 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5458 arg4
= wxString_in_helper(obj3
);
5459 if (arg4
== NULL
) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5484 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5489 wxString
*arg4
= 0 ;
5491 bool temp4
= False
;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5494 PyObject
* obj2
= 0 ;
5495 PyObject
* obj3
= 0 ;
5497 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5507 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5511 arg4
= wxString_in_helper(obj3
);
5512 if (arg4
== NULL
) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5537 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5545 PyObject
* obj2
= 0 ;
5547 (char *) "self",(char *) "row",(char *) "col", NULL
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5553 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 resultobj
= SWIG_PyObj_FromLong((long)result
);
5574 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
;
5576 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5582 PyObject
* obj2
= 0 ;
5584 (char *) "self",(char *) "row",(char *) "col", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5590 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5594 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5611 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5617 PyObject
* obj0
= 0 ;
5618 PyObject
* obj1
= 0 ;
5619 PyObject
* obj2
= 0 ;
5621 (char *) "self",(char *) "row",(char *) "col", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5631 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5648 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5656 PyObject
* obj2
= 0 ;
5657 PyObject
* obj3
= 0 ;
5659 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5673 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 Py_INCREF(Py_None
); resultobj
= Py_None
;
5690 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5698 PyObject
* obj2
= 0 ;
5699 PyObject
* obj3
= 0 ;
5701 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5707 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5711 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5715 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 Py_INCREF(Py_None
); resultobj
= Py_None
;
5732 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5740 PyObject
* obj2
= 0 ;
5741 PyObject
* obj3
= 0 ;
5743 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5749 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5753 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 Py_INCREF(Py_None
); resultobj
= Py_None
;
5774 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5777 PyObject
* obj0
= 0 ;
5779 (char *) "self", NULL
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 Py_INCREF(Py_None
); resultobj
= Py_None
;
5798 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5801 size_t arg2
= (size_t) 0 ;
5802 size_t arg3
= (size_t) 1 ;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5806 PyObject
* obj2
= 0 ;
5808 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5815 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5821 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5839 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5842 size_t arg2
= (size_t) 1 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "numRows", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5854 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= (bool)(arg1
)->AppendRows(arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5872 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5875 size_t arg2
= (size_t) 0 ;
5876 size_t arg3
= (size_t) 1 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 PyObject
* obj2
= 0 ;
5882 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5889 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5895 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5913 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5916 size_t arg2
= (size_t) 0 ;
5917 size_t arg3
= (size_t) 1 ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 PyObject
* obj2
= 0 ;
5923 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5930 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5936 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5954 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
;
5956 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5957 size_t arg2
= (size_t) 1 ;
5959 PyObject
* obj0
= 0 ;
5960 PyObject
* obj1
= 0 ;
5962 (char *) "self",(char *) "numCols", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5969 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)(arg1
)->AppendCols(arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5987 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5990 size_t arg2
= (size_t) 0 ;
5991 size_t arg3
= (size_t) 1 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5995 PyObject
* obj2
= 0 ;
5997 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6004 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6010 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6028 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6033 PyObject
* obj0
= 0 ;
6034 PyObject
* obj1
= 0 ;
6036 (char *) "self",(char *) "row", NULL
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6042 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (arg1
)->GetRowLabelValue(arg2
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6065 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6073 (char *) "self",(char *) "col", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (arg1
)->GetColLabelValue(arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6102 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6106 wxString
*arg3
= 0 ;
6107 bool temp3
= False
;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6110 PyObject
* obj2
= 0 ;
6112 (char *) "self",(char *) "row",(char *) "value", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6118 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 arg3
= wxString_in_helper(obj2
);
6123 if (arg3
== NULL
) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6152 wxString
*arg3
= 0 ;
6153 bool temp3
= False
;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 PyObject
* obj2
= 0 ;
6158 (char *) "self",(char *) "col",(char *) "value", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6168 arg3
= wxString_in_helper(obj2
);
6169 if (arg3
== NULL
) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6200 (char *) "self", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (bool)(arg1
)->CanHaveAttributes();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6219 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6225 wxGridCellAttr
*result
;
6226 PyObject
* obj0
= 0 ;
6227 PyObject
* obj1
= 0 ;
6228 PyObject
* obj2
= 0 ;
6229 PyObject
* obj3
= 0 ;
6231 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6241 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= wxPyMake_wxGridCellAttr(result
);
6264 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6267 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6272 PyObject
* obj2
= 0 ;
6273 PyObject
* obj3
= 0 ;
6275 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6282 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6306 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6310 PyObject
* obj2
= 0 ;
6312 (char *) "self",(char *) "attr",(char *) "row", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6319 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->SetRowAttr(arg2
,arg3
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 Py_INCREF(Py_None
); resultobj
= Py_None
;
6336 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6339 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 PyObject
* obj2
= 0 ;
6345 (char *) "self",(char *) "attr",(char *) "col", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6352 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 (arg1
)->SetColAttr(arg2
,arg3
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 Py_INCREF(Py_None
); resultobj
= Py_None
;
6369 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6372 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6374 return Py_BuildValue((char *)"");
6376 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxPyGridTableBase
*result
;
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridTableBase
, 1);
6398 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6401 PyObject
*arg2
= (PyObject
*) 0 ;
6402 PyObject
*arg3
= (PyObject
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6405 PyObject
* obj2
= 0 ;
6407 (char *) "self",(char *) "self",(char *) "_class", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 Py_INCREF(Py_None
); resultobj
= Py_None
;
6428 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6433 (char *) "self", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 wxPyGridTableBase_Destroy(arg1
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 Py_INCREF(Py_None
); resultobj
= Py_None
;
6452 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj1
= 0 ;
6460 PyObject
* obj2
= 0 ;
6462 (char *) "self",(char *) "row",(char *) "col", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6468 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6495 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6500 wxString
*arg4
= 0 ;
6502 bool temp4
= False
;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6505 PyObject
* obj2
= 0 ;
6506 PyObject
* obj3
= 0 ;
6508 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6514 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6518 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 arg4
= wxString_in_helper(obj3
);
6523 if (arg4
== NULL
) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6548 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6553 wxString
*arg4
= 0 ;
6555 bool temp4
= False
;
6556 PyObject
* obj0
= 0 ;
6557 PyObject
* obj1
= 0 ;
6558 PyObject
* obj2
= 0 ;
6559 PyObject
* obj3
= 0 ;
6561 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6567 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 arg4
= wxString_in_helper(obj3
);
6576 if (arg4
== NULL
) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6601 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6606 (char *) "self", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 (arg1
)->base_Clear();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 Py_INCREF(Py_None
); resultobj
= Py_None
;
6625 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6628 size_t arg2
= (size_t) 0 ;
6629 size_t arg3
= (size_t) 1 ;
6631 PyObject
* obj0
= 0 ;
6632 PyObject
* obj1
= 0 ;
6633 PyObject
* obj2
= 0 ;
6635 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6642 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6648 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6666 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
;
6668 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6669 size_t arg2
= (size_t) 1 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6674 (char *) "self",(char *) "numRows", NULL
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6681 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6699 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6702 size_t arg2
= (size_t) 0 ;
6703 size_t arg3
= (size_t) 1 ;
6705 PyObject
* obj0
= 0 ;
6706 PyObject
* obj1
= 0 ;
6707 PyObject
* obj2
= 0 ;
6709 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6716 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6722 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6740 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6743 size_t arg2
= (size_t) 0 ;
6744 size_t arg3
= (size_t) 1 ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6748 PyObject
* obj2
= 0 ;
6750 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6757 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6763 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6781 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6784 size_t arg2
= (size_t) 1 ;
6786 PyObject
* obj0
= 0 ;
6787 PyObject
* obj1
= 0 ;
6789 (char *) "self",(char *) "numCols", NULL
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6796 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6814 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6817 size_t arg2
= (size_t) 0 ;
6818 size_t arg3
= (size_t) 1 ;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6822 PyObject
* obj2
= 0 ;
6824 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6831 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6837 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6855 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6863 (char *) "self",(char *) "row", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6869 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6892 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6900 (char *) "self",(char *) "col", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6906 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (arg1
)->base_GetColLabelValue(arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6929 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6933 wxString
*arg3
= 0 ;
6934 bool temp3
= False
;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6937 PyObject
* obj2
= 0 ;
6939 (char *) "self",(char *) "row",(char *) "value", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6945 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6949 arg3
= wxString_in_helper(obj2
);
6950 if (arg3
== NULL
) SWIG_fail
;
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 Py_INCREF(Py_None
); resultobj
= Py_None
;
6975 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6979 wxString
*arg3
= 0 ;
6980 bool temp3
= False
;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6983 PyObject
* obj2
= 0 ;
6985 (char *) "self",(char *) "col",(char *) "value", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6991 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6995 arg3
= wxString_in_helper(obj2
);
6996 if (arg3
== NULL
) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 Py_INCREF(Py_None
); resultobj
= Py_None
;
7021 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "self", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (bool)(arg1
)->base_CanHaveAttributes();
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7046 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7052 wxGridCellAttr
*result
;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 PyObject
* obj2
= 0 ;
7056 PyObject
* obj3
= 0 ;
7058 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7064 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7068 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 arg4
= (wxGridCellAttr::wxAttrKind
) SWIG_PyObj_AsInt(obj3
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= wxPyMake_wxGridCellAttr(result
);
7091 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
;
7093 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7094 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7099 PyObject
* obj2
= 0 ;
7100 PyObject
* obj3
= 0 ;
7102 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7109 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7113 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 Py_INCREF(Py_None
); resultobj
= Py_None
;
7130 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7133 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7137 PyObject
* obj2
= 0 ;
7139 (char *) "self",(char *) "attr",(char *) "row", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7146 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 Py_INCREF(Py_None
); resultobj
= Py_None
;
7163 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7166 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7170 PyObject
* obj2
= 0 ;
7172 (char *) "self",(char *) "attr",(char *) "col", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7179 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 (arg1
)->base_SetColAttr(arg2
,arg3
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 Py_INCREF(Py_None
); resultobj
= Py_None
;
7196 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
7198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7199 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7201 return Py_BuildValue((char *)"");
7203 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 int arg1
= (int) 0 ;
7206 int arg2
= (int) 0 ;
7207 wxGridStringTable
*result
;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7211 (char *) "numRows",(char *) "numCols", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7217 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7223 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridStringTable
, 1);
7241 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
7243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7244 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7246 return Py_BuildValue((char *)"");
7248 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7252 int arg3
= (int) -1 ;
7253 int arg4
= (int) -1 ;
7254 wxGridTableMessage
*result
;
7255 PyObject
* obj0
= 0 ;
7256 PyObject
* obj1
= 0 ;
7257 PyObject
* obj2
= 0 ;
7258 PyObject
* obj3
= 0 ;
7260 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7266 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7271 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7277 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridTableMessage
, 1);
7295 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7300 (char *) "self", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 Py_INCREF(Py_None
); resultobj
= Py_None
;
7319 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7322 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7326 (char *) "self",(char *) "table", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->SetTableObject(arg2
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7346 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7349 wxGridTableBase
*result
;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= wxPyMake_wxGridTableBase(result
);
7373 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7378 PyObject
* obj1
= 0 ;
7380 (char *) "self",(char *) "id", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 (arg1
)->SetId(arg2
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 Py_INCREF(Py_None
); resultobj
= Py_None
;
7403 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7409 (char *) "self", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 result
= (int)(arg1
)->GetId();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= SWIG_PyObj_FromInt((int)result
);
7428 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7433 PyObject
* obj1
= 0 ;
7435 (char *) "self",(char *) "comInt1", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7441 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 (arg1
)->SetCommandInt(arg2
);
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 Py_INCREF(Py_None
); resultobj
= Py_None
;
7458 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "self", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (int)(arg1
)->GetCommandInt();
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= SWIG_PyObj_FromInt((int)result
);
7483 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7490 (char *) "self",(char *) "comInt2", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7496 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 (arg1
)->SetCommandInt2(arg2
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 Py_INCREF(Py_None
); resultobj
= Py_None
;
7513 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7519 (char *) "self", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (int)(arg1
)->GetCommandInt2();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_PyObj_FromInt((int)result
);
7538 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
7540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7541 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7543 return Py_BuildValue((char *)"");
7545 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 int arg1
= (int) -1 ;
7548 int arg2
= (int) -1 ;
7549 wxGridCellCoords
*result
;
7550 PyObject
* obj0
= 0 ;
7551 PyObject
* obj1
= 0 ;
7553 (char *) "r",(char *) "c", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7559 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7565 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellCoords
, 1);
7583 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7586 PyObject
* obj0
= 0 ;
7588 (char *) "self", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7611 PyObject
* obj0
= 0 ;
7613 (char *) "self", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_PyObj_FromInt((int)result
);
7632 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7637 PyObject
* obj1
= 0 ;
7639 (char *) "self",(char *) "n", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7645 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 (arg1
)->SetRow(arg2
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 Py_INCREF(Py_None
); resultobj
= Py_None
;
7662 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_PyObj_FromInt((int)result
);
7687 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7694 (char *) "self",(char *) "n", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
7698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7700 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 (arg1
)->SetCol(arg2
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 Py_INCREF(Py_None
); resultobj
= Py_None
;
7717 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7723 PyObject
* obj1
= 0 ;
7724 PyObject
* obj2
= 0 ;
7726 (char *) "self",(char *) "row",(char *) "col", NULL
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7732 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 (arg1
)->Set(arg2
,arg3
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7753 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7756 wxGridCellCoords
*arg2
= 0 ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7761 (char *) "self",(char *) "other", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7784 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7787 wxGridCellCoords
*arg2
= 0 ;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7792 (char *) "self",(char *) "other", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7799 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7815 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "self", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7840 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7843 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7845 return Py_BuildValue((char *)"");
7847 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxWindow
*arg1
= (wxWindow
*) 0 ;
7851 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7852 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7853 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7854 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7855 long arg5
= (long) wxWANTS_CHARS
;
7856 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7857 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7861 bool temp6
= False
;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7864 PyObject
* obj2
= 0 ;
7865 PyObject
* obj3
= 0 ;
7866 PyObject
* obj4
= 0 ;
7867 PyObject
* obj5
= 0 ;
7869 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7875 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7881 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7887 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7892 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7898 arg6
= wxString_in_helper(obj5
);
7899 if (arg6
== NULL
) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= wxPyMake_wxObject(result
);
7927 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
;
7929 wxGrid
*arg1
= (wxGrid
*) 0 ;
7932 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7934 PyObject
* obj0
= 0 ;
7935 PyObject
* obj1
= 0 ;
7936 PyObject
* obj2
= 0 ;
7937 PyObject
* obj3
= 0 ;
7939 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7945 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7949 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7954 arg4
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj3
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7972 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxGrid
*arg1
= (wxGrid
*) 0 ;
7975 WXGRIDSELECTIONMODES arg2
;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7979 (char *) "self",(char *) "selmode", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7985 arg2
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj1
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 (arg1
)->SetSelectionMode(arg2
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 Py_INCREF(Py_None
); resultobj
= Py_None
;
8002 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxGrid
*arg1
= (wxGrid
*) 0 ;
8005 WXGRIDSELECTIONMODES result
;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "self", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_PyObj_FromInt((int)result
);
8027 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxGrid
*arg1
= (wxGrid
*) 0 ;
8031 PyObject
* obj0
= 0 ;
8033 (char *) "self", NULL
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (int)(arg1
)->GetNumberRows();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_PyObj_FromInt((int)result
);
8052 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxGrid
*arg1
= (wxGrid
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "self", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= (int)(arg1
)->GetNumberCols();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_PyObj_FromInt((int)result
);
8077 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxGrid
*arg1
= (wxGrid
*) 0 ;
8080 wxGridTableMessage
*arg2
= 0 ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8085 (char *) "self","arg2", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8090 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8108 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxGrid
*arg1
= (wxGrid
*) 0 ;
8111 wxGridTableBase
*result
;
8112 PyObject
* obj0
= 0 ;
8114 (char *) "self", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= wxPyMake_wxGridTableBase(result
);
8135 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxGrid
*arg1
= (wxGrid
*) 0 ;
8138 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8139 bool arg3
= (bool) False
;
8140 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8145 PyObject
* obj3
= 0 ;
8147 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8155 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8161 arg4
= (WXGRIDSELECTIONMODES
) SWIG_PyObj_AsInt(obj3
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8179 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxGrid
*arg1
= (wxGrid
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "self", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 (arg1
)->ClearGrid();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 Py_INCREF(Py_None
); resultobj
= Py_None
;
8203 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxGrid
*arg1
= (wxGrid
*) 0 ;
8206 int arg2
= (int) 0 ;
8207 int arg3
= (int) 1 ;
8208 bool arg4
= (bool) True
;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8212 PyObject
* obj2
= 0 ;
8213 PyObject
* obj3
= 0 ;
8215 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8222 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8228 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8234 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8252 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxGrid
*arg1
= (wxGrid
*) 0 ;
8255 int arg2
= (int) 1 ;
8256 bool arg3
= (bool) True
;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 PyObject
* obj2
= 0 ;
8262 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8275 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8293 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
;
8295 wxGrid
*arg1
= (wxGrid
*) 0 ;
8296 int arg2
= (int) 0 ;
8297 int arg3
= (int) 1 ;
8298 bool arg4
= (bool) True
;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8302 PyObject
* obj2
= 0 ;
8303 PyObject
* obj3
= 0 ;
8305 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8312 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8313 if (PyErr_Occurred()) SWIG_fail
;
8318 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8324 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8342 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxGrid
*arg1
= (wxGrid
*) 0 ;
8345 int arg2
= (int) 0 ;
8346 int arg3
= (int) 1 ;
8347 bool arg4
= (bool) True
;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8351 PyObject
* obj2
= 0 ;
8352 PyObject
* obj3
= 0 ;
8354 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8361 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8367 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8373 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8391 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxGrid
*arg1
= (wxGrid
*) 0 ;
8394 int arg2
= (int) 1 ;
8395 bool arg3
= (bool) True
;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8399 PyObject
* obj2
= 0 ;
8401 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8408 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8414 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8432 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxGrid
*arg1
= (wxGrid
*) 0 ;
8435 int arg2
= (int) 0 ;
8436 int arg3
= (int) 1 ;
8437 bool arg4
= (bool) True
;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8441 PyObject
* obj2
= 0 ;
8442 PyObject
* obj3
= 0 ;
8444 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8451 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8457 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8463 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8481 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxGrid
*arg1
= (wxGrid
*) 0 ;
8485 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8488 PyObject
* obj2
= 0 ;
8490 (char *) "self",(char *) "dc",(char *) "attr", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8497 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8499 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 Py_INCREF(Py_None
); resultobj
= Py_None
;
8514 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxGrid
*arg1
= (wxGrid
*) 0 ;
8518 wxString
*arg3
= 0 ;
8520 int arg5
= (int) wxLEFT
;
8521 int arg6
= (int) wxTOP
;
8522 int arg7
= (int) wxHORIZONTAL
;
8523 bool temp3
= False
;
8525 PyObject
* obj0
= 0 ;
8526 PyObject
* obj1
= 0 ;
8527 PyObject
* obj2
= 0 ;
8528 PyObject
* obj3
= 0 ;
8529 PyObject
* obj4
= 0 ;
8530 PyObject
* obj5
= 0 ;
8531 PyObject
* obj6
= 0 ;
8533 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8543 arg3
= wxString_in_helper(obj2
);
8544 if (arg3
== NULL
) SWIG_fail
;
8549 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8553 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8559 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8565 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 Py_INCREF(Py_None
); resultobj
= Py_None
;
8591 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxGrid
*arg1
= (wxGrid
*) 0 ;
8595 wxArrayString
*arg3
= 0 ;
8596 long *arg4
= (long *) 0 ;
8597 long *arg5
= (long *) 0 ;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8602 PyObject
* obj2
= 0 ;
8604 (char *) "self",(char *) "dc",(char *) "lines", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8616 if (! PySequence_Check(obj2
)) {
8617 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8620 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 (arg3
) delete arg3
;
8656 if (arg3
) 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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
= SWIG_PyObj_FromBool((bool)result
);
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
*) (wxTopLevelWindow
*)(wxFrame
*) ((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
*)(wxTopLevelWindow
*)(wxFrame
*) ((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
*)(wxTopLevelWindow
*)(wxFrame
*) ((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
));