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);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
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
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
213 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
214 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
215 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
216 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
217 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
218 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
219 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
220 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
221 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
222 #define SWIGTYPE_p_wxColour swig_types[10]
223 #define SWIGTYPE_p_wxDC swig_types[11]
224 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
225 #define SWIGTYPE_p_wxGrid swig_types[13]
226 #define SWIGTYPE_p_wxPanel swig_types[14]
227 #define SWIGTYPE_p_wxNotifyEvent swig_types[15]
228 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[16]
229 #define SWIGTYPE_p_wxSize swig_types[17]
230 #define SWIGTYPE_p_wxGridCellCoords swig_types[18]
231 #define SWIGTYPE_p_wxScrolledWindow swig_types[19]
232 #define SWIGTYPE_p_wxWindow swig_types[20]
233 #define SWIGTYPE_p_wxFont swig_types[21]
234 #define SWIGTYPE_p_wxControl swig_types[22]
235 #define SWIGTYPE_p_wxEvent swig_types[23]
236 #define SWIGTYPE_p_wxObject swig_types[24]
237 #define SWIGTYPE_p_wxGridSizeEvent swig_types[25]
238 #define SWIGTYPE_p_wxRect swig_types[26]
239 #define SWIGTYPE_p_long swig_types[27]
240 #define SWIGTYPE_p_wxString swig_types[28]
241 #define SWIGTYPE_p_wxEvtHandler swig_types[29]
242 #define SWIGTYPE_p_wxPoint swig_types[30]
243 #define SWIGTYPE_p_wxGridEvent swig_types[31]
244 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[32]
245 #define SWIGTYPE_p_wxGridTableBase swig_types[33]
246 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[34]
247 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[35]
248 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[36]
249 #define SWIGTYPE_p_wxGridCellEditor swig_types[37]
250 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[38]
251 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[39]
252 #define SWIGTYPE_p_wxPyGridTableBase swig_types[40]
253 #define SWIGTYPE_p_wxGridStringTable swig_types[41]
254 #define SWIGTYPE_p_wxArrayString swig_types[42]
255 #define SWIGTYPE_p_wxCommandEvent swig_types[43]
256 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[44]
257 #define SWIGTYPE_p_wxKeyEvent swig_types[45]
258 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[46]
259 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[47]
260 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[48]
261 #define SWIGTYPE_p_int swig_types[49]
262 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[50]
263 static swig_type_info
*swig_types
[52];
265 /* -------- TYPES TABLE (END) -------- */
268 /*-----------------------------------------------
270 ------------------------------------------------*/
271 #define SWIG_init init_grid
273 #define SWIG_name "_grid"
275 #include "wx/wxPython/wxPython.h"
276 #include "wx/wxPython/pyclasses.h"
277 #include "wx/wxPython/printfw.h"
280 #include <wx/generic/gridctrl.h>
282 DECLARE_DEF_STRING(PanelNameStr
);
283 DECLARE_DEF_STRING2(DateTimeFormatStr
, wxT("%c"));
284 static const wxString
wxPyEmptyString(wxT(""));
288 #define wxPyMake_TEMPLATE(TYPE) \
289 PyObject* wxPyMake_##TYPE(TYPE* source) { \
290 PyObject* target = NULL; \
292 /* Check if there is already a pointer to a Python object in the \
293 OOR data that we can use. */ \
294 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
296 target = data->m_obj; \
299 /* Otherwise make a new wrapper for it the old fashioned way and \
300 give it the OOR treatment */ \
302 target = wxPyConstructObject(source, wxT(#TYPE), False); \
304 source->SetClientObject(new wxPyOORClientData(target)); \
306 } else { /* source was NULL so return None. */ \
307 Py_INCREF(Py_None); target = Py_None; \
313 wxPyMake_TEMPLATE(wxGridCellRenderer)
314 wxPyMake_TEMPLATE(wxGridCellEditor
)
315 wxPyMake_TEMPLATE(wxGridCellAttr
)
316 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
317 wxPyMake_TEMPLATE(wxGridTableBase
)
321 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
322 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
323 wxGridCellAttr* rval = NULL; \
325 wxPyBeginBlockThreads(); \
326 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
328 wxGridCellAttr* ptr; \
329 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
331 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
336 wxPyEndBlockThreads(); \
338 rval = PCLASS::CBNAME(a, b, c); \
341 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
342 return PCLASS::CBNAME(a, b, c); \
347 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
348 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
349 wxPyBeginBlockThreads(); \
351 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
352 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
353 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
356 wxPyEndBlockThreads(); \
358 PCLASS::CBNAME(attr, a, b); \
360 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
361 PCLASS::CBNAME(attr, a, b); \
366 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
367 void CBNAME(wxGridCellAttr *attr, int val) { \
368 wxPyBeginBlockThreads(); \
370 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
371 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
372 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
375 wxPyEndBlockThreads(); \
377 PCLASS::CBNAME(attr, val); \
379 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
380 PCLASS::CBNAME(attr, val); \
385 #define PYCALLBACK_INT__pure(CBNAME) \
387 wxPyBeginBlockThreads(); \
389 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
390 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
391 wxPyEndBlockThreads(); \
397 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
398 bool CBNAME(int a, int b) { \
399 wxPyBeginBlockThreads(); \
401 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
402 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
403 wxPyEndBlockThreads(); \
408 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
409 wxString CBNAME(int a, int b) { \
410 wxPyBeginBlockThreads(); \
412 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
414 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
416 rval = Py2wxString(ro); \
420 wxPyEndBlockThreads(); \
425 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
426 void CBNAME(int a, int b, const wxString& c) { \
427 wxPyBeginBlockThreads(); \
428 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
429 PyObject* s = wx2PyString(c); \
430 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
433 wxPyEndBlockThreads(); \
437 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
438 wxString CBNAME(int a, int b) { \
440 wxPyBeginBlockThreads(); \
442 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
444 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
446 rval = Py2wxString(ro); \
450 wxPyEndBlockThreads(); \
452 rval = PCLASS::CBNAME(a, b); \
455 wxString base_##CBNAME(int a, int b) { \
456 return PCLASS::CBNAME(a, b); \
460 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
461 bool CBNAME(int a, int b, const wxString& c) { \
464 wxPyBeginBlockThreads(); \
465 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
466 PyObject* s = wx2PyString(c); \
467 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
470 wxPyEndBlockThreads(); \
472 rval = PCLASS::CBNAME(a,b,c); \
475 bool base_##CBNAME(int a, int b, const wxString& c) { \
476 return PCLASS::CBNAME(a,b,c); \
482 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
483 long CBNAME(int a, int b) { \
486 wxPyBeginBlockThreads(); \
487 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
488 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
489 wxPyEndBlockThreads(); \
491 rval = PCLASS::CBNAME(a,b); \
494 long base_##CBNAME(int a, int b) { \
495 return PCLASS::CBNAME(a,b); \
500 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
501 bool CBNAME(int a, int b) { \
504 wxPyBeginBlockThreads(); \
505 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
506 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
507 wxPyEndBlockThreads(); \
509 rval = PCLASS::CBNAME(a,b); \
512 bool base_##CBNAME(int a, int b) { \
513 return PCLASS::CBNAME(a,b); \
518 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
519 double CBNAME(int a, int b) { \
521 wxPyBeginBlockThreads(); \
523 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
525 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
527 PyObject* str = PyObject_Str(ro); \
528 rval = PyFloat_AsDouble(str); \
529 Py_DECREF(ro); Py_DECREF(str); \
532 wxPyEndBlockThreads(); \
534 rval = PCLASS::CBNAME(a, b); \
537 double base_##CBNAME(int a, int b) { \
538 return PCLASS::CBNAME(a, b); \
543 #define PYCALLBACK__(PCLASS, CBNAME) \
546 wxPyBeginBlockThreads(); \
547 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
548 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
549 wxPyEndBlockThreads(); \
553 void base_##CBNAME() { \
560 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
561 bool CBNAME(size_t a, size_t 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(size_t a, size_t b) { \
573 return PCLASS::CBNAME(a,b); \
578 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
579 bool CBNAME(size_t a) { \
582 wxPyBeginBlockThreads(); \
583 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
584 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
585 wxPyEndBlockThreads(); \
587 rval = PCLASS::CBNAME(a); \
590 bool base_##CBNAME(size_t a) { \
591 return PCLASS::CBNAME(a); \
595 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
596 wxString CBNAME(int a) { \
598 wxPyBeginBlockThreads(); \
600 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
602 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
604 rval = Py2wxString(ro); \
608 wxPyEndBlockThreads(); \
610 rval = PCLASS::CBNAME(a); \
613 wxString base_##CBNAME(int a) { \
614 return PCLASS::CBNAME(a); \
618 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
619 void CBNAME(int a, const wxString& c) { \
621 wxPyBeginBlockThreads(); \
622 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
623 PyObject* s = wx2PyString(c); \
624 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
627 wxPyEndBlockThreads(); \
629 PCLASS::CBNAME(a,c); \
631 void base_##CBNAME(int a, const wxString& c) { \
632 PCLASS::CBNAME(a,c); \
638 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
642 wxPyBeginBlockThreads(); \
643 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
644 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
645 wxPyEndBlockThreads(); \
647 rval = PCLASS::CBNAME(); \
650 bool base_##CBNAME() { \
651 return PCLASS::CBNAME(); \
656 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
657 void CBNAME(size_t a, int b) { \
659 wxPyBeginBlockThreads(); \
660 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
661 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
662 wxPyEndBlockThreads(); \
664 PCLASS::CBNAME(a,b); \
666 void base_##CBNAME(size_t a, int b) { \
667 PCLASS::CBNAME(a,b); \
673 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
674 void CBNAME(int a, int b, long c) { \
676 wxPyBeginBlockThreads(); \
677 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
678 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
679 wxPyEndBlockThreads(); \
681 PCLASS::CBNAME(a,b,c); \
683 void base_##CBNAME(int a, int b, long c) { \
684 PCLASS::CBNAME(a,b,c); \
690 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
691 void CBNAME(int a, int b, double c) { \
693 wxPyBeginBlockThreads(); \
694 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
695 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
696 wxPyEndBlockThreads(); \
698 PCLASS::CBNAME(a,b,c); \
700 void base_##CBNAME(int a, int b, double c) { \
701 PCLASS::CBNAME(a,b,c); \
706 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
707 void CBNAME(int a, int b, bool c) { \
709 wxPyBeginBlockThreads(); \
710 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
711 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
712 wxPyEndBlockThreads(); \
714 PCLASS::CBNAME(a,b,c); \
716 void base_##CBNAME(int a, int b, bool c) { \
717 PCLASS::CBNAME(a,b,c); \
724 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
725 self
->SetClientObject(new wxPyOORClientData(_self
));
728 class wxPyGridCellRenderer
: public wxGridCellRenderer
731 wxPyGridCellRenderer() : wxGridCellRenderer() {};
733 // Implement Python callback aware virtual methods
734 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
735 wxDC
& dc
, const wxRect
& rect
,
736 int row
, int col
, bool isSelected
) {
737 wxPyBeginBlockThreads();
738 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
739 PyObject
* go
= wxPyMake_wxObject(&grid
);
740 PyObject
* dco
= wxPyMake_wxObject(&dc
);
741 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
742 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
744 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
745 row
, col
, isSelected
));
751 wxPyEndBlockThreads();
754 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
757 wxPyBeginBlockThreads();
758 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
761 PyObject
* go
= wxPyMake_wxObject(&grid
);
762 PyObject
* dco
= wxPyMake_wxObject(&dc
);
763 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
765 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
773 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
774 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
777 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
778 PyObject
* o1
= PySequence_GetItem(ro
, 0);
779 PyObject
* o2
= PySequence_GetItem(ro
, 1);
780 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
781 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
783 PyErr_SetString(PyExc_TypeError
, errmsg
);
788 PyErr_SetString(PyExc_TypeError
, errmsg
);
793 wxPyEndBlockThreads();
798 wxGridCellRenderer
*Clone() const {
799 wxGridCellRenderer
* rval
= NULL
;
800 wxPyBeginBlockThreads();
801 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
803 wxGridCellRenderer
* ptr
;
804 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
806 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
811 wxPyEndBlockThreads();
815 DEC_PYCALLBACK__STRING(SetParameters
);
820 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
823 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
824 self
->SetClientObject(new wxPyOORClientData(_self
));
827 class wxPyGridCellEditor
: public wxGridCellEditor
830 wxPyGridCellEditor() : wxGridCellEditor() {}
832 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
833 wxPyBeginBlockThreads();
834 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
835 PyObject
* po
= wxPyMake_wxObject(parent
);
836 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
838 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
842 wxPyEndBlockThreads();
846 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
847 wxPyBeginBlockThreads();
848 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
849 PyObject
* go
= wxPyMake_wxObject(grid
);
850 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
853 wxPyEndBlockThreads();
857 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
859 wxPyBeginBlockThreads();
860 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
861 PyObject
* go
= wxPyMake_wxObject(grid
);
862 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
865 wxPyEndBlockThreads();
870 wxGridCellEditor
* Clone() const {
871 wxGridCellEditor
* rval
= NULL
;
872 wxPyBeginBlockThreads();
873 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
875 wxGridCellEditor
* ptr
;
876 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
878 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
883 wxPyEndBlockThreads();
888 void Show(bool show
, wxGridCellAttr
*attr
) {
890 wxPyBeginBlockThreads();
891 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
892 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
893 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
896 wxPyEndBlockThreads();
898 wxGridCellEditor::Show(show
, attr
);
900 void base_Show(bool show
, wxGridCellAttr
*attr
) {
901 wxGridCellEditor::Show(show
, attr
);
905 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
907 wxPyBeginBlockThreads();
908 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
909 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
910 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
912 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
917 wxPyEndBlockThreads();
919 wxGridCellEditor::PaintBackground(rectCell
, attr
);
921 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
922 wxGridCellEditor::PaintBackground(rectCell
, attr
);
926 DEC_PYCALLBACK___pure(Reset
);
927 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
928 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
929 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
930 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
931 DEC_PYCALLBACK__(StartingClick
);
932 DEC_PYCALLBACK__(Destroy
);
933 DEC_PYCALLBACK__STRING(SetParameters
);
934 DEC_PYCALLBACK_STRING__constpure(GetValue
);
940 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
941 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
942 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
943 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
944 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
945 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
946 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
947 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
948 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
951 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
952 self
->SetClientObject(new wxPyOORClientData(_self
));
955 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
961 } else if (target
== Py_None
) {
965 if (!PyTuple_Check(target
)) {
967 target
= PyTuple_New(1);
968 PyTuple_SetItem(target
, 0, o2
);
971 PyTuple_SetItem(o3
, 0, o
);
974 target
= PySequence_Concat(o2
, o3
);
981 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
982 self
->SetClientObject(new wxPyOORClientData(_self
));
985 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
988 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
990 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
991 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
992 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
993 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
998 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
999 self
->SetClientObject(new wxPyOORClientData(_self
));
1002 class wxPyGridTableBase
: public wxGridTableBase
1005 wxPyGridTableBase() : wxGridTableBase() {}
1007 PYCALLBACK_INT__pure(GetNumberRows
);
1008 PYCALLBACK_INT__pure(GetNumberCols
);
1009 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1010 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1011 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1012 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1013 PYCALLBACK__(wxGridTableBase
, Clear
);
1014 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1015 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1016 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1017 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1018 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1019 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1020 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1021 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1022 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1023 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1024 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1025 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1026 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1027 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1028 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1031 wxString
GetValue(int row
, int col
) {
1032 wxPyBeginBlockThreads();
1034 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1036 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1038 rval
= Py2wxString(ro
);
1042 wxPyEndBlockThreads();
1046 void SetValue(int row
, int col
, const wxString
& val
) {
1047 wxPyBeginBlockThreads();
1048 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1049 PyObject
* s
= wx2PyString(val
);
1050 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1053 wxPyEndBlockThreads();
1057 // Map the Get/Set methods for the standard non-string types to
1058 // the GetValue and SetValue python methods.
1059 long GetValueAsLong( int row
, int col
) {
1061 wxPyBeginBlockThreads();
1062 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1065 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1066 if (ro
&& PyNumber_Check(ro
)) {
1067 num
= PyNumber_Int(ro
);
1069 rval
= PyInt_AsLong(num
);
1075 wxPyEndBlockThreads();
1079 double GetValueAsDouble( int row
, int col
) {
1081 wxPyBeginBlockThreads();
1082 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1085 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1086 if (ro
&& PyNumber_Check(ro
)) {
1087 num
= PyNumber_Float(ro
);
1089 rval
= PyFloat_AsDouble(num
);
1095 wxPyEndBlockThreads();
1099 bool GetValueAsBool( int row
, int col
) {
1100 return (bool)GetValueAsLong(row
, col
);
1103 void SetValueAsLong( int row
, int col
, long value
) {
1104 wxPyBeginBlockThreads();
1105 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1106 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1108 wxPyEndBlockThreads();
1111 void SetValueAsDouble( int row
, int col
, double value
) {
1112 wxPyBeginBlockThreads();
1113 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1114 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1116 wxPyEndBlockThreads();
1119 void SetValueAsBool( int row
, int col
, bool value
) {
1120 SetValueAsLong( row
, col
, (long)value
);
1127 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1128 PyObject
*wxGridCellCoords_asTuple(wxGridCellCoords
*self
){
1129 PyObject
* tup
= PyTuple_New(2);
1130 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1131 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1135 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1137 // If source is an object instance then it may already be the right type
1138 if (wxPySwigInstance_Check(source
)) {
1139 wxGridCellCoords
* ptr
;
1140 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1145 // otherwise a 2-tuple of integers is expected
1146 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1147 PyObject
* o1
= PySequence_GetItem(source
, 0);
1148 PyObject
* o2
= PySequence_GetItem(source
, 1);
1149 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1154 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1161 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1166 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1169 if (wxPySwigInstance_Check(source
) &&
1170 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1174 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1181 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1183 PyObject
* list
= PyList_New(0);
1185 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1186 wxGridCellCoords
& coord
= source
.Item(idx
);
1187 PyObject
* tup
= PyTuple_New(2);
1188 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1189 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1190 PyList_Append(list
, tup
);
1197 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1199 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1200 wxGridCellCoords rv
;
1201 self
->XYToCell(x
, y
, rv
);
1207 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1208 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1213 static PyObject
*_wrap_GridNoCellCoords_get() {
1216 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellCoords
, SWIGTYPE_p_wxGridCellCoords
, 0);
1221 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1222 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1227 static PyObject
*_wrap_GridNoCellRect_get() {
1230 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellRect
, SWIGTYPE_p_wxRect
, 0);
1235 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
*resultobj
;
1237 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1238 PyObject
*arg2
= (PyObject
*) 0 ;
1239 PyObject
* obj0
= 0 ;
1240 PyObject
* obj1
= 0 ;
1242 (char *) "self",(char *) "_self", NULL
1245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) SWIG_fail
;
1255 Py_INCREF(Py_None
); resultobj
= Py_None
;
1262 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
*resultobj
;
1264 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1265 wxString
*arg2
= 0 ;
1266 bool temp2
= False
;
1267 PyObject
* obj0
= 0 ;
1268 PyObject
* obj1
= 0 ;
1270 (char *) "self",(char *) "params", NULL
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1276 arg2
= wxString_in_helper(obj1
);
1277 if (arg2
== NULL
) SWIG_fail
;
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 (arg1
)->SetParameters((wxString
const &)*arg2
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) SWIG_fail
;
1287 Py_INCREF(Py_None
); resultobj
= Py_None
;
1302 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
*resultobj
;
1304 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1305 PyObject
* obj0
= 0 ;
1307 (char *) "self", NULL
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1319 Py_INCREF(Py_None
); resultobj
= Py_None
;
1326 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
*resultobj
;
1328 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1329 PyObject
* obj0
= 0 ;
1331 (char *) "self", NULL
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1343 Py_INCREF(Py_None
); resultobj
= Py_None
;
1350 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
*resultobj
;
1352 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1354 wxGridCellAttr
*arg3
= 0 ;
1361 PyObject
* obj0
= 0 ;
1362 PyObject
* obj1
= 0 ;
1363 PyObject
* obj2
= 0 ;
1364 PyObject
* obj3
= 0 ;
1365 PyObject
* obj4
= 0 ;
1366 PyObject
* obj7
= 0 ;
1368 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOiiO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
)) goto fail
;
1372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1377 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1381 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1387 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1389 arg8
= PyInt_AsLong(obj7
) ? true : false;
1390 if (PyErr_Occurred()) SWIG_fail
;
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) SWIG_fail
;
1398 Py_INCREF(Py_None
); resultobj
= Py_None
;
1405 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
*resultobj
;
1407 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1409 wxGridCellAttr
*arg3
= 0 ;
1414 PyObject
* obj0
= 0 ;
1415 PyObject
* obj1
= 0 ;
1416 PyObject
* obj2
= 0 ;
1417 PyObject
* obj3
= 0 ;
1419 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOii:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
1423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1428 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1430 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1432 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1445 resultptr
= new wxSize((wxSize
&) result
);
1446 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1454 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1456 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1457 wxGridCellRenderer
*result
;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "self", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1473 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1481 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1484 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1486 return Py_BuildValue((char *)"");
1488 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
*resultobj
;
1490 wxPyGridCellRenderer
*result
;
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1510 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
*resultobj
;
1512 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1513 PyObject
*arg2
= (PyObject
*) 0 ;
1514 PyObject
*arg3
= (PyObject
*) 0 ;
1515 PyObject
* obj0
= 0 ;
1516 PyObject
* obj1
= 0 ;
1517 PyObject
* obj2
= 0 ;
1519 (char *) "self",(char *) "self",(char *) "_class", NULL
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1533 Py_INCREF(Py_None
); resultobj
= Py_None
;
1540 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
*resultobj
;
1542 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1543 wxString
*arg2
= 0 ;
1544 bool temp2
= False
;
1545 PyObject
* obj0
= 0 ;
1546 PyObject
* obj1
= 0 ;
1548 (char *) "self",(char *) "params", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1554 arg2
= wxString_in_helper(obj1
);
1555 if (arg2
== NULL
) SWIG_fail
;
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) SWIG_fail
;
1565 Py_INCREF(Py_None
); resultobj
= Py_None
;
1580 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1583 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1585 return Py_BuildValue((char *)"");
1587 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxGridCellStringRenderer
*result
;
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1609 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1612 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1614 return Py_BuildValue((char *)"");
1616 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxGridCellNumberRenderer
*result
;
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1638 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1641 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1643 return Py_BuildValue((char *)"");
1645 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
*resultobj
;
1647 int arg1
= (int) -1 ;
1648 int arg2
= (int) -1 ;
1649 wxGridCellFloatRenderer
*result
;
1651 (char *) "width",(char *) "precision", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellFloatRenderer",kwnames
,&arg1
,&arg2
)) goto fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1669 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1673 PyObject
* obj0
= 0 ;
1675 (char *) "self", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1687 resultobj
= PyInt_FromLong((long)result
);
1694 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
*resultobj
;
1696 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1698 PyObject
* obj0
= 0 ;
1700 (char *) "self",(char *) "width", NULL
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1707 (arg1
)->SetWidth(arg2
);
1709 wxPyEndAllowThreads(__tstate
);
1710 if (PyErr_Occurred()) SWIG_fail
;
1712 Py_INCREF(Py_None
); resultobj
= Py_None
;
1719 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
*resultobj
;
1721 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1723 PyObject
* obj0
= 0 ;
1725 (char *) "self", NULL
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
1729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1737 resultobj
= PyInt_FromLong((long)result
);
1744 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1748 PyObject
* obj0
= 0 ;
1750 (char *) "self",(char *) "precision", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&arg2
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 (arg1
)->SetPrecision(arg2
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 Py_INCREF(Py_None
); resultobj
= Py_None
;
1769 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1772 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
1774 return Py_BuildValue((char *)"");
1776 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxGridCellBoolRenderer
*result
;
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
1798 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1801 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
1803 return Py_BuildValue((char *)"");
1805 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
1808 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
1809 wxGridCellDateTimeRenderer
*result
;
1810 PyObject
* obj0
= 0 ;
1811 PyObject
* obj1
= 0 ;
1813 (char *) "outformat",(char *) "informat", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1819 wxString
* sptr
= wxString_in_helper(obj0
);
1820 if (sptr
== NULL
) SWIG_fail
;
1827 wxString
* sptr
= wxString_in_helper(obj1
);
1828 if (sptr
== NULL
) SWIG_fail
;
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
1847 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1850 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
1852 return Py_BuildValue((char *)"");
1854 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1856 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1857 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1858 wxGridCellEnumRenderer
*result
;
1859 bool temp1
= False
;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "choices", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
1868 arg1
= wxString_in_helper(obj0
);
1869 if (arg1
== NULL
) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
1895 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1898 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
1900 return Py_BuildValue((char *)"");
1902 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxGridCellAutoWrapStringRenderer
*result
;
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
1924 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1927 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
1929 return Py_BuildValue((char *)"");
1931 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1934 PyObject
*arg2
= (PyObject
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1938 (char *) "self",(char *) "_self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 wxGridCellEditor__setOORInfo(arg1
,arg2
);
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1958 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 result
= (bool)(arg1
)->IsCreated();
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 resultobj
= PyInt_FromLong((long)result
);
1983 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
*resultobj
;
1985 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1987 PyObject
* obj0
= 0 ;
1989 (char *) "self", NULL
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
1993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 result
= (wxControl
*)(arg1
)->GetControl();
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2002 resultobj
= wxPyMake_wxObject(result
);
2010 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2013 wxControl
*arg2
= (wxControl
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2015 PyObject
* obj1
= 0 ;
2017 (char *) "self",(char *) "control", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 (arg1
)->SetControl(arg2
);
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 Py_INCREF(Py_None
); resultobj
= Py_None
;
2037 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
*resultobj
;
2039 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2040 wxGridCellAttr
*result
;
2041 PyObject
* obj0
= 0 ;
2043 (char *) "self", NULL
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2056 resultobj
= wxPyMake_wxGridCellAttr(result
);
2064 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2067 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2069 PyObject
* obj1
= 0 ;
2071 (char *) "self",(char *) "attr", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 (arg1
)->SetCellAttr(arg2
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2084 Py_INCREF(Py_None
); resultobj
= Py_None
;
2091 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
*resultobj
;
2093 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2094 wxString
*arg2
= 0 ;
2095 bool temp2
= False
;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2099 (char *) "self",(char *) "params", NULL
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2105 arg2
= wxString_in_helper(obj1
);
2106 if (arg2
== NULL
) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 (arg1
)->SetParameters((wxString
const &)*arg2
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 Py_INCREF(Py_None
); resultobj
= Py_None
;
2131 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2134 PyObject
* obj0
= 0 ;
2136 (char *) "self", NULL
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2158 PyObject
* obj0
= 0 ;
2160 (char *) "self", NULL
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2172 Py_INCREF(Py_None
); resultobj
= Py_None
;
2179 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2182 wxWindow
*arg2
= (wxWindow
*) 0 ;
2184 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2187 PyObject
* obj3
= 0 ;
2189 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2194 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2195 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 (arg1
)->Create(arg2
,arg3
,arg4
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 Py_INCREF(Py_None
); resultobj
= Py_None
;
2210 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
*resultobj
;
2212 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2215 wxGrid
*arg4
= (wxGrid
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2217 PyObject
* obj3
= 0 ;
2219 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 Py_INCREF(Py_None
); resultobj
= Py_None
;
2239 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2244 wxGrid
*arg4
= (wxGrid
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2247 PyObject
* obj3
= 0 ;
2249 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_EndEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2254 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 resultobj
= PyInt_FromLong((long)result
);
2269 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2271 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2274 (char *) "self", NULL
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 Py_INCREF(Py_None
); resultobj
= Py_None
;
2293 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2294 PyObject
*resultobj
;
2295 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2296 wxGridCellEditor
*result
;
2297 PyObject
* obj0
= 0 ;
2299 (char *) "self", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2312 resultobj
= wxPyMake_wxGridCellEditor(result
);
2320 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2322 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2325 PyObject
* obj0
= 0 ;
2326 PyObject
* obj1
= 0 ;
2328 (char *) "self",(char *) "rect", NULL
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2335 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 (arg1
)->SetSize((wxRect
const &)*arg2
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 Py_INCREF(Py_None
); resultobj
= Py_None
;
2351 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2355 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2356 PyObject
* obj0
= 0 ;
2357 PyObject
* obj1
= 0 ;
2358 PyObject
* obj2
= 0 ;
2360 (char *) "self",(char *) "show",(char *) "attr", NULL
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2365 arg2
= PyInt_AsLong(obj1
) ? true : false;
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 (arg1
)->Show(arg2
,arg3
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 Py_INCREF(Py_None
); resultobj
= Py_None
;
2384 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2388 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2392 PyObject
* obj2
= 0 ;
2394 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2403 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2421 wxKeyEvent
*arg2
= 0 ;
2423 PyObject
* obj0
= 0 ;
2424 PyObject
* obj1
= 0 ;
2426 (char *) "self",(char *) "event", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 resultobj
= PyInt_FromLong((long)result
);
2449 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2452 wxKeyEvent
*arg2
= 0 ;
2453 PyObject
* obj0
= 0 ;
2454 PyObject
* obj1
= 0 ;
2456 (char *) "self",(char *) "event", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 (arg1
)->StartingKey(*arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 Py_INCREF(Py_None
); resultobj
= Py_None
;
2479 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "self", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 (arg1
)->StartingClick();
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2496 Py_INCREF(Py_None
); resultobj
= Py_None
;
2503 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2505 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2506 wxKeyEvent
*arg2
= 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "event", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 (arg1
)->HandleReturn(*arg2
);
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2526 Py_INCREF(Py_None
); resultobj
= Py_None
;
2533 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2535 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2536 PyObject
* obj0
= 0 ;
2538 (char *) "self", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2560 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2562 return Py_BuildValue((char *)"");
2564 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
*resultobj
;
2566 wxPyGridCellEditor
*result
;
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellEditor
, 1);
2586 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2589 PyObject
*arg2
= (PyObject
*) 0 ;
2590 PyObject
*arg3
= (PyObject
*) 0 ;
2591 PyObject
* obj0
= 0 ;
2592 PyObject
* obj1
= 0 ;
2593 PyObject
* obj2
= 0 ;
2595 (char *) "self",(char *) "self",(char *) "_class", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2609 Py_INCREF(Py_None
); resultobj
= Py_None
;
2616 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2621 PyObject
* obj0
= 0 ;
2622 PyObject
* obj1
= 0 ;
2624 (char *) "self",(char *) "rect", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2631 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 Py_INCREF(Py_None
); resultobj
= Py_None
;
2647 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2651 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2654 PyObject
* obj2
= 0 ;
2656 (char *) "self",(char *) "show",(char *) "attr", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2661 arg2
= PyInt_AsLong(obj1
) ? true : false;
2662 if (PyErr_Occurred()) SWIG_fail
;
2664 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 (arg1
)->base_Show(arg2
,arg3
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 Py_INCREF(Py_None
); resultobj
= Py_None
;
2680 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2684 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2686 PyObject
* obj0
= 0 ;
2687 PyObject
* obj1
= 0 ;
2688 PyObject
* obj2
= 0 ;
2690 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2697 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2699 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2707 Py_INCREF(Py_None
); resultobj
= Py_None
;
2714 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2717 wxKeyEvent
*arg2
= 0 ;
2719 PyObject
* obj0
= 0 ;
2720 PyObject
* obj1
= 0 ;
2722 (char *) "self",(char *) "event", NULL
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2729 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 resultobj
= PyInt_FromLong((long)result
);
2745 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2748 wxKeyEvent
*arg2
= 0 ;
2749 PyObject
* obj0
= 0 ;
2750 PyObject
* obj1
= 0 ;
2752 (char *) "self",(char *) "event", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2759 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 (arg1
)->base_StartingKey(*arg2
);
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2768 Py_INCREF(Py_None
); resultobj
= Py_None
;
2775 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
*resultobj
;
2777 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "self", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
2784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 (arg1
)->base_StartingClick();
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2792 Py_INCREF(Py_None
); resultobj
= Py_None
;
2799 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2802 wxKeyEvent
*arg2
= 0 ;
2803 PyObject
* obj0
= 0 ;
2804 PyObject
* obj1
= 0 ;
2806 (char *) "self",(char *) "event", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2817 (arg1
)->base_HandleReturn(*arg2
);
2819 wxPyEndAllowThreads(__tstate
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2822 Py_INCREF(Py_None
); resultobj
= Py_None
;
2829 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
*resultobj
;
2831 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2832 PyObject
* obj0
= 0 ;
2834 (char *) "self", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
2838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 (arg1
)->base_Destroy();
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 Py_INCREF(Py_None
); resultobj
= Py_None
;
2853 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
*resultobj
;
2855 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2856 wxString
*arg2
= 0 ;
2857 bool temp2
= False
;
2858 PyObject
* obj0
= 0 ;
2859 PyObject
* obj1
= 0 ;
2861 (char *) "self",(char *) "params", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2867 arg2
= wxString_in_helper(obj1
);
2868 if (arg2
== NULL
) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2878 Py_INCREF(Py_None
); resultobj
= Py_None
;
2893 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2896 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
2898 return Py_BuildValue((char *)"");
2900 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxGridCellTextEditor
*result
;
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2915 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellTextEditor
, 1);
2922 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
2926 PyObject
* obj0
= 0 ;
2928 (char *) "self", NULL
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
2932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellTextEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 result
= (arg1
)->GetValue();
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2953 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2956 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
2958 return Py_BuildValue((char *)"");
2960 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 int arg1
= (int) -1 ;
2963 int arg2
= (int) -1 ;
2964 wxGridCellNumberEditor
*result
;
2966 (char *) "min",(char *) "max", NULL
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellNumberEditor",kwnames
,&arg1
,&arg2
)) goto fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberEditor
, 1);
2984 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
2988 PyObject
* obj0
= 0 ;
2990 (char *) "self", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
2994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellNumberEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= (arg1
)->GetValue();
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3015 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3018 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3020 return Py_BuildValue((char *)"");
3022 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxGridCellFloatEditor
*result
;
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3044 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3048 PyObject
* obj0
= 0 ;
3050 (char *) "self", NULL
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (arg1
)->GetValue();
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3075 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3078 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3080 return Py_BuildValue((char *)"");
3082 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxGridCellBoolEditor
*result
;
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3104 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3110 (char *) "self", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellBoolEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (arg1
)->GetValue();
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3135 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3138 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3140 return Py_BuildValue((char *)"");
3142 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 int arg1
= (int) 0 ;
3145 wxString
*arg2
= (wxString
*) NULL
;
3146 bool arg3
= (bool) False
;
3147 wxGridCellChoiceEditor
*result
;
3148 PyObject
* obj0
= 0 ;
3149 PyObject
* obj1
= 0 ;
3151 (char *) "choices",(char *) "allowOthers", NULL
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3157 arg1
= PyList_Size(obj0
);
3158 arg2
= wxString_LIST_helper(obj0
);
3159 if (arg2
== NULL
) SWIG_fail
;
3163 arg3
= PyInt_AsLong(obj1
) ? true : false;
3164 if (PyErr_Occurred()) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3175 if (arg2
) delete [] arg2
;
3180 if (arg2
) delete [] arg2
;
3186 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3188 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3190 PyObject
* obj0
= 0 ;
3192 (char *) "self", NULL
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 result
= (arg1
)->GetValue();
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3217 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3220 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3222 return Py_BuildValue((char *)"");
3224 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3227 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3228 wxGridCellEnumEditor
*result
;
3229 bool temp1
= False
;
3230 PyObject
* obj0
= 0 ;
3232 (char *) "choices", NULL
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3238 arg1
= wxString_in_helper(obj0
);
3239 if (arg1
== NULL
) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3265 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3267 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3271 (char *) "self", NULL
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEnumEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 result
= (arg1
)->GetValue();
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3296 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3299 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3301 return Py_BuildValue((char *)"");
3303 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
*resultobj
;
3305 wxGridCellAutoWrapStringEditor
*result
;
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3325 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3331 (char *) "self", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 result
= (arg1
)->GetValue();
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3356 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3359 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3361 return Py_BuildValue((char *)"");
3363 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3366 PyObject
*arg2
= (PyObject
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3370 (char *) "self",(char *) "_self", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3390 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3393 wxGridCellAttr
*result
;
3394 PyObject
* obj0
= 0 ;
3396 (char *) "attrDefault", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3411 resultobj
= wxPyMake_wxGridCellAttr(result
);
3419 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3422 wxGridCellAttr
*result
;
3423 PyObject
* obj0
= 0 ;
3425 (char *) "self", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= wxPyMake_wxGridCellAttr(result
);
3446 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3449 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3453 (char *) "self",(char *) "mergefrom", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 (arg1
)->MergeWith(arg2
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 Py_INCREF(Py_None
); resultobj
= Py_None
;
3473 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3475 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3478 (char *) "self", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 Py_INCREF(Py_None
); resultobj
= Py_None
;
3497 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3499 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3500 PyObject
* obj0
= 0 ;
3502 (char *) "self", NULL
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3521 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3524 wxColour
*arg2
= 0 ;
3526 PyObject
* obj0
= 0 ;
3527 PyObject
* obj1
= 0 ;
3529 (char *) "self",(char *) "colText", NULL
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 Py_INCREF(Py_None
); resultobj
= Py_None
;
3552 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3555 wxColour
*arg2
= 0 ;
3557 PyObject
* obj0
= 0 ;
3558 PyObject
* obj1
= 0 ;
3560 (char *) "self",(char *) "colBack", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3567 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3583 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3590 (char *) "self",(char *) "font", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 (arg1
)->SetFont((wxFont
const &)*arg2
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 Py_INCREF(Py_None
); resultobj
= Py_None
;
3613 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3618 PyObject
* obj0
= 0 ;
3620 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 (arg1
)->SetAlignment(arg2
,arg3
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3632 Py_INCREF(Py_None
); resultobj
= Py_None
;
3639 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
*resultobj
;
3641 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3646 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 (arg1
)->SetSize(arg2
,arg3
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 Py_INCREF(Py_None
); resultobj
= Py_None
;
3665 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3668 bool arg2
= (bool) True
;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3672 (char *) "self",(char *) "allow", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
3676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3678 arg2
= PyInt_AsLong(obj1
) ? true : false;
3679 if (PyErr_Occurred()) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 (arg1
)->SetOverflow(arg2
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 Py_INCREF(Py_None
); resultobj
= Py_None
;
3695 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3698 bool arg2
= (bool) True
;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3702 (char *) "self",(char *) "isReadOnly", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
3706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3708 arg2
= PyInt_AsLong(obj1
) ? true : false;
3709 if (PyErr_Occurred()) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 (arg1
)->SetReadOnly(arg2
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3728 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
3729 PyObject
* obj0
= 0 ;
3730 PyObject
* obj1
= 0 ;
3732 (char *) "self",(char *) "renderer", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->SetRenderer(arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3755 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3757 PyObject
* obj1
= 0 ;
3759 (char *) "self",(char *) "editor", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 (arg1
)->SetEditor(arg2
);
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3785 (char *) "self",(char *) "kind", NULL
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellAttr_SetKind",kwnames
,&obj0
,&arg2
)) goto fail
;
3789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "self", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 resultobj
= PyInt_FromLong((long)result
);
3829 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
;
3831 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3833 PyObject
* obj0
= 0 ;
3835 (char *) "self", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
3839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= PyInt_FromLong((long)result
);
3854 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= PyInt_FromLong((long)result
);
3879 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3883 PyObject
* obj0
= 0 ;
3885 (char *) "self", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
3889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 resultobj
= PyInt_FromLong((long)result
);
3904 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3908 PyObject
* obj0
= 0 ;
3910 (char *) "self", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
3914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 resultobj
= PyInt_FromLong((long)result
);
3929 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3935 (char *) "self", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
3939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= PyInt_FromLong((long)result
);
3954 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3958 PyObject
* obj0
= 0 ;
3960 (char *) "self", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
3964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 resultobj
= PyInt_FromLong((long)result
);
3979 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3985 (char *) "self", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= PyInt_FromLong((long)result
);
4004 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4008 PyObject
* obj0
= 0 ;
4010 (char *) "self", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 wxColour
* resultptr
;
4024 resultptr
= new wxColour((wxColour
&) result
);
4025 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4033 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4039 (char *) "self", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4052 wxColour
* resultptr
;
4053 resultptr
= new wxColour((wxColour
&) result
);
4054 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4062 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4066 PyObject
* obj0
= 0 ;
4068 (char *) "self", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4082 resultptr
= new wxFont((wxFont
&) result
);
4083 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
4091 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4094 int *arg2
= (int *) 0 ;
4095 int *arg3
= (int *) 0 ;
4098 PyObject
* obj0
= 0 ;
4100 (char *) "self", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 Py_INCREF(Py_None
); resultobj
= Py_None
;
4116 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4117 resultobj
= t_output_helper(resultobj
,o
);
4120 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4121 resultobj
= t_output_helper(resultobj
,o
);
4129 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4132 int *arg2
= (int *) 0 ;
4133 int *arg3
= (int *) 0 ;
4136 PyObject
* obj0
= 0 ;
4138 (char *) "self", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4154 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4155 resultobj
= t_output_helper(resultobj
,o
);
4158 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4159 resultobj
= t_output_helper(resultobj
,o
);
4167 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4171 PyObject
* obj0
= 0 ;
4173 (char *) "self", NULL
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= PyInt_FromLong((long)result
);
4192 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4195 wxGrid
*arg2
= (wxGrid
*) 0 ;
4198 wxGridCellRenderer
*result
;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4202 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4224 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4226 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4227 wxGrid
*arg2
= (wxGrid
*) 0 ;
4230 wxGridCellEditor
*result
;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4234 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= wxPyMake_wxGridCellEditor(result
);
4256 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
;
4258 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4260 PyObject
* obj0
= 0 ;
4262 (char *) "self", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= PyInt_FromLong((long)result
);
4281 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4284 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4288 (char *) "self",(char *) "defAttr", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 (arg1
)->SetDefAttr(arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 Py_INCREF(Py_None
); resultobj
= Py_None
;
4308 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4311 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4313 return Py_BuildValue((char *)"");
4315 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4317 wxGridCellAttrProvider
*result
;
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4339 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4342 PyObject
*arg2
= (PyObject
*) 0 ;
4343 PyObject
* obj0
= 0 ;
4344 PyObject
* obj1
= 0 ;
4346 (char *) "self",(char *) "_self", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 Py_INCREF(Py_None
); resultobj
= Py_None
;
4366 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4372 wxGridCellAttr
*result
;
4373 PyObject
* obj0
= 0 ;
4375 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= wxPyMake_wxGridCellAttr(result
);
4396 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4398 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4399 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4405 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4425 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4428 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4433 (char *) "self",(char *) "attr",(char *) "row", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 (arg1
)->SetRowAttr(arg2
,arg3
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 Py_INCREF(Py_None
); resultobj
= Py_None
;
4453 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4456 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4461 (char *) "self",(char *) "attr",(char *) "col", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 (arg1
)->SetColAttr(arg2
,arg3
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 Py_INCREF(Py_None
); resultobj
= Py_None
;
4481 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4489 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4494 arg2
= (size_t) PyInt_AsLong(obj1
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 Py_INCREF(Py_None
); resultobj
= Py_None
;
4510 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4515 PyObject
* obj0
= 0 ;
4516 PyObject
* obj1
= 0 ;
4518 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4523 arg2
= (size_t) PyInt_AsLong(obj1
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 (arg1
)->UpdateAttrCols(arg2
,arg3
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 Py_INCREF(Py_None
); resultobj
= Py_None
;
4539 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4542 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
4544 return Py_BuildValue((char *)"");
4546 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
;
4548 wxPyGridCellAttrProvider
*result
;
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
4568 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4571 PyObject
*arg2
= (PyObject
*) 0 ;
4572 PyObject
*arg3
= (PyObject
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4575 PyObject
* obj2
= 0 ;
4577 (char *) "self",(char *) "self",(char *) "_class", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4591 Py_INCREF(Py_None
); resultobj
= Py_None
;
4598 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
;
4600 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4604 wxGridCellAttr
*result
;
4605 PyObject
* obj0
= 0 ;
4607 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= wxPyMake_wxGridCellAttr(result
);
4628 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
;
4630 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4631 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4637 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 Py_INCREF(Py_None
); resultobj
= Py_None
;
4657 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4660 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4665 (char *) "self",(char *) "attr",(char *) "row", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 (arg1
)->base_SetRowAttr(arg2
,arg3
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 Py_INCREF(Py_None
); resultobj
= Py_None
;
4685 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4688 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4693 (char *) "self",(char *) "attr",(char *) "col", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->base_SetColAttr(arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4713 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4716 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
4718 return Py_BuildValue((char *)"");
4720 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4723 PyObject
*arg2
= (PyObject
*) 0 ;
4724 PyObject
* obj0
= 0 ;
4725 PyObject
* obj1
= 0 ;
4727 (char *) "self",(char *) "_self", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 wxGridTableBase__setOORInfo(arg1
,arg2
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4740 Py_INCREF(Py_None
); resultobj
= Py_None
;
4747 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4750 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4754 (char *) "self",(char *) "attrProvider", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 (arg1
)->SetAttrProvider(arg2
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 Py_INCREF(Py_None
); resultobj
= Py_None
;
4774 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4777 wxGridCellAttrProvider
*result
;
4778 PyObject
* obj0
= 0 ;
4780 (char *) "self", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
4784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4801 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
;
4803 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4804 wxGrid
*arg2
= (wxGrid
*) 0 ;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4808 (char *) "self",(char *) "grid", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
4812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 (arg1
)->SetView(arg2
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 Py_INCREF(Py_None
); resultobj
= Py_None
;
4828 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4834 (char *) "self", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= wxPyMake_wxObject(result
);
4855 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4859 PyObject
* obj0
= 0 ;
4861 (char *) "self", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 result
= (int)(arg1
)->GetNumberRows();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= PyInt_FromLong((long)result
);
4880 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (int)(arg1
)->GetNumberCols();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= PyInt_FromLong((long)result
);
4905 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4911 PyObject
* obj0
= 0 ;
4913 (char *) "self",(char *) "row",(char *) "col", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= PyInt_FromLong((long)result
);
4932 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self",(char *) "row",(char *) "col", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (arg1
)->GetValue(arg2
,arg3
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4965 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4970 wxString
*arg4
= 0 ;
4971 bool temp4
= False
;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj3
= 0 ;
4975 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4981 arg4
= wxString_in_helper(obj3
);
4982 if (arg4
== NULL
) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 Py_INCREF(Py_None
); resultobj
= Py_None
;
5007 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5015 (char *) "self",(char *) "row",(char *) "col", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5040 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5045 wxString
*arg4
= 0 ;
5047 bool temp4
= False
;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj3
= 0 ;
5051 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5057 arg4
= wxString_in_helper(obj3
);
5058 if (arg4
== NULL
) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= PyInt_FromLong((long)result
);
5083 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5088 wxString
*arg4
= 0 ;
5090 bool temp4
= False
;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj3
= 0 ;
5094 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5100 arg4
= wxString_in_helper(obj3
);
5101 if (arg4
== NULL
) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= PyInt_FromLong((long)result
);
5126 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5134 (char *) "self",(char *) "row",(char *) "col", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 resultobj
= PyInt_FromLong((long)result
);
5153 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5159 PyObject
* obj0
= 0 ;
5161 (char *) "self",(char *) "row",(char *) "col", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= PyFloat_FromDouble(result
);
5180 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5188 (char *) "self",(char *) "row",(char *) "col", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= PyInt_FromLong((long)result
);
5207 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5215 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 Py_INCREF(Py_None
); resultobj
= Py_None
;
5234 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5242 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiid:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 Py_INCREF(Py_None
); resultobj
= Py_None
;
5261 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5268 PyObject
* obj3
= 0 ;
5270 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5275 arg4
= PyInt_AsLong(obj3
) ? true : false;
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 Py_INCREF(Py_None
); resultobj
= Py_None
;
5291 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
*resultobj
;
5293 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5308 Py_INCREF(Py_None
); resultobj
= Py_None
;
5315 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
;
5317 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5318 size_t arg2
= (size_t) 0 ;
5319 size_t arg3
= (size_t) 1 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 PyObject
* obj2
= 0 ;
5325 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5331 arg2
= (size_t) PyInt_AsLong(obj1
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5335 arg3
= (size_t) PyInt_AsLong(obj2
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= PyInt_FromLong((long)result
);
5352 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5355 size_t arg2
= (size_t) 1 ;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5360 (char *) "self",(char *) "numRows", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5366 arg2
= (size_t) PyInt_AsLong(obj1
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (bool)(arg1
)->AppendRows(arg2
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= PyInt_FromLong((long)result
);
5383 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5386 size_t arg2
= (size_t) 0 ;
5387 size_t arg3
= (size_t) 1 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 PyObject
* obj2
= 0 ;
5393 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5399 arg2
= (size_t) PyInt_AsLong(obj1
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 arg3
= (size_t) PyInt_AsLong(obj2
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= PyInt_FromLong((long)result
);
5420 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5423 size_t arg2
= (size_t) 0 ;
5424 size_t arg3
= (size_t) 1 ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5428 PyObject
* obj2
= 0 ;
5430 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5436 arg2
= (size_t) PyInt_AsLong(obj1
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 arg3
= (size_t) PyInt_AsLong(obj2
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= PyInt_FromLong((long)result
);
5457 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5460 size_t arg2
= (size_t) 1 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 (char *) "self",(char *) "numCols", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5471 arg2
= (size_t) PyInt_AsLong(obj1
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (bool)(arg1
)->AppendCols(arg2
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= PyInt_FromLong((long)result
);
5488 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5491 size_t arg2
= (size_t) 0 ;
5492 size_t arg3
= (size_t) 1 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5496 PyObject
* obj2
= 0 ;
5498 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5504 arg2
= (size_t) PyInt_AsLong(obj1
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 arg3
= (size_t) PyInt_AsLong(obj2
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= PyInt_FromLong((long)result
);
5525 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5530 PyObject
* obj0
= 0 ;
5532 (char *) "self",(char *) "row", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 result
= (arg1
)->GetRowLabelValue(arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5557 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
;
5559 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5562 PyObject
* obj0
= 0 ;
5564 (char *) "self",(char *) "col", NULL
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 result
= (arg1
)->GetColLabelValue(arg2
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5589 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5593 wxString
*arg3
= 0 ;
5594 bool temp3
= False
;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj2
= 0 ;
5598 (char *) "self",(char *) "row",(char *) "value", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5604 arg3
= wxString_in_helper(obj2
);
5605 if (arg3
== NULL
) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5634 wxString
*arg3
= 0 ;
5635 bool temp3
= False
;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj2
= 0 ;
5639 (char *) "self",(char *) "col",(char *) "value", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5645 arg3
= wxString_in_helper(obj2
);
5646 if (arg3
== NULL
) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 Py_INCREF(Py_None
); resultobj
= Py_None
;
5671 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5677 (char *) "self", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (bool)(arg1
)->CanHaveAttributes();
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= PyInt_FromLong((long)result
);
5696 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5702 wxGridCellAttr
*result
;
5703 PyObject
* obj0
= 0 ;
5705 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridTableBase_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= wxPyMake_wxGridCellAttr(result
);
5726 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5729 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5732 PyObject
* obj0
= 0 ;
5733 PyObject
* obj1
= 0 ;
5735 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
5739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 Py_INCREF(Py_None
); resultobj
= Py_None
;
5755 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5758 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5763 (char *) "self",(char *) "attr",(char *) "row", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 (arg1
)->SetRowAttr(arg2
,arg3
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5786 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5791 (char *) "self",(char *) "attr",(char *) "col", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5796 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 (arg1
)->SetColAttr(arg2
,arg3
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 Py_INCREF(Py_None
); resultobj
= Py_None
;
5811 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
5813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5814 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
5816 return Py_BuildValue((char *)"");
5818 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxPyGridTableBase
*result
;
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridTableBase
, 1);
5840 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5843 PyObject
*arg2
= (PyObject
*) 0 ;
5844 PyObject
*arg3
= (PyObject
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5847 PyObject
* obj2
= 0 ;
5849 (char *) "self",(char *) "self",(char *) "_class", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 Py_INCREF(Py_None
); resultobj
= Py_None
;
5870 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "self", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 wxPyGridTableBase_Destroy(arg1
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 Py_INCREF(Py_None
); resultobj
= Py_None
;
5894 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5900 PyObject
* obj0
= 0 ;
5902 (char *) "self",(char *) "row",(char *) "col", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5927 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5932 wxString
*arg4
= 0 ;
5934 bool temp4
= False
;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj3
= 0 ;
5938 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5944 arg4
= wxString_in_helper(obj3
);
5945 if (arg4
== NULL
) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= PyInt_FromLong((long)result
);
5970 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5975 wxString
*arg4
= 0 ;
5977 bool temp4
= False
;
5978 PyObject
* obj0
= 0 ;
5979 PyObject
* obj3
= 0 ;
5981 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5987 arg4
= wxString_in_helper(obj3
);
5988 if (arg4
== NULL
) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= PyInt_FromLong((long)result
);
6013 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "self", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 (arg1
)->base_Clear();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 Py_INCREF(Py_None
); resultobj
= Py_None
;
6037 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6040 size_t arg2
= (size_t) 0 ;
6041 size_t arg3
= (size_t) 1 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6045 PyObject
* obj2
= 0 ;
6047 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6053 arg2
= (size_t) PyInt_AsLong(obj1
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 arg3
= (size_t) PyInt_AsLong(obj2
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= PyInt_FromLong((long)result
);
6074 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6077 size_t arg2
= (size_t) 1 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6082 (char *) "self",(char *) "numRows", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6088 arg2
= (size_t) PyInt_AsLong(obj1
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= PyInt_FromLong((long)result
);
6105 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6107 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6108 size_t arg2
= (size_t) 0 ;
6109 size_t arg3
= (size_t) 1 ;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6113 PyObject
* obj2
= 0 ;
6115 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6121 arg2
= (size_t) PyInt_AsLong(obj1
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 arg3
= (size_t) PyInt_AsLong(obj2
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= PyInt_FromLong((long)result
);
6142 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6145 size_t arg2
= (size_t) 0 ;
6146 size_t arg3
= (size_t) 1 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 PyObject
* obj2
= 0 ;
6152 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6158 arg2
= (size_t) PyInt_AsLong(obj1
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 arg3
= (size_t) PyInt_AsLong(obj2
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= PyInt_FromLong((long)result
);
6179 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6182 size_t arg2
= (size_t) 1 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6187 (char *) "self",(char *) "numCols", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6193 arg2
= (size_t) PyInt_AsLong(obj1
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= PyInt_FromLong((long)result
);
6210 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6213 size_t arg2
= (size_t) 0 ;
6214 size_t arg3
= (size_t) 1 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 PyObject
* obj2
= 0 ;
6220 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6226 arg2
= (size_t) PyInt_AsLong(obj1
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6230 arg3
= (size_t) PyInt_AsLong(obj2
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= PyInt_FromLong((long)result
);
6247 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
;
6249 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "self",(char *) "row", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6279 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6286 (char *) "self",(char *) "col", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (arg1
)->base_GetColLabelValue(arg2
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6311 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6315 wxString
*arg3
= 0 ;
6316 bool temp3
= False
;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj2
= 0 ;
6320 (char *) "self",(char *) "row",(char *) "value", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6326 arg3
= wxString_in_helper(obj2
);
6327 if (arg3
== NULL
) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 Py_INCREF(Py_None
); resultobj
= Py_None
;
6352 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6356 wxString
*arg3
= 0 ;
6357 bool temp3
= False
;
6358 PyObject
* obj0
= 0 ;
6359 PyObject
* obj2
= 0 ;
6361 (char *) "self",(char *) "col",(char *) "value", NULL
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6367 arg3
= wxString_in_helper(obj2
);
6368 if (arg3
== NULL
) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 Py_INCREF(Py_None
); resultobj
= Py_None
;
6393 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6399 (char *) "self", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= (bool)(arg1
)->base_CanHaveAttributes();
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= PyInt_FromLong((long)result
);
6418 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6420 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6424 wxGridCellAttr
*result
;
6425 PyObject
* obj0
= 0 ;
6427 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= wxPyMake_wxGridCellAttr(result
);
6448 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6451 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj1
= 0 ;
6457 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 Py_INCREF(Py_None
); resultobj
= Py_None
;
6477 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6480 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6485 (char *) "self",(char *) "attr",(char *) "row", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 Py_INCREF(Py_None
); resultobj
= Py_None
;
6505 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6508 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6513 (char *) "self",(char *) "attr",(char *) "col", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 (arg1
)->base_SetColAttr(arg2
,arg3
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6536 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
6538 return Py_BuildValue((char *)"");
6540 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 int arg1
= (int) 0 ;
6543 int arg2
= (int) 0 ;
6544 wxGridStringTable
*result
;
6546 (char *) "numRows",(char *) "numCols", NULL
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridStringTable",kwnames
,&arg1
,&arg2
)) goto fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridStringTable
, 1);
6564 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
6566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6567 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
6569 return Py_BuildValue((char *)"");
6571 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6575 int arg3
= (int) -1 ;
6576 int arg4
= (int) -1 ;
6577 wxGridTableMessage
*result
;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:new_GridTableMessage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridTableMessage
, 1);
6599 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6602 PyObject
* obj0
= 0 ;
6604 (char *) "self", NULL
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
6608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 Py_INCREF(Py_None
); resultobj
= Py_None
;
6623 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6626 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6630 (char *) "self",(char *) "table", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 (arg1
)->SetTableObject(arg2
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 Py_INCREF(Py_None
); resultobj
= Py_None
;
6650 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6653 wxGridTableBase
*result
;
6654 PyObject
* obj0
= 0 ;
6656 (char *) "self", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
6660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= wxPyMake_wxGridTableBase(result
);
6677 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "self",(char *) "id", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
6687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 (arg1
)->SetId(arg2
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 Py_INCREF(Py_None
); resultobj
= Py_None
;
6702 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
;
6704 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6706 PyObject
* obj0
= 0 ;
6708 (char *) "self", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (int)(arg1
)->GetId();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= PyInt_FromLong((long)result
);
6727 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6731 PyObject
* obj0
= 0 ;
6733 (char *) "self",(char *) "comInt1", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&arg2
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 (arg1
)->SetCommandInt(arg2
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6758 (char *) "self", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (int)(arg1
)->GetCommandInt();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= PyInt_FromLong((long)result
);
6777 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6783 (char *) "self",(char *) "comInt2", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&arg2
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 (arg1
)->SetCommandInt2(arg2
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 Py_INCREF(Py_None
); resultobj
= Py_None
;
6802 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6806 PyObject
* obj0
= 0 ;
6808 (char *) "self", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (int)(arg1
)->GetCommandInt2();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= PyInt_FromLong((long)result
);
6827 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
6829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6830 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
6832 return Py_BuildValue((char *)"");
6834 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 int arg1
= (int) -1 ;
6837 int arg2
= (int) -1 ;
6838 wxGridCellCoords
*result
;
6840 (char *) "r",(char *) "c", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellCoords",kwnames
,&arg1
,&arg2
)) goto fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellCoords
, 1);
6858 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6863 (char *) "self", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 Py_INCREF(Py_None
); resultobj
= Py_None
;
6882 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6888 (char *) "self", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= PyInt_FromLong((long)result
);
6907 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self",(char *) "n", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
6917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 (arg1
)->SetRow(arg2
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 Py_INCREF(Py_None
); resultobj
= Py_None
;
6932 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6938 (char *) "self", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= PyInt_FromLong((long)result
);
6957 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6961 PyObject
* obj0
= 0 ;
6963 (char *) "self",(char *) "n", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
6967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 (arg1
)->SetCol(arg2
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 Py_INCREF(Py_None
); resultobj
= Py_None
;
6982 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6989 (char *) "self",(char *) "row",(char *) "col", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellCoords_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 (arg1
)->Set(arg2
,arg3
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 Py_INCREF(Py_None
); resultobj
= Py_None
;
7008 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
;
7010 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7011 wxGridCellCoords
*arg2
= 0 ;
7013 PyObject
* obj0
= 0 ;
7014 PyObject
* obj1
= 0 ;
7016 (char *) "self",(char *) "other", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= PyInt_FromLong((long)result
);
7039 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7042 wxGridCellCoords
*arg2
= 0 ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7047 (char *) "self",(char *) "other", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= PyInt_FromLong((long)result
);
7070 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
;
7072 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7076 (char *) "self", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7095 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7098 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7100 return Py_BuildValue((char *)"");
7102 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxWindow
*arg1
= (wxWindow
*) 0 ;
7106 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7107 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7108 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7109 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7110 long arg5
= (long) wxWANTS_CHARS
;
7111 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7112 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7116 bool temp6
= False
;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj2
= 0 ;
7119 PyObject
* obj3
= 0 ;
7120 PyObject
* obj5
= 0 ;
7122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Grid",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7130 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7136 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7141 arg6
= wxString_in_helper(obj5
);
7142 if (arg6
== NULL
) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= wxPyMake_wxObject(result
);
7170 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxGrid
*arg1
= (wxGrid
*) 0 ;
7175 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7177 PyObject
* obj0
= 0 ;
7179 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Grid_CreateGrid",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
7183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= PyInt_FromLong((long)result
);
7198 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxGrid
*arg1
= (wxGrid
*) 0 ;
7201 WXGRIDSELECTIONMODES arg2
;
7202 PyObject
* obj0
= 0 ;
7204 (char *) "self",(char *) "selmode", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetSelectionMode",kwnames
,&obj0
,&arg2
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 (arg1
)->SetSelectionMode(arg2
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxGrid
*arg1
= (wxGrid
*) 0 ;
7226 WXGRIDSELECTIONMODES result
;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= PyInt_FromLong((long)result
);
7248 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxGrid
*arg1
= (wxGrid
*) 0 ;
7252 PyObject
* obj0
= 0 ;
7254 (char *) "self", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)(arg1
)->GetNumberRows();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= PyInt_FromLong((long)result
);
7273 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 wxGrid
*arg1
= (wxGrid
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7279 (char *) "self", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
7283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 result
= (int)(arg1
)->GetNumberCols();
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= PyInt_FromLong((long)result
);
7298 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxGrid
*arg1
= (wxGrid
*) 0 ;
7301 wxGridTableMessage
*arg2
= 0 ;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7306 (char *) "self","arg2", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7311 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7313 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= PyInt_FromLong((long)result
);
7329 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxGrid
*arg1
= (wxGrid
*) 0 ;
7332 wxGridTableBase
*result
;
7333 PyObject
* obj0
= 0 ;
7335 (char *) "self", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= wxPyMake_wxGridTableBase(result
);
7356 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxGrid
*arg1
= (wxGrid
*) 0 ;
7359 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7360 bool arg3
= (bool) False
;
7361 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7365 PyObject
* obj2
= 0 ;
7367 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7374 arg3
= PyInt_AsLong(obj2
) ? true : false;
7375 if (PyErr_Occurred()) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= PyInt_FromLong((long)result
);
7391 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxGrid
*arg1
= (wxGrid
*) 0 ;
7394 PyObject
* obj0
= 0 ;
7396 (char *) "self", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 (arg1
)->ClearGrid();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 Py_INCREF(Py_None
); resultobj
= Py_None
;
7415 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
*resultobj
;
7417 wxGrid
*arg1
= (wxGrid
*) 0 ;
7418 int arg2
= (int) 0 ;
7419 int arg3
= (int) 1 ;
7420 bool arg4
= (bool) True
;
7422 PyObject
* obj0
= 0 ;
7423 PyObject
* obj3
= 0 ;
7425 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7431 arg4
= PyInt_AsLong(obj3
) ? true : false;
7432 if (PyErr_Occurred()) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= PyInt_FromLong((long)result
);
7448 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxGrid
*arg1
= (wxGrid
*) 0 ;
7451 int arg2
= (int) 1 ;
7452 bool arg3
= (bool) True
;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj2
= 0 ;
7457 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendRows",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7463 arg3
= PyInt_AsLong(obj2
) ? true : false;
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= PyInt_FromLong((long)result
);
7480 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxGrid
*arg1
= (wxGrid
*) 0 ;
7483 int arg2
= (int) 0 ;
7484 int arg3
= (int) 1 ;
7485 bool arg4
= (bool) True
;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj3
= 0 ;
7490 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7496 arg4
= PyInt_AsLong(obj3
) ? true : false;
7497 if (PyErr_Occurred()) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= PyInt_FromLong((long)result
);
7513 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxGrid
*arg1
= (wxGrid
*) 0 ;
7516 int arg2
= (int) 0 ;
7517 int arg3
= (int) 1 ;
7518 bool arg4
= (bool) True
;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj3
= 0 ;
7523 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7529 arg4
= PyInt_AsLong(obj3
) ? true : false;
7530 if (PyErr_Occurred()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= PyInt_FromLong((long)result
);
7546 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxGrid
*arg1
= (wxGrid
*) 0 ;
7549 int arg2
= (int) 1 ;
7550 bool arg3
= (bool) True
;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj2
= 0 ;
7555 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendCols",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7561 arg3
= PyInt_AsLong(obj2
) ? true : false;
7562 if (PyErr_Occurred()) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= PyInt_FromLong((long)result
);
7578 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxGrid
*arg1
= (wxGrid
*) 0 ;
7581 int arg2
= (int) 0 ;
7582 int arg3
= (int) 1 ;
7583 bool arg4
= (bool) True
;
7585 PyObject
* obj0
= 0 ;
7586 PyObject
* obj3
= 0 ;
7588 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7594 arg4
= PyInt_AsLong(obj3
) ? true : false;
7595 if (PyErr_Occurred()) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= PyInt_FromLong((long)result
);
7611 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxGrid
*arg1
= (wxGrid
*) 0 ;
7615 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 PyObject
* obj2
= 0 ;
7620 (char *) "self",(char *) "dc",(char *) "attr", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7627 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7629 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 Py_INCREF(Py_None
); resultobj
= Py_None
;
7644 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxGrid
*arg1
= (wxGrid
*) 0 ;
7648 wxString
*arg3
= 0 ;
7650 int arg5
= (int) wxLEFT
;
7651 int arg6
= (int) wxTOP
;
7652 int arg7
= (int) wxHORIZONTAL
;
7653 bool temp3
= False
;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7657 PyObject
* obj2
= 0 ;
7658 PyObject
* obj3
= 0 ;
7660 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iii:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&arg7
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7670 arg3
= wxString_in_helper(obj2
);
7671 if (arg3
== NULL
) SWIG_fail
;
7676 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 Py_INCREF(Py_None
); resultobj
= Py_None
;
7700 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxGrid
*arg1
= (wxGrid
*) 0 ;
7704 wxArrayString
*arg3
= 0 ;
7705 long *arg4
= (long *) 0 ;
7706 long *arg5
= (long *) 0 ;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 PyObject
* obj2
= 0 ;
7713 (char *) "self",(char *) "dc",(char *) "lines", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7725 if (! PySequence_Check(obj2
)) {
7726 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7729 arg3
= new wxArrayString
;
7730 int i
, len
=PySequence_Length(obj2
);
7731 for (i
=0; i
<len
; i
++) {
7732 PyObject
* item
= PySequence_GetItem(obj2
, i
);
7734 PyObject
* str
= PyObject_Unicode(item
);
7736 PyObject
* str
= PyObject_Str(item
);
7738 arg3
->Add(Py2wxString(str
));
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7753 resultobj
= t_output_helper(resultobj
,o
);
7756 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
7757 resultobj
= t_output_helper(resultobj
,o
);
7760 if (arg3
) delete arg3
;
7765 if (arg3
) delete arg3
;
7771 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxGrid
*arg1
= (wxGrid
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "self", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 (arg1
)->BeginBatch();
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 Py_INCREF(Py_None
); resultobj
= Py_None
;
7795 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxGrid
*arg1
= (wxGrid
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7800 (char *) "self", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
7804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 Py_INCREF(Py_None
); resultobj
= Py_None
;
7819 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxGrid
*arg1
= (wxGrid
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (int)(arg1
)->GetBatchCount();
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= PyInt_FromLong((long)result
);
7844 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
;
7846 wxGrid
*arg1
= (wxGrid
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7849 (char *) "self", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 (arg1
)->ForceRefresh();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 Py_INCREF(Py_None
); resultobj
= Py_None
;
7868 static PyObject
*_wrap_Grid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxGrid
*arg1
= (wxGrid
*) 0 ;
7871 bool arg2
= (bool) True
;
7872 wxRect
*arg3
= (wxRect
*) NULL
;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 PyObject
* obj2
= 0 ;
7877 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7883 arg2
= PyInt_AsLong(obj1
) ? true : false;
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 Py_INCREF(Py_None
); resultobj
= Py_None
;
7903 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxGrid
*arg1
= (wxGrid
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7909 (char *) "self", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)(arg1
)->IsEditable();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= PyInt_FromLong((long)result
);
7928 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxGrid
*arg1
= (wxGrid
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7935 (char *) "self",(char *) "edit", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7940 arg2
= PyInt_AsLong(obj1
) ? true : false;
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 (arg1
)->EnableEditing(arg2
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 Py_INCREF(Py_None
); resultobj
= Py_None
;
7956 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxGrid
*arg1
= (wxGrid
*) 0 ;
7959 bool arg2
= (bool) True
;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj1
= 0 ;
7963 (char *) "self",(char *) "enable", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7969 arg2
= PyInt_AsLong(obj1
) ? true : false;
7970 if (PyErr_Occurred()) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 (arg1
)->EnableCellEditControl(arg2
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 Py_INCREF(Py_None
); resultobj
= Py_None
;
7986 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxGrid
*arg1
= (wxGrid
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7991 (char *) "self", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 (arg1
)->DisableCellEditControl();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxGrid
*arg1
= (wxGrid
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= PyInt_FromLong((long)result
);
8035 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxGrid
*arg1
= (wxGrid
*) 0 ;
8039 PyObject
* obj0
= 0 ;
8041 (char *) "self", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
8045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= PyInt_FromLong((long)result
);
8060 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxGrid
*arg1
= (wxGrid
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
8070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= PyInt_FromLong((long)result
);
8085 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxGrid
*arg1
= (wxGrid
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8091 (char *) "self", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= PyInt_FromLong((long)result
);
8110 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxGrid
*arg1
= (wxGrid
*) 0 ;
8113 PyObject
* obj0
= 0 ;
8115 (char *) "self", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 (arg1
)->ShowCellEditControl();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxGrid
*arg1
= (wxGrid
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "self", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 (arg1
)->HideCellEditControl();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 Py_INCREF(Py_None
); resultobj
= Py_None
;
8158 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxGrid
*arg1
= (wxGrid
*) 0 ;
8161 PyObject
* obj0
= 0 ;
8163 (char *) "self", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 (arg1
)->SaveEditControlValue();
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 Py_INCREF(Py_None
); resultobj
= Py_None
;
8182 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxGrid
*arg1
= (wxGrid
*) 0 ;
8187 wxGridCellCoords result
;
8188 PyObject
* obj0
= 0 ;
8190 (char *) "self",(char *) "x",(char *) "y", NULL
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_XYToCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8203 wxGridCellCoords
* resultptr
;
8204 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
8205 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
8213 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxGrid
*arg1
= (wxGrid
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self",(char *) "y", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (int)(arg1
)->YToRow(arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= PyInt_FromLong((long)result
);
8239 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxGrid
*arg1
= (wxGrid
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self",(char *) "x", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (int)(arg1
)->XToCol(arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= PyInt_FromLong((long)result
);
8265 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxGrid
*arg1
= (wxGrid
*) 0 ;
8270 PyObject
* obj0
= 0 ;
8272 (char *) "self",(char *) "y", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToEdgeOfRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= PyInt_FromLong((long)result
);
8291 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxGrid
*arg1
= (wxGrid
*) 0 ;
8296 PyObject
* obj0
= 0 ;
8298 (char *) "self",(char *) "x", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToEdgeOfCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= PyInt_FromLong((long)result
);
8317 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxGrid
*arg1
= (wxGrid
*) 0 ;
8323 PyObject
* obj0
= 0 ;
8325 (char *) "self",(char *) "row",(char *) "col", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_CellToRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (arg1
)->CellToRect(arg2
,arg3
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8339 resultptr
= new wxRect((wxRect
&) result
);
8340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
8348 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxGrid
*arg1
= (wxGrid
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8354 (char *) "self", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (int)(arg1
)->GetGridCursorRow();
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= PyInt_FromLong((long)result
);
8373 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxGrid
*arg1
= (wxGrid
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (int)(arg1
)->GetGridCursorCol();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= PyInt_FromLong((long)result
);
8398 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxGrid
*arg1
= (wxGrid
*) 0 ;
8403 bool arg4
= (bool) True
;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj3
= 0 ;
8408 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_IsVisible",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8414 arg4
= PyInt_AsLong(obj3
) ? true : false;
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= PyInt_FromLong((long)result
);
8431 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxGrid
*arg1
= (wxGrid
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self",(char *) "row",(char *) "col", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_MakeCellVisible",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 (arg1
)->MakeCellVisible(arg2
,arg3
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxGrid
*arg1
= (wxGrid
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self",(char *) "row",(char *) "col", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetGridCursor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 (arg1
)->SetGridCursor(arg2
,arg3
);
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 Py_INCREF(Py_None
); resultobj
= Py_None
;
8483 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 wxGrid
*arg1
= (wxGrid
*) 0 ;
8488 PyObject
* obj0
= 0 ;
8489 PyObject
* obj1
= 0 ;
8491 (char *) "self",(char *) "expandSelection", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8496 arg2
= PyInt_AsLong(obj1
) ? true : false;
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= PyInt_FromLong((long)result
);
8512 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxGrid
*arg1
= (wxGrid
*) 0 ;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj1
= 0 ;
8520 (char *) "self",(char *) "expandSelection", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8525 arg2
= PyInt_AsLong(obj1
) ? true : false;
8526 if (PyErr_Occurred()) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= PyInt_FromLong((long)result
);
8541 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxGrid
*arg1
= (wxGrid
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8549 (char *) "self",(char *) "expandSelection", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8554 arg2
= PyInt_AsLong(obj1
) ? true : false;
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= PyInt_FromLong((long)result
);
8570 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxGrid
*arg1
= (wxGrid
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8576 PyObject
* obj1
= 0 ;
8578 (char *) "self",(char *) "expandSelection", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8583 arg2
= PyInt_AsLong(obj1
) ? true : false;
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= PyInt_FromLong((long)result
);
8599 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxGrid
*arg1
= (wxGrid
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (bool)(arg1
)->MovePageDown();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= PyInt_FromLong((long)result
);
8624 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxGrid
*arg1
= (wxGrid
*) 0 ;
8628 PyObject
* obj0
= 0 ;
8630 (char *) "self", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (bool)(arg1
)->MovePageUp();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= PyInt_FromLong((long)result
);
8649 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxGrid
*arg1
= (wxGrid
*) 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8657 (char *) "self",(char *) "expandSelection", NULL
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8662 arg2
= PyInt_AsLong(obj1
) ? true : false;
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= PyInt_FromLong((long)result
);
8678 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxGrid
*arg1
= (wxGrid
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8686 (char *) "self",(char *) "expandSelection", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8691 arg2
= PyInt_AsLong(obj1
) ? true : false;
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= PyInt_FromLong((long)result
);
8707 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxGrid
*arg1
= (wxGrid
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8715 (char *) "self",(char *) "expandSelection", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8720 arg2
= PyInt_AsLong(obj1
) ? true : false;
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= PyInt_FromLong((long)result
);
8736 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxGrid
*arg1
= (wxGrid
*) 0 ;
8741 PyObject
* obj0
= 0 ;
8742 PyObject
* obj1
= 0 ;
8744 (char *) "self",(char *) "expandSelection", NULL
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8749 arg2
= PyInt_AsLong(obj1
) ? true : false;
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= PyInt_FromLong((long)result
);
8765 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxGrid
*arg1
= (wxGrid
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8771 (char *) "self", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 result
= (int)(arg1
)->GetDefaultRowLabelSize();
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= PyInt_FromLong((long)result
);
8790 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8792 wxGrid
*arg1
= (wxGrid
*) 0 ;
8794 PyObject
* obj0
= 0 ;
8796 (char *) "self", NULL
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
8800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 result
= (int)(arg1
)->GetRowLabelSize();
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 resultobj
= PyInt_FromLong((long)result
);
8815 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
;
8817 wxGrid
*arg1
= (wxGrid
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8821 (char *) "self", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
8825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 result
= (int)(arg1
)->GetDefaultColLabelSize();
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= PyInt_FromLong((long)result
);
8840 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
;
8842 wxGrid
*arg1
= (wxGrid
*) 0 ;
8844 PyObject
* obj0
= 0 ;
8846 (char *) "self", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (int)(arg1
)->GetColLabelSize();
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= PyInt_FromLong((long)result
);
8865 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxGrid
*arg1
= (wxGrid
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "self", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 result
= (arg1
)->GetLabelBackgroundColour();
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8884 wxColour
* resultptr
;
8885 resultptr
= new wxColour((wxColour
&) result
);
8886 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8894 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 wxGrid
*arg1
= (wxGrid
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8900 (char *) "self", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (arg1
)->GetLabelTextColour();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8913 wxColour
* resultptr
;
8914 resultptr
= new wxColour((wxColour
&) result
);
8915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8923 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxGrid
*arg1
= (wxGrid
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (arg1
)->GetLabelFont();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8943 resultptr
= new wxFont((wxFont
&) result
);
8944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
8952 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxGrid
*arg1
= (wxGrid
*) 0 ;
8955 int *arg2
= (int *) 0 ;
8956 int *arg3
= (int *) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",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 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8978 resultobj
= t_output_helper(resultobj
,o
);
8981 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8982 resultobj
= t_output_helper(resultobj
,o
);
8990 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxGrid
*arg1
= (wxGrid
*) 0 ;
8993 int *arg2
= (int *) 0 ;
8994 int *arg3
= (int *) 0 ;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9016 resultobj
= t_output_helper(resultobj
,o
);
9019 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9020 resultobj
= t_output_helper(resultobj
,o
);
9028 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxGrid
*arg1
= (wxGrid
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9034 (char *) "self", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (int)(arg1
)->GetColLabelTextOrientation();
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= PyInt_FromLong((long)result
);
9053 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxGrid
*arg1
= (wxGrid
*) 0 ;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self",(char *) "row", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (arg1
)->GetRowLabelValue(arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9085 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxGrid
*arg1
= (wxGrid
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9092 (char *) "self",(char *) "col", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (arg1
)->GetColLabelValue(arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9117 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxGrid
*arg1
= (wxGrid
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9123 (char *) "self", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (arg1
)->GetGridLineColour();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 wxColour
* resultptr
;
9137 resultptr
= new wxColour((wxColour
&) result
);
9138 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9146 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxGrid
*arg1
= (wxGrid
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9152 (char *) "self", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (arg1
)->GetCellHighlightColour();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9165 wxColour
* resultptr
;
9166 resultptr
= new wxColour((wxColour
&) result
);
9167 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9175 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxGrid
*arg1
= (wxGrid
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (int)(arg1
)->GetCellHighlightPenWidth();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= PyInt_FromLong((long)result
);
9200 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxGrid
*arg1
= (wxGrid
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9206 (char *) "self", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= PyInt_FromLong((long)result
);
9225 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxGrid
*arg1
= (wxGrid
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9231 (char *) "self",(char *) "width", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->SetRowLabelSize(arg2
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 Py_INCREF(Py_None
); resultobj
= Py_None
;
9250 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9252 wxGrid
*arg1
= (wxGrid
*) 0 ;
9254 PyObject
* obj0
= 0 ;
9256 (char *) "self",(char *) "height", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 (arg1
)->SetColLabelSize(arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 Py_INCREF(Py_None
); resultobj
= Py_None
;
9275 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxGrid
*arg1
= (wxGrid
*) 0 ;
9278 wxColour
*arg2
= 0 ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9283 (char *) "self","arg2", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 Py_INCREF(Py_None
); resultobj
= Py_None
;
9306 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxGrid
*arg1
= (wxGrid
*) 0 ;
9309 wxColour
*arg2
= 0 ;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9314 (char *) "self","arg2", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 Py_INCREF(Py_None
); resultobj
= Py_None
;
9337 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxGrid
*arg1
= (wxGrid
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9344 (char *) "self","arg2", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 Py_INCREF(Py_None
); resultobj
= Py_None
;
9367 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
;
9369 wxGrid
*arg1
= (wxGrid
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9374 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 Py_INCREF(Py_None
); resultobj
= Py_None
;
9393 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxGrid
*arg1
= (wxGrid
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9400 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 Py_INCREF(Py_None
); resultobj
= Py_None
;
9419 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
;
9421 wxGrid
*arg1
= (wxGrid
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9425 (char *) "self",(char *) "textOrientation", NULL
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
9429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 (arg1
)->SetColLabelTextOrientation(arg2
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9437 Py_INCREF(Py_None
); resultobj
= Py_None
;
9444 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9446 wxGrid
*arg1
= (wxGrid
*) 0 ;
9448 wxString
*arg3
= 0 ;
9449 bool temp3
= False
;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj2
= 0 ;
9453 (char *) "self",(char *) "row","arg3", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9459 arg3
= wxString_in_helper(obj2
);
9460 if (arg3
== NULL
) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 Py_INCREF(Py_None
); resultobj
= Py_None
;
9485 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxGrid
*arg1
= (wxGrid
*) 0 ;
9489 wxString
*arg3
= 0 ;
9490 bool temp3
= False
;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj2
= 0 ;
9494 (char *) "self",(char *) "col","arg3", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9500 arg3
= wxString_in_helper(obj2
);
9501 if (arg3
== NULL
) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 Py_INCREF(Py_None
); resultobj
= Py_None
;
9526 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxGrid
*arg1
= (wxGrid
*) 0 ;
9529 wxColour
*arg2
= 0 ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9534 (char *) "self","arg2", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9541 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxGrid
*arg1
= (wxGrid
*) 0 ;
9560 wxColour
*arg2
= 0 ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9565 (char *) "self","arg2", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 Py_INCREF(Py_None
); resultobj
= Py_None
;
9588 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxGrid
*arg1
= (wxGrid
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9594 (char *) "self",(char *) "width", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 (arg1
)->SetCellHighlightPenWidth(arg2
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 Py_INCREF(Py_None
); resultobj
= Py_None
;
9613 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxGrid
*arg1
= (wxGrid
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self",(char *) "width", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 (arg1
)->SetCellHighlightROPenWidth(arg2
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 Py_INCREF(Py_None
); resultobj
= Py_None
;
9638 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxGrid
*arg1
= (wxGrid
*) 0 ;
9641 bool arg2
= (bool) True
;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9645 (char *) "self",(char *) "enable", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 arg2
= PyInt_AsLong(obj1
) ? true : false;
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 (arg1
)->EnableDragRowSize(arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxGrid
*arg1
= (wxGrid
*) 0 ;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "self", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
9677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 (arg1
)->DisableDragRowSize();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 Py_INCREF(Py_None
); resultobj
= Py_None
;
9692 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxGrid
*arg1
= (wxGrid
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (bool)(arg1
)->CanDragRowSize();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= PyInt_FromLong((long)result
);
9717 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxGrid
*arg1
= (wxGrid
*) 0 ;
9720 bool arg2
= (bool) True
;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9724 (char *) "self",(char *) "enable", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9730 arg2
= PyInt_AsLong(obj1
) ? true : false;
9731 if (PyErr_Occurred()) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->EnableDragColSize(arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 Py_INCREF(Py_None
); resultobj
= Py_None
;
9747 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxGrid
*arg1
= (wxGrid
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 (arg1
)->DisableDragColSize();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 Py_INCREF(Py_None
); resultobj
= Py_None
;
9771 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxGrid
*arg1
= (wxGrid
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (bool)(arg1
)->CanDragColSize();
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= PyInt_FromLong((long)result
);
9796 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxGrid
*arg1
= (wxGrid
*) 0 ;
9799 bool arg2
= (bool) True
;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9803 (char *) "self",(char *) "enable", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9809 arg2
= PyInt_AsLong(obj1
) ? true : false;
9810 if (PyErr_Occurred()) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 (arg1
)->EnableDragGridSize(arg2
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 Py_INCREF(Py_None
); resultobj
= Py_None
;
9826 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxGrid
*arg1
= (wxGrid
*) 0 ;
9829 PyObject
* obj0
= 0 ;
9831 (char *) "self", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",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 (arg1
)->DisableDragGridSize();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 Py_INCREF(Py_None
); resultobj
= Py_None
;
9850 static PyObject
*_wrap_Grid_CanDragGridSize(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_CanDragGridSize",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
= (bool)(arg1
)->CanDragGridSize();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= PyInt_FromLong((long)result
);
9875 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxGrid
*arg1
= (wxGrid
*) 0 ;
9880 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj3
= 0 ;
9884 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9889 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 Py_INCREF(Py_None
); resultobj
= Py_None
;
9904 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxGrid
*arg1
= (wxGrid
*) 0 ;
9908 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
9909 PyObject
* obj0
= 0 ;
9910 PyObject
* obj2
= 0 ;
9912 (char *) "self",(char *) "row",(char *) "attr", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9917 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 (arg1
)->SetRowAttr(arg2
,arg3
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 Py_INCREF(Py_None
); resultobj
= Py_None
;
9932 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxGrid
*arg1
= (wxGrid
*) 0 ;
9936 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj2
= 0 ;
9940 (char *) "self",(char *) "col",(char *) "attr", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9945 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 (arg1
)->SetColAttr(arg2
,arg3
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxGrid
*arg1
= (wxGrid
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "self",(char *) "col", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatBool",kwnames
,&obj0
,&arg2
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 (arg1
)->SetColFormatBool(arg2
);
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 Py_INCREF(Py_None
); resultobj
= Py_None
;
9985 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxGrid
*arg1
= (wxGrid
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self",(char *) "col", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatNumber",kwnames
,&obj0
,&arg2
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 (arg1
)->SetColFormatNumber(arg2
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 Py_INCREF(Py_None
); resultobj
= Py_None
;
10010 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxGrid
*arg1
= (wxGrid
*) 0 ;
10014 int arg3
= (int) -1 ;
10015 int arg4
= (int) -1 ;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:Grid_SetColFormatFloat",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10037 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxGrid
*arg1
= (wxGrid
*) 0 ;
10041 wxString
*arg3
= 0 ;
10042 bool temp3
= False
;
10043 PyObject
* obj0
= 0 ;
10044 PyObject
* obj2
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self",(char *) "col",(char *) "typeName", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColFormatCustom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10052 arg3
= wxString_in_helper(obj2
);
10053 if (arg3
== NULL
) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 Py_INCREF(Py_None
); resultobj
= Py_None
;
10078 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxGrid
*arg1
= (wxGrid
*) 0 ;
10081 bool arg2
= (bool) True
;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self",(char *) "enable", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10091 arg2
= PyInt_AsLong(obj1
) ? true : false;
10092 if (PyErr_Occurred()) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 (arg1
)->EnableGridLines(arg2
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10108 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxGrid
*arg1
= (wxGrid
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= (bool)(arg1
)->GridLinesEnabled();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= PyInt_FromLong((long)result
);
10133 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxGrid
*arg1
= (wxGrid
*) 0 ;
10137 PyObject
* obj0
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (int)(arg1
)->GetDefaultRowSize();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= PyInt_FromLong((long)result
);
10158 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxGrid
*arg1
= (wxGrid
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self",(char *) "row", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (int)(arg1
)->GetRowSize(arg2
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= PyInt_FromLong((long)result
);
10184 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxGrid
*arg1
= (wxGrid
*) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (int)(arg1
)->GetDefaultColSize();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= PyInt_FromLong((long)result
);
10209 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxGrid
*arg1
= (wxGrid
*) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self",(char *) "col", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (int)(arg1
)->GetColSize(arg2
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= PyInt_FromLong((long)result
);
10235 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxGrid
*arg1
= (wxGrid
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
10245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (arg1
)->GetDefaultCellBackgroundColour();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 wxColour
* resultptr
;
10255 resultptr
= new wxColour((wxColour
&) result
);
10256 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10264 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxGrid
*arg1
= (wxGrid
*) 0 ;
10270 PyObject
* obj0
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "row",(char *) "col", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10285 wxColour
* resultptr
;
10286 resultptr
= new wxColour((wxColour
&) result
);
10287 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10295 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxGrid
*arg1
= (wxGrid
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (arg1
)->GetDefaultCellTextColour();
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10314 wxColour
* resultptr
;
10315 resultptr
= new wxColour((wxColour
&) result
);
10316 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10324 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxGrid
*arg1
= (wxGrid
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self",(char *) "row",(char *) "col", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 wxColour
* resultptr
;
10346 resultptr
= new wxColour((wxColour
&) result
);
10347 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10355 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxGrid
*arg1
= (wxGrid
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
10365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (arg1
)->GetDefaultCellFont();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10374 wxFont
* resultptr
;
10375 resultptr
= new wxFont((wxFont
&) result
);
10376 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10384 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxGrid
*arg1
= (wxGrid
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "row",(char *) "col", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellFont",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (arg1
)->GetCellFont(arg2
,arg3
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 wxFont
* resultptr
;
10406 resultptr
= new wxFont((wxFont
&) result
);
10407 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10415 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxGrid
*arg1
= (wxGrid
*) 0 ;
10418 int *arg2
= (int *) 0 ;
10419 int *arg3
= (int *) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10440 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10441 resultobj
= t_output_helper(resultobj
,o
);
10444 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10445 resultobj
= t_output_helper(resultobj
,o
);
10453 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxGrid
*arg1
= (wxGrid
*) 0 ;
10458 int *arg4
= (int *) 0 ;
10459 int *arg5
= (int *) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self",(char *) "row",(char *) "col", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10481 resultobj
= t_output_helper(resultobj
,o
);
10484 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10485 resultobj
= t_output_helper(resultobj
,o
);
10493 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxGrid
*arg1
= (wxGrid
*) 0 ;
10497 PyObject
* obj0
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "self", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
10503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (bool)(arg1
)->GetDefaultCellOverflow();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= PyInt_FromLong((long)result
);
10518 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxGrid
*arg1
= (wxGrid
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self",(char *) "row",(char *) "col", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= PyInt_FromLong((long)result
);
10545 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxGrid
*arg1
= (wxGrid
*) 0 ;
10550 int *arg4
= (int *) 0 ;
10551 int *arg5
= (int *) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "row",(char *) "col", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 Py_INCREF(Py_None
); resultobj
= Py_None
;
10572 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10573 resultobj
= t_output_helper(resultobj
,o
);
10576 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10577 resultobj
= t_output_helper(resultobj
,o
);
10585 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
;
10587 wxGrid
*arg1
= (wxGrid
*) 0 ;
10589 bool arg3
= (bool) False
;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj2
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10599 arg3
= PyInt_AsLong(obj2
) ? true : false;
10600 if (PyErr_Occurred()) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 Py_INCREF(Py_None
); resultobj
= Py_None
;
10616 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxGrid
*arg1
= (wxGrid
*) 0 ;
10621 PyObject
* obj0
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self",(char *) "row",(char *) "height", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 (arg1
)->SetRowSize(arg2
,arg3
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 Py_INCREF(Py_None
); resultobj
= Py_None
;
10642 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxGrid
*arg1
= (wxGrid
*) 0 ;
10646 bool arg3
= (bool) False
;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj2
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10656 arg3
= PyInt_AsLong(obj2
) ? true : false;
10657 if (PyErr_Occurred()) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 (arg1
)->SetDefaultColSize(arg2
,arg3
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 Py_INCREF(Py_None
); resultobj
= Py_None
;
10673 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxGrid
*arg1
= (wxGrid
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "col",(char *) "width", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->SetColSize(arg2
,arg3
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxGrid
*arg1
= (wxGrid
*) 0 ;
10703 bool arg3
= (bool) True
;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj2
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10713 arg3
= PyInt_AsLong(obj2
) ? true : false;
10714 if (PyErr_Occurred()) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 (arg1
)->AutoSizeColumn(arg2
,arg3
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 Py_INCREF(Py_None
); resultobj
= Py_None
;
10730 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
;
10732 wxGrid
*arg1
= (wxGrid
*) 0 ;
10734 bool arg3
= (bool) True
;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10744 arg3
= PyInt_AsLong(obj2
) ? true : false;
10745 if (PyErr_Occurred()) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 (arg1
)->AutoSizeRow(arg2
,arg3
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 Py_INCREF(Py_None
); resultobj
= Py_None
;
10761 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxGrid
*arg1
= (wxGrid
*) 0 ;
10764 bool arg2
= (bool) True
;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "setAsMin", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10774 arg2
= PyInt_AsLong(obj1
) ? true : false;
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->AutoSizeColumns(arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxGrid
*arg1
= (wxGrid
*) 0 ;
10794 bool arg2
= (bool) True
;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self",(char *) "setAsMin", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
10802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10804 arg2
= PyInt_AsLong(obj1
) ? true : false;
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->AutoSizeRows(arg2
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxGrid
*arg1
= (wxGrid
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 char *kwnames
[] = {
10826 (char *) "self", NULL
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
10830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 (arg1
)->AutoSize();
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 Py_INCREF(Py_None
); resultobj
= Py_None
;
10845 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxGrid
*arg1
= (wxGrid
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "row", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 (arg1
)->AutoSizeRowLabelSize(arg2
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 Py_INCREF(Py_None
); resultobj
= Py_None
;
10870 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxGrid
*arg1
= (wxGrid
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self",(char *) "col", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 (arg1
)->AutoSizeColLabelSize(arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxGrid
*arg1
= (wxGrid
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "col",(char *) "width", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColMinimalWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 Py_INCREF(Py_None
); resultobj
= Py_None
;
10921 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxGrid
*arg1
= (wxGrid
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self",(char *) "row",(char *) "width", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 Py_INCREF(Py_None
); resultobj
= Py_None
;
10947 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxGrid
*arg1
= (wxGrid
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "width", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxGrid
*arg1
= (wxGrid
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self",(char *) "width", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 Py_INCREF(Py_None
); resultobj
= Py_None
;
10997 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
;
10999 wxGrid
*arg1
= (wxGrid
*) 0 ;
11001 PyObject
* obj0
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "self", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
11007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= PyInt_FromLong((long)result
);
11022 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxGrid
*arg1
= (wxGrid
*) 0 ;
11026 PyObject
* obj0
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "self", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
11032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= PyInt_FromLong((long)result
);
11047 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxGrid
*arg1
= (wxGrid
*) 0 ;
11050 wxColour
*arg2
= 0 ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self","arg2", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11062 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11071 Py_INCREF(Py_None
); resultobj
= Py_None
;
11078 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxGrid
*arg1
= (wxGrid
*) 0 ;
11083 wxColour
*arg4
= 0 ;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj3
= 0 ;
11087 char *kwnames
[] = {
11088 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11095 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11111 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxGrid
*arg1
= (wxGrid
*) 0 ;
11114 wxColour
*arg2
= 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self","arg2", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11142 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxGrid
*arg1
= (wxGrid
*) 0 ;
11147 wxColour
*arg4
= 0 ;
11149 PyObject
* obj0
= 0 ;
11150 PyObject
* obj3
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11159 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxGrid
*arg1
= (wxGrid
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self","arg2", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11188 if (arg2
== NULL
) {
11189 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11198 Py_INCREF(Py_None
); resultobj
= Py_None
;
11205 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxGrid
*arg1
= (wxGrid
*) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj3
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellFont",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11219 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11220 if (arg4
== NULL
) {
11221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxGrid
*arg1
= (wxGrid
*) 0 ;
11242 PyObject
* obj0
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "horiz",(char *) "vert", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 Py_INCREF(Py_None
); resultobj
= Py_None
;
11263 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxGrid
*arg1
= (wxGrid
*) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 Py_INCREF(Py_None
); resultobj
= Py_None
;
11291 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
;
11293 wxGrid
*arg1
= (wxGrid
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self",(char *) "allow", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11303 arg2
= PyInt_AsLong(obj1
) ? true : false;
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->SetDefaultCellOverflow(arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxGrid
*arg1
= (wxGrid
*) 0 ;
11325 PyObject
* obj0
= 0 ;
11326 PyObject
* obj3
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11333 arg4
= PyInt_AsLong(obj3
) ? true : false;
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 Py_INCREF(Py_None
); resultobj
= Py_None
;
11349 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxGrid
*arg1
= (wxGrid
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxGrid
*arg1
= (wxGrid
*) 0 ;
11380 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 PyObject
* obj1
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "renderer", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 (arg1
)->SetDefaultRenderer(arg2
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 Py_INCREF(Py_None
); resultobj
= Py_None
;
11404 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxGrid
*arg1
= (wxGrid
*) 0 ;
11409 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj3
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11418 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 Py_INCREF(Py_None
); resultobj
= Py_None
;
11433 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxGrid
*arg1
= (wxGrid
*) 0 ;
11436 wxGridCellRenderer
*result
;
11437 PyObject
* obj0
= 0 ;
11438 char *kwnames
[] = {
11439 (char *) "self", NULL
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
11443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11460 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
;
11462 wxGrid
*arg1
= (wxGrid
*) 0 ;
11465 wxGridCellRenderer
*result
;
11466 PyObject
* obj0
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "row",(char *) "col", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11489 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxGrid
*arg1
= (wxGrid
*) 0 ;
11492 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self",(char *) "editor", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 (arg1
)->SetDefaultEditor(arg2
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 Py_INCREF(Py_None
); resultobj
= Py_None
;
11516 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxGrid
*arg1
= (wxGrid
*) 0 ;
11521 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj3
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11530 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 Py_INCREF(Py_None
); resultobj
= Py_None
;
11545 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxGrid
*arg1
= (wxGrid
*) 0 ;
11548 wxGridCellEditor
*result
;
11549 PyObject
* obj0
= 0 ;
11550 char *kwnames
[] = {
11551 (char *) "self", NULL
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11564 resultobj
= wxPyMake_wxGridCellEditor(result
);
11572 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxGrid
*arg1
= (wxGrid
*) 0 ;
11577 wxGridCellEditor
*result
;
11578 PyObject
* obj0
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "row",(char *) "col", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= wxPyMake_wxGridCellEditor(result
);
11601 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxGrid
*arg1
= (wxGrid
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "row",(char *) "col", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (arg1
)->GetCellValue(arg2
,arg3
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11634 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxGrid
*arg1
= (wxGrid
*) 0 ;
11639 wxString
*arg4
= 0 ;
11640 bool temp4
= False
;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj3
= 0 ;
11643 char *kwnames
[] = {
11644 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
11647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11650 arg4
= wxString_in_helper(obj3
);
11651 if (arg4
== NULL
) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 Py_INCREF(Py_None
); resultobj
= Py_None
;
11676 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxGrid
*arg1
= (wxGrid
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self",(char *) "row",(char *) "col", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsReadOnly",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 resultobj
= PyInt_FromLong((long)result
);
11703 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxGrid
*arg1
= (wxGrid
*) 0 ;
11708 bool arg4
= (bool) True
;
11709 PyObject
* obj0
= 0 ;
11710 PyObject
* obj3
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_SetReadOnly",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11718 arg4
= PyInt_AsLong(obj3
) ? true : false;
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 Py_INCREF(Py_None
); resultobj
= Py_None
;
11735 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxGrid
*arg1
= (wxGrid
*) 0 ;
11739 bool arg3
= (bool) False
;
11740 PyObject
* obj0
= 0 ;
11741 PyObject
* obj2
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11749 arg3
= PyInt_AsLong(obj2
) ? true : false;
11750 if (PyErr_Occurred()) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 (arg1
)->SelectRow(arg2
,arg3
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 Py_INCREF(Py_None
); resultobj
= Py_None
;
11766 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxGrid
*arg1
= (wxGrid
*) 0 ;
11770 bool arg3
= (bool) False
;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj2
= 0 ;
11773 char *kwnames
[] = {
11774 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectCol",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11780 arg3
= PyInt_AsLong(obj2
) ? true : false;
11781 if (PyErr_Occurred()) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 (arg1
)->SelectCol(arg2
,arg3
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 Py_INCREF(Py_None
); resultobj
= Py_None
;
11797 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxGrid
*arg1
= (wxGrid
*) 0 ;
11804 bool arg6
= (bool) False
;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj5
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Grid_SelectBlock",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
11812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11814 arg6
= PyInt_AsLong(obj5
) ? true : false;
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11824 Py_INCREF(Py_None
); resultobj
= Py_None
;
11831 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
;
11833 wxGrid
*arg1
= (wxGrid
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 (arg1
)->SelectAll();
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxGrid
*arg1
= (wxGrid
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (bool)(arg1
)->IsSelection();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= PyInt_FromLong((long)result
);
11880 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxGrid
*arg1
= (wxGrid
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 (arg1
)->ClearSelection();
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 Py_INCREF(Py_None
); resultobj
= Py_None
;
11904 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxGrid
*arg1
= (wxGrid
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self",(char *) "row",(char *) "col", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsInSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= PyInt_FromLong((long)result
);
11931 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxGrid
*arg1
= (wxGrid
*) 0 ;
11934 wxGridCellCoordsArray result
;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= wxGridCellCoordsArray_helper(result
);
11958 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxGrid
*arg1
= (wxGrid
*) 0 ;
11961 wxGridCellCoordsArray result
;
11962 PyObject
* obj0
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
11968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= wxGridCellCoordsArray_helper(result
);
11985 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxGrid
*arg1
= (wxGrid
*) 0 ;
11988 wxGridCellCoordsArray result
;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= wxGridCellCoordsArray_helper(result
);
12012 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxGrid
*arg1
= (wxGrid
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
12022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= PyList_New(0);
12033 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12034 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12035 PyList_Append(resultobj
, val
);
12045 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxGrid
*arg1
= (wxGrid
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= PyList_New(0);
12066 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12067 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12068 PyList_Append(resultobj
, val
);
12078 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxGrid
*arg1
= (wxGrid
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self",(char *) "row", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectRow",kwnames
,&obj0
,&arg2
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->DeselectRow(arg2
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 Py_INCREF(Py_None
); resultobj
= Py_None
;
12103 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxGrid
*arg1
= (wxGrid
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self",(char *) "col", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectCol",kwnames
,&obj0
,&arg2
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->DeselectCol(arg2
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 Py_INCREF(Py_None
); resultobj
= Py_None
;
12128 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxGrid
*arg1
= (wxGrid
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self",(char *) "row",(char *) "col", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_DeselectCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->DeselectCell(arg2
,arg3
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 Py_INCREF(Py_None
); resultobj
= Py_None
;
12154 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxGrid
*arg1
= (wxGrid
*) 0 ;
12157 wxGridCellCoords
*arg2
= 0 ;
12158 wxGridCellCoords
*arg3
= 0 ;
12160 wxGridCellCoords temp2
;
12161 wxGridCellCoords temp3
;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 PyObject
* obj2
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12173 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
12177 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 wxRect
* resultptr
;
12188 resultptr
= new wxRect((wxRect
&) result
);
12189 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12197 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxGrid
*arg1
= (wxGrid
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12216 wxColour
* resultptr
;
12217 resultptr
= new wxColour((wxColour
&) result
);
12218 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12226 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxGrid
*arg1
= (wxGrid
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12245 wxColour
* resultptr
;
12246 resultptr
= new wxColour((wxColour
&) result
);
12247 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12255 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxGrid
*arg1
= (wxGrid
*) 0 ;
12258 wxColour
*arg2
= 0 ;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self",(char *) "c", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12270 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 Py_INCREF(Py_None
); resultobj
= Py_None
;
12286 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxGrid
*arg1
= (wxGrid
*) 0 ;
12289 wxColour
*arg2
= 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "c", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 Py_INCREF(Py_None
); resultobj
= Py_None
;
12317 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxGrid
*arg1
= (wxGrid
*) 0 ;
12320 wxString
*arg2
= 0 ;
12321 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
12322 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12323 bool temp2
= False
;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 PyObject
* obj2
= 0 ;
12327 PyObject
* obj3
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12335 arg2
= wxString_in_helper(obj1
);
12336 if (arg2
== NULL
) SWIG_fail
;
12339 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12340 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12343 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 Py_INCREF(Py_None
); resultobj
= Py_None
;
12363 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxGrid
*arg1
= (wxGrid
*) 0 ;
12368 wxGridCellEditor
*result
;
12369 PyObject
* obj0
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self",(char *) "row",(char *) "col", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= wxPyMake_wxGridCellEditor(result
);
12392 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxGrid
*arg1
= (wxGrid
*) 0 ;
12397 wxGridCellRenderer
*result
;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self",(char *) "row",(char *) "col", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12421 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxGrid
*arg1
= (wxGrid
*) 0 ;
12424 wxString
*arg2
= 0 ;
12425 wxGridCellEditor
*result
;
12426 bool temp2
= False
;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self",(char *) "typeName", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12436 arg2
= wxString_in_helper(obj1
);
12437 if (arg2
== NULL
) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= wxPyMake_wxGridCellEditor(result
);
12464 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxGrid
*arg1
= (wxGrid
*) 0 ;
12467 wxString
*arg2
= 0 ;
12468 wxGridCellRenderer
*result
;
12469 bool temp2
= False
;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self",(char *) "typeName", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12479 arg2
= wxString_in_helper(obj1
);
12480 if (arg2
== NULL
) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12507 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxGrid
*arg1
= (wxGrid
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 (arg1
)->SetMargins(arg2
,arg3
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 Py_INCREF(Py_None
); resultobj
= Py_None
;
12533 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxGrid
*arg1
= (wxGrid
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (wxWindow
*)(arg1
)->GetGridWindow();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= wxPyMake_wxObject(result
);
12560 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxGrid
*arg1
= (wxGrid
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= wxPyMake_wxObject(result
);
12587 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxGrid
*arg1
= (wxGrid
*) 0 ;
12591 PyObject
* obj0
= 0 ;
12592 char *kwnames
[] = {
12593 (char *) "self", NULL
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
12597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= wxPyMake_wxObject(result
);
12614 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxGrid
*arg1
= (wxGrid
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= wxPyMake_wxObject(result
);
12641 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
12643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12644 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
12646 return Py_BuildValue((char *)"");
12648 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12652 wxGrid
*arg3
= (wxGrid
*) 0 ;
12653 int arg4
= (int) -1 ;
12654 int arg5
= (int) -1 ;
12655 int arg6
= (int) -1 ;
12656 int arg7
= (int) -1 ;
12657 bool arg8
= (bool) True
;
12658 bool arg9
= (bool) False
;
12659 bool arg10
= (bool) False
;
12660 bool arg11
= (bool) False
;
12661 bool arg12
= (bool) False
;
12662 wxGridEvent
*result
;
12663 PyObject
* obj2
= 0 ;
12664 PyObject
* obj7
= 0 ;
12665 PyObject
* obj8
= 0 ;
12666 PyObject
* obj9
= 0 ;
12667 PyObject
* obj10
= 0 ;
12668 PyObject
* obj11
= 0 ;
12669 char *kwnames
[] = {
12670 (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
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO|iiiiOOOOO:new_GridEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&arg7
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12676 arg8
= PyInt_AsLong(obj7
) ? true : false;
12677 if (PyErr_Occurred()) SWIG_fail
;
12680 arg9
= PyInt_AsLong(obj8
) ? true : false;
12681 if (PyErr_Occurred()) SWIG_fail
;
12684 arg10
= PyInt_AsLong(obj9
) ? true : false;
12685 if (PyErr_Occurred()) SWIG_fail
;
12688 arg11
= PyInt_AsLong(obj10
) ? true : false;
12689 if (PyErr_Occurred()) SWIG_fail
;
12692 arg12
= PyInt_AsLong(obj11
) ? true : false;
12693 if (PyErr_Occurred()) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEvent
, 1);
12709 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
;
12711 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12713 PyObject
* obj0
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
12719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (int)(arg1
)->GetRow();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= PyInt_FromLong((long)result
);
12734 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (int)(arg1
)->GetCol();
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= PyInt_FromLong((long)result
);
12759 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (arg1
)->GetPosition();
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 wxPoint
* resultptr
;
12779 resultptr
= new wxPoint((wxPoint
&) result
);
12780 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12788 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
;
12790 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (bool)(arg1
)->Selecting();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= PyInt_FromLong((long)result
);
12813 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (bool)(arg1
)->ControlDown();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= PyInt_FromLong((long)result
);
12838 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (bool)(arg1
)->MetaDown();
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= PyInt_FromLong((long)result
);
12863 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (bool)(arg1
)->ShiftDown();
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= PyInt_FromLong((long)result
);
12888 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (bool)(arg1
)->AltDown();
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= PyInt_FromLong((long)result
);
12913 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12916 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
12918 return Py_BuildValue((char *)"");
12920 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12924 wxGrid
*arg3
= (wxGrid
*) 0 ;
12925 int arg4
= (int) -1 ;
12926 int arg5
= (int) -1 ;
12927 int arg6
= (int) -1 ;
12928 bool arg7
= (bool) False
;
12929 bool arg8
= (bool) False
;
12930 bool arg9
= (bool) False
;
12931 bool arg10
= (bool) False
;
12932 wxGridSizeEvent
*result
;
12933 PyObject
* obj2
= 0 ;
12934 PyObject
* obj6
= 0 ;
12935 PyObject
* obj7
= 0 ;
12936 PyObject
* obj8
= 0 ;
12937 PyObject
* obj9
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO|iiiOOOO:new_GridSizeEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12945 arg7
= PyInt_AsLong(obj6
) ? true : false;
12946 if (PyErr_Occurred()) SWIG_fail
;
12949 arg8
= PyInt_AsLong(obj7
) ? true : false;
12950 if (PyErr_Occurred()) SWIG_fail
;
12953 arg9
= PyInt_AsLong(obj8
) ? true : false;
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 arg10
= PyInt_AsLong(obj9
) ? true : false;
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizeEvent
, 1);
12974 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (int)(arg1
)->GetRowOrCol();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= PyInt_FromLong((long)result
);
12999 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (arg1
)->GetPosition();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13018 wxPoint
* resultptr
;
13019 resultptr
= new wxPoint((wxPoint
&) result
);
13020 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13028 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13032 PyObject
* obj0
= 0 ;
13033 char *kwnames
[] = {
13034 (char *) "self", NULL
13037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (bool)(arg1
)->ControlDown();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= PyInt_FromLong((long)result
);
13053 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (bool)(arg1
)->MetaDown();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= PyInt_FromLong((long)result
);
13078 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (bool)(arg1
)->ShiftDown();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= PyInt_FromLong((long)result
);
13103 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 char *kwnames
[] = {
13109 (char *) "self", NULL
13112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (bool)(arg1
)->AltDown();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= PyInt_FromLong((long)result
);
13128 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13131 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
13133 return Py_BuildValue((char *)"");
13135 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13139 wxGrid
*arg3
= (wxGrid
*) 0 ;
13140 wxGridCellCoords
*arg4
= 0 ;
13141 wxGridCellCoords
*arg5
= 0 ;
13142 bool arg6
= (bool) True
;
13143 bool arg7
= (bool) False
;
13144 bool arg8
= (bool) False
;
13145 bool arg9
= (bool) False
;
13146 bool arg10
= (bool) False
;
13147 wxGridRangeSelectEvent
*result
;
13148 wxGridCellCoords temp4
;
13149 wxGridCellCoords temp5
;
13150 PyObject
* obj2
= 0 ;
13151 PyObject
* obj3
= 0 ;
13152 PyObject
* obj4
= 0 ;
13153 PyObject
* obj5
= 0 ;
13154 PyObject
* obj6
= 0 ;
13155 PyObject
* obj7
= 0 ;
13156 PyObject
* obj8
= 0 ;
13157 PyObject
* obj9
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13166 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
13170 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
13173 arg6
= PyInt_AsLong(obj5
) ? true : false;
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 arg7
= PyInt_AsLong(obj6
) ? true : false;
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 arg8
= PyInt_AsLong(obj7
) ? true : false;
13182 if (PyErr_Occurred()) SWIG_fail
;
13185 arg9
= PyInt_AsLong(obj8
) ? true : false;
13186 if (PyErr_Occurred()) SWIG_fail
;
13189 arg10
= PyInt_AsLong(obj9
) ? true : false;
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
13206 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
;
13208 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13209 wxGridCellCoords result
;
13210 PyObject
* obj0
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 result
= (arg1
)->GetTopLeftCoords();
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13225 wxGridCellCoords
* resultptr
;
13226 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13227 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13235 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13238 wxGridCellCoords result
;
13239 PyObject
* obj0
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (arg1
)->GetBottomRightCoords();
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 wxGridCellCoords
* resultptr
;
13255 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13256 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13264 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
;
13266 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13268 PyObject
* obj0
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
13274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (int)(arg1
)->GetTopRow();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= PyInt_FromLong((long)result
);
13289 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13293 PyObject
* obj0
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= (int)(arg1
)->GetBottomRow();
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= PyInt_FromLong((long)result
);
13314 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
13324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (int)(arg1
)->GetLeftCol();
13329 wxPyEndAllowThreads(__tstate
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 resultobj
= PyInt_FromLong((long)result
);
13339 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13343 PyObject
* obj0
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
13349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (int)(arg1
)->GetRightCol();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= PyInt_FromLong((long)result
);
13364 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (bool)(arg1
)->Selecting();
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= PyInt_FromLong((long)result
);
13389 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= (bool)(arg1
)->ControlDown();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= PyInt_FromLong((long)result
);
13414 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (bool)(arg1
)->MetaDown();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= PyInt_FromLong((long)result
);
13439 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (bool)(arg1
)->ShiftDown();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= PyInt_FromLong((long)result
);
13464 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (bool)(arg1
)->AltDown();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= PyInt_FromLong((long)result
);
13489 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13492 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
13494 return Py_BuildValue((char *)"");
13496 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13500 wxObject
*arg3
= (wxObject
*) 0 ;
13503 wxControl
*arg6
= (wxControl
*) 0 ;
13504 wxGridEditorCreatedEvent
*result
;
13505 PyObject
* obj2
= 0 ;
13506 PyObject
* obj5
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOiiO:new_GridEditorCreatedEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13513 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
13528 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
;
13530 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13532 PyObject
* obj0
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (int)(arg1
)->GetRow();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= PyInt_FromLong((long)result
);
13553 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (int)(arg1
)->GetCol();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= PyInt_FromLong((long)result
);
13578 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (wxControl
*)(arg1
)->GetControl();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= wxPyMake_wxObject(result
);
13605 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self",(char *) "row", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 (arg1
)->SetRow(arg2
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 Py_INCREF(Py_None
); resultobj
= Py_None
;
13630 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13634 PyObject
* obj0
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "col", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 (arg1
)->SetCol(arg2
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 Py_INCREF(Py_None
); resultobj
= Py_None
;
13655 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13658 wxControl
*arg2
= (wxControl
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 PyObject
* obj1
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self",(char *) "ctrl", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 (arg1
)->SetControl(arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 Py_INCREF(Py_None
); resultobj
= Py_None
;
13682 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13685 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
13687 return Py_BuildValue((char *)"");
13689 static PyMethodDef SwigMethods
[] = {
13690 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13691 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13692 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13693 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13694 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13695 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
13696 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13697 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
13698 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13699 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13700 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13701 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
13702 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13703 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
13704 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13705 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
13706 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13707 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13708 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13709 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13710 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13711 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
13712 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13713 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
13714 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13715 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
13716 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13717 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
13718 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13719 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
13720 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13721 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
13722 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13723 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13724 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13725 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13726 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13727 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13728 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13729 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
13730 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
13731 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
13732 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13733 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13734 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13735 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13736 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13737 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13738 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13739 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13740 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13741 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13742 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
13743 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13744 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13745 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13746 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13747 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13748 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13749 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13750 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13751 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13752 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13753 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13754 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
13755 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13756 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13757 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
13758 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13759 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13760 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
13761 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13762 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13763 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
13764 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13765 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13766 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
13767 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13768 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13769 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
13770 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
13771 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13772 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
13773 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
13774 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13775 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
13776 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13777 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13778 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13779 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
13780 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13781 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13782 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13783 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13784 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13785 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13786 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13787 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
13788 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13789 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13790 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13791 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13792 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13793 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13794 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13795 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13796 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13797 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13798 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13799 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
13800 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13801 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13802 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13803 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13804 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13805 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
13806 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13807 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13808 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13809 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13810 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
13811 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13812 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13813 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13814 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13815 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13816 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13817 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13818 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13819 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
13820 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13821 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13822 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13823 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13824 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13825 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13826 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
13827 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13828 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13829 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13830 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13831 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13832 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13833 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13834 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13835 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13836 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13837 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13838 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13839 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13840 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13841 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13842 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13843 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13844 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13845 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13846 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13847 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13848 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13849 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13850 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13851 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13852 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13853 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13854 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13855 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13856 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13857 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13858 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13859 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13860 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13861 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13862 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
13863 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13864 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13865 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13866 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13867 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13868 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13869 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13870 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13871 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13872 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13873 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13874 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13875 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13876 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13877 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13878 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13879 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13880 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13881 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13882 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13883 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13884 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13885 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
13886 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13887 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
13888 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13889 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13890 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13891 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13892 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13893 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13894 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13895 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13896 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13897 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13898 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
13899 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13900 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13901 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13902 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13903 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13904 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13905 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13906 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
13907 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
13908 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13909 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
13910 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
13911 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13912 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13913 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13914 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13915 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13916 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13917 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13918 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13919 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13920 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13921 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13922 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13923 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13924 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13925 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13926 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13927 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13928 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13929 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13930 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13931 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13932 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13933 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
13934 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13935 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13936 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13937 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13938 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13939 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13940 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13941 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13942 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13943 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13944 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13945 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13946 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13947 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13948 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13949 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13950 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13951 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13952 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13953 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13954 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13955 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13956 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13957 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13958 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13959 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13960 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13961 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13962 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13963 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13964 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13965 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13966 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13967 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13968 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13969 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13970 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13971 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13972 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13973 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13974 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13975 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13976 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13977 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13978 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13979 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13980 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13981 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13982 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13983 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13984 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13985 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13986 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13987 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13988 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13989 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13990 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13991 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13992 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13993 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13994 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13995 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13996 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13997 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13998 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13999 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14000 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14001 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14002 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14003 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14004 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14005 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14006 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14007 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14008 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14009 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14010 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14011 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14012 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14013 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14014 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14015 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14016 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14017 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14018 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14019 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14020 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14021 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14022 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14023 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14024 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14025 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14026 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14027 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14028 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14029 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14030 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14031 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14032 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14033 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14034 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14035 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14036 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14037 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14038 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14039 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14040 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14041 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14042 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14043 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14044 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14045 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14046 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14047 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14048 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14049 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14050 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14051 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14052 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14053 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14054 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14055 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14056 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14057 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14058 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14059 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14060 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14061 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14062 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14063 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14064 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14065 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14066 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14067 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14068 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14069 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14070 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14071 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14072 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14073 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14074 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14075 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14076 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
14077 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
14078 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
14079 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
14080 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
14081 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
14082 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
14083 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
14084 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14085 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14086 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14087 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14088 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14089 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14090 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14091 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14092 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14093 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14094 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14095 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14096 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14097 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14098 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14099 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
14100 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14101 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14102 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14103 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14104 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14105 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14106 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14107 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14108 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14109 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
14110 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14111 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14112 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14113 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14114 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14115 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14116 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14117 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
14118 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14119 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14120 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14121 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14122 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14123 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14124 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14125 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14126 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14127 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14128 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14129 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14130 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
14131 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14132 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14133 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14134 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14135 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14136 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14137 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14138 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
14143 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14145 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
14146 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
14148 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
14149 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
14151 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
14152 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14154 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
14155 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14157 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
14158 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
14160 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
14161 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14163 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
14164 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14166 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
14167 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14169 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
14170 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14172 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
14173 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14175 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
14176 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14178 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
14179 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14181 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
14182 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14184 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
14185 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
14187 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
14188 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14190 static void *_p_wxGridTo_p_wxPanel(void *x
) {
14191 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
14193 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
14194 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14196 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
14197 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14199 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
14200 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
14202 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
14203 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14205 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
14206 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
14208 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
14209 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14211 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
14212 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14214 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
14215 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14217 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
14218 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14220 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
14221 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
14223 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
14224 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
14226 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
14227 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14229 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
14230 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14232 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
14233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14235 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
14236 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
14238 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
14239 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
14241 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
14242 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14244 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
14245 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14247 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
14248 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14250 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
14251 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14253 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
14254 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14256 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
14257 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14259 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
14260 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14262 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
14263 return (void *)((wxWindow
*) ((wxPanel
*) x
));
14265 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
14266 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
14268 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
14269 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
14271 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
14272 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14274 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
14275 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
14277 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
14278 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14280 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
14281 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
14283 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
14284 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14286 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
14287 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
14289 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
14290 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
14292 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
14293 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
14295 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
14296 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
14298 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
14299 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
14301 static void *_p_wxControlTo_p_wxWindow(void *x
) {
14302 return (void *)((wxWindow
*) ((wxControl
*) x
));
14304 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
14305 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14307 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
14308 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14310 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
14311 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14313 static void *_p_wxGridTo_p_wxWindow(void *x
) {
14314 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14316 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
14317 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
14319 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
14320 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
14322 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
14323 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14325 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
14326 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14328 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
14329 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14331 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
14332 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
14334 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
14335 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14337 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
14338 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
14340 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
14341 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14343 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
14344 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14346 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
14347 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14349 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
14350 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
14352 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
14353 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14355 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
14356 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14358 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
14359 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14361 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
14362 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
14364 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
14365 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14367 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
14368 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
14370 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
14371 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
14373 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
14374 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
14376 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
14377 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
14379 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
14380 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
14382 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
14383 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14385 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
14386 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
14388 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
14389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
14391 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
14392 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14394 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
14395 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
14397 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
14398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14400 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
14401 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14403 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
14404 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14406 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
14407 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
14409 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
14410 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14412 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
14413 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14415 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
14416 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
14418 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
14419 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
14421 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
14422 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
14424 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
14425 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
14427 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
14428 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
14430 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
14431 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14433 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
14434 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
14436 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
14437 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
14439 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
14440 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14442 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
14443 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14445 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
14446 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14448 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
14449 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14451 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
14452 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14454 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
14455 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14457 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
14458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14460 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
14461 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
14463 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
14464 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
14466 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
14467 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14469 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
14470 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
14472 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
14473 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14475 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
14476 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
14478 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
14479 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
14481 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
14482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14484 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
14485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14487 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
14488 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14490 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
14491 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
14493 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
14494 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
14496 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
14497 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14499 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
14500 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
14502 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
14503 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14505 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
14506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14508 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
14509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14511 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
14512 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
14514 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
14515 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
14517 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
14518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
14520 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
14521 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
14523 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
14524 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
14526 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
14527 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
14529 static void *_p_wxSizerTo_p_wxObject(void *x
) {
14530 return (void *)((wxObject
*) ((wxSizer
*) x
));
14532 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
14533 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
14535 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
14536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14538 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
14539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14541 static void *_p_wxEventTo_p_wxObject(void *x
) {
14542 return (void *)((wxObject
*) ((wxEvent
*) x
));
14544 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
14545 return (void *)((wxObject
*) ((wxFontData
*) x
));
14547 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
14548 return (void *)((wxObject
*) ((wxPrintData
*) x
));
14550 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
14551 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
14553 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
14554 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
14556 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
14557 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
14559 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
14560 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
14562 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
14563 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
14565 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
14566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14568 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
14569 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
14571 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
14572 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
14574 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
14575 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
14577 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
14578 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14580 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
14581 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14583 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
14584 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14586 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
14587 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14589 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
14590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14592 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
14593 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14595 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
14596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14598 static void *_p_wxControlTo_p_wxObject(void *x
) {
14599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
14601 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
14602 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
14604 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
14605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14607 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
14608 return (void *)((wxObject
*) ((wxFSFile
*) x
));
14610 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
14611 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
14613 static void *_p_wxGridTo_p_wxObject(void *x
) {
14614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14616 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
14617 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
14619 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
14620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14622 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
14623 return (void *)((wxObject
*) ((wxColourData
*) x
));
14625 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
14626 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
14628 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
14629 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14631 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
14632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
14634 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
14635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14637 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
14638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14640 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
14641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14643 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
14644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14646 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
14647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14649 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
14650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14652 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
14653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14655 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
14656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14658 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
14659 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
14661 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
14662 return (void *)((wxObject
*) ((wxPrinter
*) x
));
14664 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
14665 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
14667 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
14668 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
14670 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
14671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14673 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
14674 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14676 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
14677 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
14679 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
14680 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
14682 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
14683 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
14685 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
14686 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
14688 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
14689 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
14691 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
14692 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14694 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
14695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
14697 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
14698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
14700 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
14701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
14703 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
14704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
14706 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
14707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
14709 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
14710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
14712 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
14713 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
14715 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
14716 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
14718 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
14719 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
14721 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
14722 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
14724 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
14725 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
14727 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
14728 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
14730 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
14731 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
14733 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
14734 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14736 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
14737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14739 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
14740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14742 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
14743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14745 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
14746 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
14748 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
14749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14751 static void *_p_wxImageTo_p_wxObject(void *x
) {
14752 return (void *)((wxObject
*) ((wxImage
*) x
));
14754 static void *_p_wxFrameTo_p_wxObject(void *x
) {
14755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
14757 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
14758 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
14760 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
14761 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
14763 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
14764 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14766 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
14767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
14769 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
14770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14772 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
14773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14775 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
14776 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14778 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
14779 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
14781 static void *_p_wxWindowTo_p_wxObject(void *x
) {
14782 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
14784 static void *_p_wxMenuTo_p_wxObject(void *x
) {
14785 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
14787 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
14788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
14790 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
14791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
14793 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
14794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
14796 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
14797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
14799 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
14800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
14802 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
14803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
14805 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
14806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14808 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
14809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
14811 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
14812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14814 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
14815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
14817 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
14818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14820 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
14821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
14823 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
14824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
14826 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
14827 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
14829 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
14830 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
14832 static void *_p_wxPanelTo_p_wxObject(void *x
) {
14833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
14835 static void *_p_wxDialogTo_p_wxObject(void *x
) {
14836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
14838 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
14839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14841 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
14842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14844 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
14845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14847 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
14848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14850 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
14851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14853 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
14854 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
14856 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
14857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14859 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
14860 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
14862 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
14863 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
14865 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
14866 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
14868 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
14869 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
14871 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
14872 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
14874 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
14875 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
14877 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
14878 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
14880 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
14881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14883 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
14884 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
14886 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
14887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
14889 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
14890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14892 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
14893 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
14895 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
14896 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
14898 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
14899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14901 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
14902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
14904 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
14905 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
14907 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
14908 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
14910 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
14911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
14913 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
14914 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
14916 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
14917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14919 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
14920 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14922 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
14923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14925 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
14926 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
14928 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
14929 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
14931 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
14932 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
14934 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
14935 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
14937 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
14938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14940 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
14941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14943 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
14944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14946 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
14947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14949 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
14950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14952 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
14953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14955 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
14956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14958 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
14959 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
14961 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
14962 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
14964 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
14965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14967 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
14968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
14970 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
14971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14973 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
14974 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
14976 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
14977 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14979 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
14980 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
14982 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
14983 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
14985 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
14986 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
14988 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
14989 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
14991 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
14992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
14994 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
14995 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
14997 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
14998 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
15000 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
15001 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
15003 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
15004 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15006 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
15007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15009 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
15010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15012 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
15013 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
15015 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
15016 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15018 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
15019 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
15021 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
15022 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
15024 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
15025 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15027 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
15028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15030 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
15031 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15033 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15034 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
15036 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15037 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15039 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
15040 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
15042 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
15043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
15045 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
15046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15048 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
15049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15051 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
15052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15054 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
15055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
15057 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
15058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
15060 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
15061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
15063 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
15064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15066 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
15067 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
15069 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
15070 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
15072 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
15073 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
15075 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
15076 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
15078 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
15079 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15081 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
15082 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15084 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
15085 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
15087 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
15088 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
15090 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
15091 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15093 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
15094 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15096 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
15097 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15099 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
15100 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15102 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
15103 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15105 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
15106 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
15108 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
15109 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
15111 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
15112 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15114 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
15115 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
15117 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
15118 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
15120 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
15121 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15123 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
15124 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
15126 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
15127 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15129 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
15130 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15132 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
15133 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
15135 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
15136 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
15138 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
15139 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
15141 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
15142 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
15144 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
15145 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
15147 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
15148 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
15150 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
15151 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
15153 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
15154 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15156 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
15157 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
15158 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
15159 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
15160 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
15161 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
15162 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
15163 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}};
15164 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}};
15165 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
15166 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
15167 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
15168 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
15169 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
15170 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}};
15171 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}};
15172 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
15173 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
15174 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
15175 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}};
15176 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}};
15177 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
15178 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
15179 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}};
15180 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}};
15181 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
15182 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
15183 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
15184 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
15185 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}};
15186 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
15187 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
15188 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
15189 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}};
15190 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
15191 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
15192 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
15193 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}};
15194 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}};
15195 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
15196 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
15197 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
15198 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
15199 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}};
15200 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
},{0}};
15201 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
15202 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
},{0}};
15203 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
15204 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
15205 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
15206 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
15208 static swig_type_info
*swig_types_initial
[] = {
15209 _swigt__p_wxGridCellAutoWrapStringRenderer
,
15210 _swigt__p_wxGridCellEnumRenderer
,
15211 _swigt__p_wxGridCellDateTimeRenderer
,
15212 _swigt__p_wxGridCellBoolRenderer
,
15213 _swigt__p_wxGridCellFloatRenderer
,
15214 _swigt__p_wxGridCellNumberRenderer
,
15215 _swigt__p_wxPyGridCellRenderer
,
15216 _swigt__p_wxGridCellRenderer
,
15217 _swigt__p_wxGridCellStringRenderer
,
15218 _swigt__p_wxGridCellAttr
,
15219 _swigt__p_wxColour
,
15221 _swigt__p_wxGridTableMessage
,
15224 _swigt__p_wxNotifyEvent
,
15225 _swigt__p_wxGridRangeSelectEvent
,
15227 _swigt__p_wxGridCellCoords
,
15228 _swigt__p_wxScrolledWindow
,
15229 _swigt__p_wxWindow
,
15231 _swigt__p_wxControl
,
15233 _swigt__p_wxObject
,
15234 _swigt__p_wxGridSizeEvent
,
15237 _swigt__p_wxString
,
15238 _swigt__p_wxEvtHandler
,
15240 _swigt__p_wxGridEvent
,
15241 _swigt__p_wxGridEditorCreatedEvent
,
15242 _swigt__p_wxGridTableBase
,
15243 _swigt__p_wxGridCellFloatEditor
,
15244 _swigt__p_wxGridCellNumberEditor
,
15245 _swigt__p_wxPyGridCellEditor
,
15246 _swigt__p_wxGridCellEditor
,
15247 _swigt__p_wxGridCellTextEditor
,
15248 _swigt__p_wxGridCellBoolEditor
,
15249 _swigt__p_wxPyGridTableBase
,
15250 _swigt__p_wxGridStringTable
,
15251 _swigt__p_wxArrayString
,
15252 _swigt__p_wxCommandEvent
,
15253 _swigt__p_wxGridCellAttrProvider
,
15254 _swigt__p_wxKeyEvent
,
15255 _swigt__p_wxGridCellChoiceEditor
,
15256 _swigt__p_wxGridCellEnumEditor
,
15257 _swigt__p_wxGridCellAutoWrapStringEditor
,
15259 _swigt__p_wxPyGridCellAttrProvider
,
15264 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15266 static swig_const_info swig_const_table
[] = {
15267 { SWIG_PY_STRING
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
15268 { SWIG_PY_STRING
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
15269 { SWIG_PY_STRING
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
15270 { SWIG_PY_STRING
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
15271 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
15272 { SWIG_PY_STRING
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
15273 { SWIG_PY_STRING
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
15274 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
15275 { SWIG_PY_STRING
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
15276 { SWIG_PY_INT
, (char *)"GridCellAttr_Any", (long) wxGridCellAttr::Any
, 0, 0, 0},
15277 { SWIG_PY_INT
, (char *)"GridCellAttr_Default", (long) wxGridCellAttr::Default
, 0, 0, 0},
15278 { SWIG_PY_INT
, (char *)"GridCellAttr_Cell", (long) wxGridCellAttr::Cell
, 0, 0, 0},
15279 { SWIG_PY_INT
, (char *)"GridCellAttr_Row", (long) wxGridCellAttr::Row
, 0, 0, 0},
15280 { SWIG_PY_INT
, (char *)"GridCellAttr_Col", (long) wxGridCellAttr::Col
, 0, 0, 0},
15281 { SWIG_PY_INT
, (char *)"GridCellAttr_Merged", (long) wxGridCellAttr::Merged
, 0, 0, 0},
15282 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_GET_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
, 0, 0, 0},
15283 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
, 0, 0, 0},
15284 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_INSERTED", (long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
, 0, 0, 0},
15285 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_APPENDED", (long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
, 0, 0, 0},
15286 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_DELETED", (long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
, 0, 0, 0},
15287 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_INSERTED", (long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
, 0, 0, 0},
15288 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_APPENDED", (long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
, 0, 0, 0},
15289 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_DELETED", (long) wxGRIDTABLE_NOTIFY_COLS_DELETED
, 0, 0, 0},
15290 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectCells", (long) wxGrid::wxGridSelectCells
, 0, 0, 0},
15291 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectRows", (long) wxGrid::wxGridSelectRows
, 0, 0, 0},
15292 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectColumns", (long) wxGrid::wxGridSelectColumns
, 0, 0, 0},
15293 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_CLICK", (long) wxEVT_GRID_CELL_LEFT_CLICK
, 0, 0, 0},
15294 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_CLICK", (long) wxEVT_GRID_CELL_RIGHT_CLICK
, 0, 0, 0},
15295 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_DCLICK", (long) wxEVT_GRID_CELL_LEFT_DCLICK
, 0, 0, 0},
15296 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_DCLICK", (long) wxEVT_GRID_CELL_RIGHT_DCLICK
, 0, 0, 0},
15297 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_CLICK", (long) wxEVT_GRID_LABEL_LEFT_CLICK
, 0, 0, 0},
15298 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_CLICK", (long) wxEVT_GRID_LABEL_RIGHT_CLICK
, 0, 0, 0},
15299 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_DCLICK", (long) wxEVT_GRID_LABEL_LEFT_DCLICK
, 0, 0, 0},
15300 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_DCLICK", (long) wxEVT_GRID_LABEL_RIGHT_DCLICK
, 0, 0, 0},
15301 { SWIG_PY_INT
, (char *)"wxEVT_GRID_ROW_SIZE", (long) wxEVT_GRID_ROW_SIZE
, 0, 0, 0},
15302 { SWIG_PY_INT
, (char *)"wxEVT_GRID_COL_SIZE", (long) wxEVT_GRID_COL_SIZE
, 0, 0, 0},
15303 { SWIG_PY_INT
, (char *)"wxEVT_GRID_RANGE_SELECT", (long) wxEVT_GRID_RANGE_SELECT
, 0, 0, 0},
15304 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_CHANGE", (long) wxEVT_GRID_CELL_CHANGE
, 0, 0, 0},
15305 { SWIG_PY_INT
, (char *)"wxEVT_GRID_SELECT_CELL", (long) wxEVT_GRID_SELECT_CELL
, 0, 0, 0},
15306 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_SHOWN", (long) wxEVT_GRID_EDITOR_SHOWN
, 0, 0, 0},
15307 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_HIDDEN", (long) wxEVT_GRID_EDITOR_HIDDEN
, 0, 0, 0},
15308 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_CREATED", (long) wxEVT_GRID_EDITOR_CREATED
, 0, 0, 0},
15318 SWIGEXPORT(void) SWIG_init(void) {
15319 static PyObject
*SWIG_globals
= 0;
15320 static int typeinit
= 0;
15323 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
15324 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
15325 d
= PyModule_GetDict(m
);
15328 for (i
= 0; swig_types_initial
[i
]; i
++) {
15329 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
15333 SWIG_InstallConstants(d
,swig_const_table
);
15335 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
15336 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
15337 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
15338 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
15339 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
15340 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
15341 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
15342 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
15343 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
15344 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
15345 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15346 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
15347 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
15348 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
15349 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
15350 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
15351 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
15352 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
15353 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));