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>
283 static const wxString
wxPyEmptyString(wxEmptyString
);
284 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
285 static const wxString
wxPyDateTimeFormatStr(wxT(wxT("%c")));
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_DateTimeFormatStr_set(PyObject
*_val
) {
1208 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1213 static PyObject
*_wrap_DateTimeFormatStr_get() {
1218 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1220 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1227 static int _wrap_GridNoCellCoords_set(PyObject
*_val
) {
1228 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1233 static PyObject
*_wrap_GridNoCellCoords_get() {
1236 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellCoords
, SWIGTYPE_p_wxGridCellCoords
, 0);
1241 static int _wrap_GridNoCellRect_set(PyObject
*_val
) {
1242 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1247 static PyObject
*_wrap_GridNoCellRect_get() {
1250 pyobj
= SWIG_NewPointerObj((void *) &wxGridNoCellRect
, SWIGTYPE_p_wxRect
, 0);
1255 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
*resultobj
;
1257 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1258 PyObject
*arg2
= (PyObject
*) 0 ;
1259 PyObject
* obj0
= 0 ;
1260 PyObject
* obj1
= 0 ;
1262 (char *) "self",(char *) "_self", NULL
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1272 wxPyEndAllowThreads(__tstate
);
1273 if (PyErr_Occurred()) SWIG_fail
;
1275 Py_INCREF(Py_None
); resultobj
= Py_None
;
1282 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
*resultobj
;
1284 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1285 wxString
*arg2
= 0 ;
1286 bool temp2
= False
;
1287 PyObject
* obj0
= 0 ;
1288 PyObject
* obj1
= 0 ;
1290 (char *) "self",(char *) "params", NULL
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1296 arg2
= wxString_in_helper(obj1
);
1297 if (arg2
== NULL
) SWIG_fail
;
1301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1302 (arg1
)->SetParameters((wxString
const &)*arg2
);
1304 wxPyEndAllowThreads(__tstate
);
1305 if (PyErr_Occurred()) SWIG_fail
;
1307 Py_INCREF(Py_None
); resultobj
= Py_None
;
1322 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
*resultobj
;
1324 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1325 PyObject
* obj0
= 0 ;
1327 (char *) "self", NULL
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) SWIG_fail
;
1339 Py_INCREF(Py_None
); resultobj
= Py_None
;
1346 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
*resultobj
;
1348 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1349 PyObject
* obj0
= 0 ;
1351 (char *) "self", NULL
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1363 Py_INCREF(Py_None
); resultobj
= Py_None
;
1370 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
*resultobj
;
1372 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1374 wxGridCellAttr
*arg3
= 0 ;
1381 PyObject
* obj0
= 0 ;
1382 PyObject
* obj1
= 0 ;
1383 PyObject
* obj2
= 0 ;
1384 PyObject
* obj3
= 0 ;
1385 PyObject
* obj4
= 0 ;
1386 PyObject
* obj7
= 0 ;
1388 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOiiO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&obj7
)) goto fail
;
1392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1397 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1399 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1401 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1407 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1409 arg8
= PyInt_AsLong(obj7
) ? true : false;
1410 if (PyErr_Occurred()) SWIG_fail
;
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1418 Py_INCREF(Py_None
); resultobj
= Py_None
;
1425 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
*resultobj
;
1427 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1429 wxGridCellAttr
*arg3
= 0 ;
1434 PyObject
* obj0
= 0 ;
1435 PyObject
* obj1
= 0 ;
1436 PyObject
* obj2
= 0 ;
1437 PyObject
* obj3
= 0 ;
1439 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOii:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
1443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1448 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1450 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1452 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) SWIG_fail
;
1465 resultptr
= new wxSize((wxSize
&) result
);
1466 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1474 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
*resultobj
;
1476 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1477 wxGridCellRenderer
*result
;
1478 PyObject
* obj0
= 0 ;
1480 (char *) "self", NULL
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1493 resultobj
= wxPyMake_wxGridCellRenderer(result
);
1501 static PyObject
* GridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1504 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1506 return Py_BuildValue((char *)"");
1508 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1510 wxPyGridCellRenderer
*result
;
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1530 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
*resultobj
;
1532 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1533 PyObject
*arg2
= (PyObject
*) 0 ;
1534 PyObject
*arg3
= (PyObject
*) 0 ;
1535 PyObject
* obj0
= 0 ;
1536 PyObject
* obj1
= 0 ;
1537 PyObject
* obj2
= 0 ;
1539 (char *) "self",(char *) "self",(char *) "_class", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 Py_INCREF(Py_None
); resultobj
= Py_None
;
1560 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
*resultobj
;
1562 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1563 wxString
*arg2
= 0 ;
1564 bool temp2
= False
;
1565 PyObject
* obj0
= 0 ;
1566 PyObject
* obj1
= 0 ;
1568 (char *) "self",(char *) "params", NULL
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1574 arg2
= wxString_in_helper(obj1
);
1575 if (arg2
== NULL
) SWIG_fail
;
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1585 Py_INCREF(Py_None
); resultobj
= Py_None
;
1600 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1603 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
1605 return Py_BuildValue((char *)"");
1607 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1609 wxGridCellStringRenderer
*result
;
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1622 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellStringRenderer
, 1);
1629 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1632 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
1634 return Py_BuildValue((char *)"");
1636 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1638 wxGridCellNumberRenderer
*result
;
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
1658 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1661 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
1663 return Py_BuildValue((char *)"");
1665 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 int arg1
= (int) -1 ;
1668 int arg2
= (int) -1 ;
1669 wxGridCellFloatRenderer
*result
;
1671 (char *) "width",(char *) "precision", NULL
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellFloatRenderer",kwnames
,&arg1
,&arg2
)) goto fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
1689 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1693 PyObject
* obj0
= 0 ;
1695 (char *) "self", NULL
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
1699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 resultobj
= PyInt_FromLong((long)result
);
1714 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1718 PyObject
* obj0
= 0 ;
1720 (char *) "self",(char *) "width", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 (arg1
)->SetWidth(arg2
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1732 Py_INCREF(Py_None
); resultobj
= Py_None
;
1739 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1743 PyObject
* obj0
= 0 ;
1745 (char *) "self", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
1749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 resultobj
= PyInt_FromLong((long)result
);
1764 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
1768 PyObject
* obj0
= 0 ;
1770 (char *) "self",(char *) "precision", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&arg2
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 (arg1
)->SetPrecision(arg2
);
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 Py_INCREF(Py_None
); resultobj
= Py_None
;
1789 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1792 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
1794 return Py_BuildValue((char *)"");
1796 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxGridCellBoolRenderer
*result
;
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1811 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
1818 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1821 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
1823 return Py_BuildValue((char *)"");
1825 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
*resultobj
;
1827 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
1828 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
1829 wxGridCellDateTimeRenderer
*result
;
1830 PyObject
* obj0
= 0 ;
1831 PyObject
* obj1
= 0 ;
1833 (char *) "outformat",(char *) "informat", NULL
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
1839 wxString
* sptr
= wxString_in_helper(obj0
);
1840 if (sptr
== NULL
) SWIG_fail
;
1847 wxString
* sptr
= wxString_in_helper(obj1
);
1848 if (sptr
== NULL
) SWIG_fail
;
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) SWIG_fail
;
1860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
1867 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1870 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
1872 return Py_BuildValue((char *)"");
1874 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1877 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1878 wxGridCellEnumRenderer
*result
;
1879 bool temp1
= False
;
1880 PyObject
* obj0
= 0 ;
1882 (char *) "choices", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
1888 arg1
= wxString_in_helper(obj0
);
1889 if (arg1
== NULL
) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
1915 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1918 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
1920 return Py_BuildValue((char *)"");
1922 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxGridCellAutoWrapStringRenderer
*result
;
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) SWIG_fail
;
1937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
1944 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*self
, PyObject
*args
) {
1946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1947 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
1949 return Py_BuildValue((char *)"");
1951 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1954 PyObject
*arg2
= (PyObject
*) 0 ;
1955 PyObject
* obj0
= 0 ;
1956 PyObject
* obj1
= 0 ;
1958 (char *) "self",(char *) "_self", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 wxGridCellEditor__setOORInfo(arg1
,arg2
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1971 Py_INCREF(Py_None
); resultobj
= Py_None
;
1978 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
1982 PyObject
* obj0
= 0 ;
1984 (char *) "self", NULL
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
1988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (bool)(arg1
)->IsCreated();
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 resultobj
= PyInt_FromLong((long)result
);
2003 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2007 PyObject
* obj0
= 0 ;
2009 (char *) "self", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 result
= (wxControl
*)(arg1
)->GetControl();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2022 resultobj
= wxPyMake_wxObject(result
);
2030 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2032 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2033 wxControl
*arg2
= (wxControl
*) 0 ;
2034 PyObject
* obj0
= 0 ;
2035 PyObject
* obj1
= 0 ;
2037 (char *) "self",(char *) "control", NULL
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 (arg1
)->SetControl(arg2
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 Py_INCREF(Py_None
); resultobj
= Py_None
;
2057 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
*resultobj
;
2059 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2060 wxGridCellAttr
*result
;
2061 PyObject
* obj0
= 0 ;
2063 (char *) "self", NULL
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2076 resultobj
= wxPyMake_wxGridCellAttr(result
);
2084 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2087 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2088 PyObject
* obj0
= 0 ;
2089 PyObject
* obj1
= 0 ;
2091 (char *) "self",(char *) "attr", NULL
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 (arg1
)->SetCellAttr(arg2
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2104 Py_INCREF(Py_None
); resultobj
= Py_None
;
2111 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2114 wxString
*arg2
= 0 ;
2115 bool temp2
= False
;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2119 (char *) "self",(char *) "params", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2125 arg2
= wxString_in_helper(obj1
);
2126 if (arg2
== NULL
) SWIG_fail
;
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 (arg1
)->SetParameters((wxString
const &)*arg2
);
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2136 Py_INCREF(Py_None
); resultobj
= Py_None
;
2151 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "self", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 Py_INCREF(Py_None
); resultobj
= Py_None
;
2175 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2178 PyObject
* obj0
= 0 ;
2180 (char *) "self", NULL
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2192 Py_INCREF(Py_None
); resultobj
= Py_None
;
2199 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
*resultobj
;
2201 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2202 wxWindow
*arg2
= (wxWindow
*) 0 ;
2204 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2205 PyObject
* obj0
= 0 ;
2206 PyObject
* obj1
= 0 ;
2207 PyObject
* obj3
= 0 ;
2209 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2215 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 (arg1
)->Create(arg2
,arg3
,arg4
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 Py_INCREF(Py_None
); resultobj
= Py_None
;
2230 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2232 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2235 wxGrid
*arg4
= (wxGrid
*) 0 ;
2236 PyObject
* obj0
= 0 ;
2237 PyObject
* obj3
= 0 ;
2239 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2244 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2264 wxGrid
*arg4
= (wxGrid
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj3
= 0 ;
2269 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridCellEditor_EndEdit",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2274 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= PyInt_FromLong((long)result
);
2289 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "self", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2316 wxGridCellEditor
*result
;
2317 PyObject
* obj0
= 0 ;
2319 (char *) "self", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2332 resultobj
= wxPyMake_wxGridCellEditor(result
);
2340 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2342 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2346 PyObject
* obj1
= 0 ;
2348 (char *) "self",(char *) "rect", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2355 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 (arg1
)->SetSize((wxRect
const &)*arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 Py_INCREF(Py_None
); resultobj
= Py_None
;
2371 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2375 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2376 PyObject
* obj0
= 0 ;
2377 PyObject
* obj1
= 0 ;
2378 PyObject
* obj2
= 0 ;
2380 (char *) "self",(char *) "show",(char *) "attr", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2385 arg2
= PyInt_AsLong(obj1
) ? true : false;
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 (arg1
)->Show(arg2
,arg3
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2404 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2408 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2410 PyObject
* obj0
= 0 ;
2411 PyObject
* obj1
= 0 ;
2412 PyObject
* obj2
= 0 ;
2414 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2421 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2423 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2431 Py_INCREF(Py_None
); resultobj
= Py_None
;
2438 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2441 wxKeyEvent
*arg2
= 0 ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2446 (char *) "self",(char *) "event", NULL
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2453 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 resultobj
= PyInt_FromLong((long)result
);
2469 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2472 wxKeyEvent
*arg2
= 0 ;
2473 PyObject
* obj0
= 0 ;
2474 PyObject
* obj1
= 0 ;
2476 (char *) "self",(char *) "event", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 (arg1
)->StartingKey(*arg2
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 Py_INCREF(Py_None
); resultobj
= Py_None
;
2499 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
;
2501 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2502 PyObject
* obj0
= 0 ;
2504 (char *) "self", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 (arg1
)->StartingClick();
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 Py_INCREF(Py_None
); resultobj
= Py_None
;
2523 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2526 wxKeyEvent
*arg2
= 0 ;
2527 PyObject
* obj0
= 0 ;
2528 PyObject
* obj1
= 0 ;
2530 (char *) "self",(char *) "event", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 (arg1
)->HandleReturn(*arg2
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2546 Py_INCREF(Py_None
); resultobj
= Py_None
;
2553 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
*resultobj
;
2555 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2556 PyObject
* obj0
= 0 ;
2558 (char *) "self", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 Py_INCREF(Py_None
); resultobj
= Py_None
;
2577 static PyObject
* GridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2580 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
2582 return Py_BuildValue((char *)"");
2584 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxPyGridCellEditor
*result
;
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellEditor
, 1);
2606 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
*resultobj
;
2608 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2609 PyObject
*arg2
= (PyObject
*) 0 ;
2610 PyObject
*arg3
= (PyObject
*) 0 ;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2613 PyObject
* obj2
= 0 ;
2615 (char *) "self",(char *) "self",(char *) "_class", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 (arg1
)->_setCallbackInfo(arg2
,arg3
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 Py_INCREF(Py_None
); resultobj
= Py_None
;
2636 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2644 (char *) "self",(char *) "rect", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2651 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 Py_INCREF(Py_None
); resultobj
= Py_None
;
2667 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2671 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2672 PyObject
* obj0
= 0 ;
2673 PyObject
* obj1
= 0 ;
2674 PyObject
* obj2
= 0 ;
2676 (char *) "self",(char *) "show",(char *) "attr", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2681 arg2
= PyInt_AsLong(obj1
) ? true : false;
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 (arg1
)->base_Show(arg2
,arg3
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 Py_INCREF(Py_None
); resultobj
= Py_None
;
2700 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2704 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2706 PyObject
* obj0
= 0 ;
2707 PyObject
* obj1
= 0 ;
2708 PyObject
* obj2
= 0 ;
2710 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2717 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2719 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2727 Py_INCREF(Py_None
); resultobj
= Py_None
;
2734 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2737 wxKeyEvent
*arg2
= 0 ;
2739 PyObject
* obj0
= 0 ;
2740 PyObject
* obj1
= 0 ;
2742 (char *) "self",(char *) "event", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) SWIG_fail
;
2758 resultobj
= PyInt_FromLong((long)result
);
2765 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2768 wxKeyEvent
*arg2
= 0 ;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2772 (char *) "self",(char *) "event", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 (arg1
)->base_StartingKey(*arg2
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 Py_INCREF(Py_None
); resultobj
= Py_None
;
2795 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2798 PyObject
* obj0
= 0 ;
2800 (char *) "self", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 (arg1
)->base_StartingClick();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2812 Py_INCREF(Py_None
); resultobj
= Py_None
;
2819 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2822 wxKeyEvent
*arg2
= 0 ;
2823 PyObject
* obj0
= 0 ;
2824 PyObject
* obj1
= 0 ;
2826 (char *) "self",(char *) "event", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2833 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 (arg1
)->base_HandleReturn(*arg2
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 Py_INCREF(Py_None
); resultobj
= Py_None
;
2849 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "self", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
2858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 (arg1
)->base_Destroy();
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 Py_INCREF(Py_None
); resultobj
= Py_None
;
2873 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
2876 wxString
*arg2
= 0 ;
2877 bool temp2
= False
;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2881 (char *) "self",(char *) "params", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2887 arg2
= wxString_in_helper(obj1
);
2888 if (arg2
== NULL
) SWIG_fail
;
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 Py_INCREF(Py_None
); resultobj
= Py_None
;
2913 static PyObject
* PyGridCellEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2916 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
2918 return Py_BuildValue((char *)"");
2920 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxGridCellTextEditor
*result
;
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellTextEditor
, 1);
2942 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
2946 PyObject
* obj0
= 0 ;
2948 (char *) "self", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellTextEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 result
= (arg1
)->GetValue();
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2973 static PyObject
* GridCellTextEditor_swigregister(PyObject
*self
, PyObject
*args
) {
2975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2976 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
2978 return Py_BuildValue((char *)"");
2980 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 int arg1
= (int) -1 ;
2983 int arg2
= (int) -1 ;
2984 wxGridCellNumberEditor
*result
;
2986 (char *) "min",(char *) "max", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellNumberEditor",kwnames
,&arg1
,&arg2
)) goto fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3004 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3008 PyObject
* obj0
= 0 ;
3010 (char *) "self", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellNumberEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 result
= (arg1
)->GetValue();
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3035 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3038 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3040 return Py_BuildValue((char *)"");
3042 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
;
3044 wxGridCellFloatEditor
*result
;
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellFloatEditor",kwnames
)) goto fail
;
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor();
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3064 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3068 PyObject
* obj0
= 0 ;
3070 (char *) "self", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellFloatEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 result
= (arg1
)->GetValue();
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3095 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3098 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3100 return Py_BuildValue((char *)"");
3102 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxGridCellBoolEditor
*result
;
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3124 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3130 (char *) "self", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellBoolEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 result
= (arg1
)->GetValue();
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3155 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3158 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3160 return Py_BuildValue((char *)"");
3162 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
*resultobj
;
3164 int arg1
= (int) 0 ;
3165 wxString
*arg2
= (wxString
*) NULL
;
3166 bool arg3
= (bool) False
;
3167 wxGridCellChoiceEditor
*result
;
3168 PyObject
* obj0
= 0 ;
3169 PyObject
* obj1
= 0 ;
3171 (char *) "choices",(char *) "allowOthers", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3177 arg1
= PyList_Size(obj0
);
3178 arg2
= wxString_LIST_helper(obj0
);
3179 if (arg2
== NULL
) SWIG_fail
;
3183 arg3
= PyInt_AsLong(obj1
) ? true : false;
3184 if (PyErr_Occurred()) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3195 if (arg2
) delete [] arg2
;
3200 if (arg2
) delete [] arg2
;
3206 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellChoiceEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= (arg1
)->GetValue();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3237 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3240 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3242 return Py_BuildValue((char *)"");
3244 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3247 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3248 wxGridCellEnumEditor
*result
;
3249 bool temp1
= False
;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "choices", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3258 arg1
= wxString_in_helper(obj0
);
3259 if (arg1
== NULL
) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3285 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellEnumEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 result
= (arg1
)->GetValue();
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3316 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3319 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3321 return Py_BuildValue((char *)"");
3323 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
;
3325 wxGridCellAutoWrapStringEditor
*result
;
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3338 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3345 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 result
= (arg1
)->GetValue();
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3376 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*self
, PyObject
*args
) {
3378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3379 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3381 return Py_BuildValue((char *)"");
3383 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
*resultobj
;
3385 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3386 PyObject
*arg2
= (PyObject
*) 0 ;
3387 PyObject
* obj0
= 0 ;
3388 PyObject
* obj1
= 0 ;
3390 (char *) "self",(char *) "_self", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 Py_INCREF(Py_None
); resultobj
= Py_None
;
3410 static PyObject
*_wrap_new_GridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3413 wxGridCellAttr
*result
;
3414 PyObject
* obj0
= 0 ;
3416 (char *) "attrDefault", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= wxPyMake_wxGridCellAttr(result
);
3439 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3442 wxGridCellAttr
*result
;
3443 PyObject
* obj0
= 0 ;
3445 (char *) "self", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3458 resultobj
= wxPyMake_wxGridCellAttr(result
);
3466 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
;
3468 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3469 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
3470 PyObject
* obj0
= 0 ;
3471 PyObject
* obj1
= 0 ;
3473 (char *) "self",(char *) "mergefrom", NULL
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
3477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3478 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 (arg1
)->MergeWith(arg2
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 Py_INCREF(Py_None
); resultobj
= Py_None
;
3493 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
*resultobj
;
3495 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3498 (char *) "self", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3522 (char *) "self", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
3526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3534 Py_INCREF(Py_None
); resultobj
= Py_None
;
3541 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
*resultobj
;
3543 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3544 wxColour
*arg2
= 0 ;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3549 (char *) "self",(char *) "colText", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3556 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3565 Py_INCREF(Py_None
); resultobj
= Py_None
;
3572 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3575 wxColour
*arg2
= 0 ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "self",(char *) "colBack", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3587 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3596 Py_INCREF(Py_None
); resultobj
= Py_None
;
3603 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3607 PyObject
* obj0
= 0 ;
3608 PyObject
* obj1
= 0 ;
3610 (char *) "self",(char *) "font", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
3614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 (arg1
)->SetFont((wxFont
const &)*arg2
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 Py_INCREF(Py_None
); resultobj
= Py_None
;
3633 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3638 PyObject
* obj0
= 0 ;
3640 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 (arg1
)->SetAlignment(arg2
,arg3
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 Py_INCREF(Py_None
); resultobj
= Py_None
;
3659 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3666 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellAttr_SetSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 (arg1
)->SetSize(arg2
,arg3
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 Py_INCREF(Py_None
); resultobj
= Py_None
;
3685 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3688 bool arg2
= (bool) True
;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3692 (char *) "self",(char *) "allow", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
3696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3698 arg2
= PyInt_AsLong(obj1
) ? true : false;
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 (arg1
)->SetOverflow(arg2
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 Py_INCREF(Py_None
); resultobj
= Py_None
;
3715 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3718 bool arg2
= (bool) True
;
3719 PyObject
* obj0
= 0 ;
3720 PyObject
* obj1
= 0 ;
3722 (char *) "self",(char *) "isReadOnly", NULL
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
3726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3728 arg2
= PyInt_AsLong(obj1
) ? true : false;
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 (arg1
)->SetReadOnly(arg2
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 Py_INCREF(Py_None
); resultobj
= Py_None
;
3745 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
;
3747 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3748 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
3749 PyObject
* obj0
= 0 ;
3750 PyObject
* obj1
= 0 ;
3752 (char *) "self",(char *) "renderer", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
3756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3757 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->SetRenderer(arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3775 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3779 (char *) "self",(char *) "editor", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->SetEditor(arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3799 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self",(char *) "kind", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellAttr_SetKind",kwnames
,&obj0
,&arg2
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 Py_INCREF(Py_None
); resultobj
= Py_None
;
3824 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "self", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= PyInt_FromLong((long)result
);
3849 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3855 (char *) "self", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
3859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= PyInt_FromLong((long)result
);
3874 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3878 PyObject
* obj0
= 0 ;
3880 (char *) "self", NULL
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
3884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 resultobj
= PyInt_FromLong((long)result
);
3899 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3905 (char *) "self", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
3909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= PyInt_FromLong((long)result
);
3924 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3930 (char *) "self", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
3934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= PyInt_FromLong((long)result
);
3949 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3953 PyObject
* obj0
= 0 ;
3955 (char *) "self", NULL
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
3959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 resultobj
= PyInt_FromLong((long)result
);
3974 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3978 PyObject
* obj0
= 0 ;
3980 (char *) "self", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
3984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= PyInt_FromLong((long)result
);
3999 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4005 (char *) "self", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= PyInt_FromLong((long)result
);
4024 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4028 PyObject
* obj0
= 0 ;
4030 (char *) "self", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4043 wxColour
* resultptr
;
4044 resultptr
= new wxColour((wxColour
&) result
);
4045 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4053 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4057 PyObject
* obj0
= 0 ;
4059 (char *) "self", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4072 wxColour
* resultptr
;
4073 resultptr
= new wxColour((wxColour
&) result
);
4074 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4082 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4088 (char *) "self", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4102 resultptr
= new wxFont((wxFont
&) result
);
4103 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
4111 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4114 int *arg2
= (int *) 0 ;
4115 int *arg3
= (int *) 0 ;
4118 PyObject
* obj0
= 0 ;
4120 (char *) "self", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4137 resultobj
= t_output_helper(resultobj
,o
);
4140 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4141 resultobj
= t_output_helper(resultobj
,o
);
4149 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4152 int *arg2
= (int *) 0 ;
4153 int *arg3
= (int *) 0 ;
4156 PyObject
* obj0
= 0 ;
4158 (char *) "self", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4175 resultobj
= t_output_helper(resultobj
,o
);
4178 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4179 resultobj
= t_output_helper(resultobj
,o
);
4187 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4193 (char *) "self", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= PyInt_FromLong((long)result
);
4212 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4215 wxGrid
*arg2
= (wxGrid
*) 0 ;
4218 wxGridCellRenderer
*result
;
4219 PyObject
* obj0
= 0 ;
4220 PyObject
* obj1
= 0 ;
4222 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4227 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= wxPyMake_wxGridCellRenderer(result
);
4244 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4247 wxGrid
*arg2
= (wxGrid
*) 0 ;
4250 wxGridCellEditor
*result
;
4251 PyObject
* obj0
= 0 ;
4252 PyObject
* obj1
= 0 ;
4254 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= wxPyMake_wxGridCellEditor(result
);
4276 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4282 (char *) "self", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= PyInt_FromLong((long)result
);
4301 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4304 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4306 PyObject
* obj1
= 0 ;
4308 (char *) "self",(char *) "defAttr", NULL
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 (arg1
)->SetDefAttr(arg2
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 Py_INCREF(Py_None
); resultobj
= Py_None
;
4328 static PyObject
* GridCellAttr_swigregister(PyObject
*self
, PyObject
*args
) {
4330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4331 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4333 return Py_BuildValue((char *)"");
4335 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxGridCellAttrProvider
*result
;
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4359 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4362 PyObject
*arg2
= (PyObject
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4366 (char *) "self",(char *) "_self", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 Py_INCREF(Py_None
); resultobj
= Py_None
;
4386 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4392 wxGridCellAttr
*result
;
4393 PyObject
* obj0
= 0 ;
4395 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= wxPyMake_wxGridCellAttr(result
);
4416 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4419 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4425 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4438 Py_INCREF(Py_None
); resultobj
= Py_None
;
4445 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
;
4447 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4448 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4453 (char *) "self",(char *) "attr",(char *) "row", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4458 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 (arg1
)->SetRowAttr(arg2
,arg3
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 Py_INCREF(Py_None
); resultobj
= Py_None
;
4473 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4476 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4481 (char *) "self",(char *) "attr",(char *) "col", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 (arg1
)->SetColAttr(arg2
,arg3
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 Py_INCREF(Py_None
); resultobj
= Py_None
;
4501 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4509 (char *) "self",(char *) "pos",(char *) "numRows", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4514 arg2
= (size_t) PyInt_AsLong(obj1
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 (arg1
)->UpdateAttrRows(arg2
,arg3
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "pos",(char *) "numCols", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4543 arg2
= (size_t) PyInt_AsLong(obj1
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 (arg1
)->UpdateAttrCols(arg2
,arg3
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 Py_INCREF(Py_None
); resultobj
= Py_None
;
4559 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4562 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
4564 return Py_BuildValue((char *)"");
4566 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4568 wxPyGridCellAttrProvider
*result
;
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
4588 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4591 PyObject
*arg2
= (PyObject
*) 0 ;
4592 PyObject
*arg3
= (PyObject
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4594 PyObject
* obj1
= 0 ;
4595 PyObject
* obj2
= 0 ;
4597 (char *) "self",(char *) "self",(char *) "_class", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 (arg1
)->_setCallbackInfo(arg2
,arg3
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 Py_INCREF(Py_None
); resultobj
= Py_None
;
4618 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
*resultobj
;
4620 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4624 wxGridCellAttr
*result
;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= wxPyMake_wxGridCellAttr(result
);
4648 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4651 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4657 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
4661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4670 Py_INCREF(Py_None
); resultobj
= Py_None
;
4677 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4679 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4680 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4683 PyObject
* obj1
= 0 ;
4685 (char *) "self",(char *) "attr",(char *) "row", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 (arg1
)->base_SetRowAttr(arg2
,arg3
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 Py_INCREF(Py_None
); resultobj
= Py_None
;
4705 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
4708 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4710 PyObject
* obj0
= 0 ;
4711 PyObject
* obj1
= 0 ;
4713 (char *) "self",(char *) "attr",(char *) "col", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 (arg1
)->base_SetColAttr(arg2
,arg3
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 Py_INCREF(Py_None
); resultobj
= Py_None
;
4733 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*self
, PyObject
*args
) {
4735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4736 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
4738 return Py_BuildValue((char *)"");
4740 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4743 PyObject
*arg2
= (PyObject
*) 0 ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4747 (char *) "self",(char *) "_self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
4751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 wxGridTableBase__setOORInfo(arg1
,arg2
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 Py_INCREF(Py_None
); resultobj
= Py_None
;
4767 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4770 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4774 (char *) "self",(char *) "attrProvider", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttrProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 (arg1
)->SetAttrProvider(arg2
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 Py_INCREF(Py_None
); resultobj
= Py_None
;
4794 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4796 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4797 wxGridCellAttrProvider
*result
;
4798 PyObject
* obj0
= 0 ;
4800 (char *) "self", NULL
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
4804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= wxPyMake_wxGridCellAttrProvider(result
);
4821 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4824 wxGrid
*arg2
= (wxGrid
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "self",(char *) "grid", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 (arg1
)->SetView(arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 Py_INCREF(Py_None
); resultobj
= Py_None
;
4848 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4854 (char *) "self", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= wxPyMake_wxObject(result
);
4875 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4881 (char *) "self", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (int)(arg1
)->GetNumberRows();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= PyInt_FromLong((long)result
);
4900 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (int)(arg1
)->GetNumberCols();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= PyInt_FromLong((long)result
);
4925 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4931 PyObject
* obj0
= 0 ;
4933 (char *) "self",(char *) "row",(char *) "col", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= PyInt_FromLong((long)result
);
4952 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self",(char *) "row",(char *) "col", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (arg1
)->GetValue(arg2
,arg3
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4985 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
4990 wxString
*arg4
= 0 ;
4991 bool temp4
= False
;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj3
= 0 ;
4995 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5001 arg4
= wxString_in_helper(obj3
);
5002 if (arg4
== NULL
) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5035 (char *) "self",(char *) "row",(char *) "col", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5060 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5065 wxString
*arg4
= 0 ;
5067 bool temp4
= False
;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj3
= 0 ;
5071 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5077 arg4
= wxString_in_helper(obj3
);
5078 if (arg4
== NULL
) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= PyInt_FromLong((long)result
);
5103 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5108 wxString
*arg4
= 0 ;
5110 bool temp4
= False
;
5111 PyObject
* obj0
= 0 ;
5112 PyObject
* obj3
= 0 ;
5114 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5120 arg4
= wxString_in_helper(obj3
);
5121 if (arg4
== NULL
) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= PyInt_FromLong((long)result
);
5146 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
;
5148 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "self",(char *) "row",(char *) "col", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= PyInt_FromLong((long)result
);
5173 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5181 (char *) "self",(char *) "row",(char *) "col", NULL
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= PyFloat_FromDouble(result
);
5200 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5208 (char *) "self",(char *) "row",(char *) "col", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5220 resultobj
= PyInt_FromLong((long)result
);
5227 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5233 PyObject
* obj0
= 0 ;
5235 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 Py_INCREF(Py_None
); resultobj
= Py_None
;
5254 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiid:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 Py_INCREF(Py_None
); resultobj
= Py_None
;
5281 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj3
= 0 ;
5290 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5295 arg4
= PyInt_AsLong(obj3
) ? true : false;
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 Py_INCREF(Py_None
); resultobj
= Py_None
;
5311 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5316 (char *) "self", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 Py_INCREF(Py_None
); resultobj
= Py_None
;
5335 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5338 size_t arg2
= (size_t) 0 ;
5339 size_t arg3
= (size_t) 1 ;
5341 PyObject
* obj0
= 0 ;
5342 PyObject
* obj1
= 0 ;
5343 PyObject
* obj2
= 0 ;
5345 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5351 arg2
= (size_t) PyInt_AsLong(obj1
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5355 arg3
= (size_t) PyInt_AsLong(obj2
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 resultobj
= PyInt_FromLong((long)result
);
5372 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5375 size_t arg2
= (size_t) 1 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "numRows", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5386 arg2
= (size_t) PyInt_AsLong(obj1
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (bool)(arg1
)->AppendRows(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= PyInt_FromLong((long)result
);
5403 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5406 size_t arg2
= (size_t) 0 ;
5407 size_t arg3
= (size_t) 1 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5411 PyObject
* obj2
= 0 ;
5413 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5419 arg2
= (size_t) PyInt_AsLong(obj1
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5423 arg3
= (size_t) PyInt_AsLong(obj2
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= PyInt_FromLong((long)result
);
5440 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5443 size_t arg2
= (size_t) 0 ;
5444 size_t arg3
= (size_t) 1 ;
5446 PyObject
* obj0
= 0 ;
5447 PyObject
* obj1
= 0 ;
5448 PyObject
* obj2
= 0 ;
5450 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5456 arg2
= (size_t) PyInt_AsLong(obj1
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5460 arg3
= (size_t) PyInt_AsLong(obj2
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= PyInt_FromLong((long)result
);
5477 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5480 size_t arg2
= (size_t) 1 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5485 (char *) "self",(char *) "numCols", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5491 arg2
= (size_t) PyInt_AsLong(obj1
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (bool)(arg1
)->AppendCols(arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= PyInt_FromLong((long)result
);
5508 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5511 size_t arg2
= (size_t) 0 ;
5512 size_t arg3
= (size_t) 1 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 PyObject
* obj2
= 0 ;
5518 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5524 arg2
= (size_t) PyInt_AsLong(obj1
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5528 arg3
= (size_t) PyInt_AsLong(obj2
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= PyInt_FromLong((long)result
);
5545 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5552 (char *) "self",(char *) "row", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (arg1
)->GetRowLabelValue(arg2
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5577 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self",(char *) "col", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (arg1
)->GetColLabelValue(arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5609 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5613 wxString
*arg3
= 0 ;
5614 bool temp3
= False
;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj2
= 0 ;
5618 (char *) "self",(char *) "row",(char *) "value", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5624 arg3
= wxString_in_helper(obj2
);
5625 if (arg3
== NULL
) SWIG_fail
;
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5654 wxString
*arg3
= 0 ;
5655 bool temp3
= False
;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj2
= 0 ;
5659 (char *) "self",(char *) "col",(char *) "value", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5665 arg3
= wxString_in_helper(obj2
);
5666 if (arg3
== NULL
) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 Py_INCREF(Py_None
); resultobj
= Py_None
;
5691 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
*resultobj
;
5693 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5695 PyObject
* obj0
= 0 ;
5697 (char *) "self", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)(arg1
)->CanHaveAttributes();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= PyInt_FromLong((long)result
);
5716 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5722 wxGridCellAttr
*result
;
5723 PyObject
* obj0
= 0 ;
5725 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:GridTableBase_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= wxPyMake_wxGridCellAttr(result
);
5746 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5749 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
;
5777 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5778 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5783 (char *) "self",(char *) "attr",(char *) "row", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 (arg1
)->SetRowAttr(arg2
,arg3
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 Py_INCREF(Py_None
); resultobj
= Py_None
;
5803 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5806 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5808 PyObject
* obj0
= 0 ;
5809 PyObject
* obj1
= 0 ;
5811 (char *) "self",(char *) "attr",(char *) "col", NULL
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->SetColAttr(arg2
,arg3
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 static PyObject
* GridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
5833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5834 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
5836 return Py_BuildValue((char *)"");
5838 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPyGridTableBase
*result
;
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyGridTableBase
, 1);
5860 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5863 PyObject
*arg2
= (PyObject
*) 0 ;
5864 PyObject
*arg3
= (PyObject
*) 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 PyObject
* obj2
= 0 ;
5869 (char *) "self",(char *) "self",(char *) "_class", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 Py_INCREF(Py_None
); resultobj
= Py_None
;
5890 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5895 (char *) "self", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 wxPyGridTableBase_Destroy(arg1
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 Py_INCREF(Py_None
); resultobj
= Py_None
;
5914 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5920 PyObject
* obj0
= 0 ;
5922 (char *) "self",(char *) "row",(char *) "col", NULL
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5947 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5952 wxString
*arg4
= 0 ;
5954 bool temp4
= False
;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj3
= 0 ;
5958 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5964 arg4
= wxString_in_helper(obj3
);
5965 if (arg4
== NULL
) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= PyInt_FromLong((long)result
);
5990 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
5995 wxString
*arg4
= 0 ;
5997 bool temp4
= False
;
5998 PyObject
* obj0
= 0 ;
5999 PyObject
* obj3
= 0 ;
6001 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6007 arg4
= wxString_in_helper(obj3
);
6008 if (arg4
== NULL
) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= PyInt_FromLong((long)result
);
6033 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 (arg1
)->base_Clear();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 Py_INCREF(Py_None
); resultobj
= Py_None
;
6057 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6060 size_t arg2
= (size_t) 0 ;
6061 size_t arg3
= (size_t) 1 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6065 PyObject
* obj2
= 0 ;
6067 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6073 arg2
= (size_t) PyInt_AsLong(obj1
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 arg3
= (size_t) PyInt_AsLong(obj2
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= PyInt_FromLong((long)result
);
6094 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6097 size_t arg2
= (size_t) 1 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6102 (char *) "self",(char *) "numRows", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6108 arg2
= (size_t) PyInt_AsLong(obj1
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= (bool)(arg1
)->base_AppendRows(arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= PyInt_FromLong((long)result
);
6125 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6128 size_t arg2
= (size_t) 0 ;
6129 size_t arg3
= (size_t) 1 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 PyObject
* obj2
= 0 ;
6135 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6141 arg2
= (size_t) PyInt_AsLong(obj1
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6145 arg3
= (size_t) PyInt_AsLong(obj2
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= PyInt_FromLong((long)result
);
6162 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6165 size_t arg2
= (size_t) 0 ;
6166 size_t arg3
= (size_t) 1 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 PyObject
* obj2
= 0 ;
6172 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6178 arg2
= (size_t) PyInt_AsLong(obj1
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 arg3
= (size_t) PyInt_AsLong(obj2
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= PyInt_FromLong((long)result
);
6199 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6202 size_t arg2
= (size_t) 1 ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6207 (char *) "self",(char *) "numCols", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6213 arg2
= (size_t) PyInt_AsLong(obj1
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (bool)(arg1
)->base_AppendCols(arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= PyInt_FromLong((long)result
);
6230 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6233 size_t arg2
= (size_t) 0 ;
6234 size_t arg3
= (size_t) 1 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 PyObject
* obj2
= 0 ;
6240 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6246 arg2
= (size_t) PyInt_AsLong(obj1
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6250 arg3
= (size_t) PyInt_AsLong(obj2
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= PyInt_FromLong((long)result
);
6267 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self",(char *) "row", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (arg1
)->base_GetRowLabelValue(arg2
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6299 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self",(char *) "col", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (arg1
)->base_GetColLabelValue(arg2
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6331 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6335 wxString
*arg3
= 0 ;
6336 bool temp3
= False
;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj2
= 0 ;
6340 (char *) "self",(char *) "row",(char *) "value", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6346 arg3
= wxString_in_helper(obj2
);
6347 if (arg3
== NULL
) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 Py_INCREF(Py_None
); resultobj
= Py_None
;
6372 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
;
6374 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6376 wxString
*arg3
= 0 ;
6377 bool temp3
= False
;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj2
= 0 ;
6381 (char *) "self",(char *) "col",(char *) "value", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6387 arg3
= wxString_in_helper(obj2
);
6388 if (arg3
== NULL
) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 Py_INCREF(Py_None
); resultobj
= Py_None
;
6413 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6417 PyObject
* obj0
= 0 ;
6419 (char *) "self", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (bool)(arg1
)->base_CanHaveAttributes();
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= PyInt_FromLong((long)result
);
6438 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6444 wxGridCellAttr
*result
;
6445 PyObject
* obj0
= 0 ;
6447 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6460 resultobj
= wxPyMake_wxGridCellAttr(result
);
6468 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6471 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6475 PyObject
* obj1
= 0 ;
6477 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
6481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6482 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 Py_INCREF(Py_None
); resultobj
= Py_None
;
6497 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6500 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 (char *) "self",(char *) "attr",(char *) "row", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 (arg1
)->base_SetRowAttr(arg2
,arg3
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 Py_INCREF(Py_None
); resultobj
= Py_None
;
6525 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6528 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6533 (char *) "self",(char *) "attr",(char *) "col", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 (arg1
)->base_SetColAttr(arg2
,arg3
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 Py_INCREF(Py_None
); resultobj
= Py_None
;
6553 static PyObject
* PyGridTableBase_swigregister(PyObject
*self
, PyObject
*args
) {
6555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6556 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
6558 return Py_BuildValue((char *)"");
6560 static PyObject
*_wrap_new_GridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 int arg1
= (int) 0 ;
6563 int arg2
= (int) 0 ;
6564 wxGridStringTable
*result
;
6566 (char *) "numRows",(char *) "numCols", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridStringTable",kwnames
,&arg1
,&arg2
)) goto fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridStringTable
, 1);
6584 static PyObject
* GridStringTable_swigregister(PyObject
*self
, PyObject
*args
) {
6586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6587 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
6589 return Py_BuildValue((char *)"");
6591 static PyObject
*_wrap_new_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6595 int arg3
= (int) -1 ;
6596 int arg4
= (int) -1 ;
6597 wxGridTableMessage
*result
;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:new_GridTableMessage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridTableMessage
, 1);
6619 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6624 (char *) "self", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 Py_INCREF(Py_None
); resultobj
= Py_None
;
6643 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6646 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6650 (char *) "self",(char *) "table", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 (arg1
)->SetTableObject(arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6673 wxGridTableBase
*result
;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= wxPyMake_wxGridTableBase(result
);
6697 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6703 (char *) "self",(char *) "id", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 (arg1
)->SetId(arg2
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 Py_INCREF(Py_None
); resultobj
= Py_None
;
6722 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6726 PyObject
* obj0
= 0 ;
6728 (char *) "self", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 result
= (int)(arg1
)->GetId();
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= PyInt_FromLong((long)result
);
6747 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6753 (char *) "self",(char *) "comInt1", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&arg2
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 (arg1
)->SetCommandInt(arg2
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 Py_INCREF(Py_None
); resultobj
= Py_None
;
6772 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
;
6774 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6776 PyObject
* obj0
= 0 ;
6778 (char *) "self", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
6782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (int)(arg1
)->GetCommandInt();
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= PyInt_FromLong((long)result
);
6797 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6803 (char *) "self",(char *) "comInt2", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&arg2
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 (arg1
)->SetCommandInt2(arg2
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 Py_INCREF(Py_None
); resultobj
= Py_None
;
6822 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
6826 PyObject
* obj0
= 0 ;
6828 (char *) "self", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (int)(arg1
)->GetCommandInt2();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= PyInt_FromLong((long)result
);
6847 static PyObject
* GridTableMessage_swigregister(PyObject
*self
, PyObject
*args
) {
6849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6850 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
6852 return Py_BuildValue((char *)"");
6854 static PyObject
*_wrap_new_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 int arg1
= (int) -1 ;
6857 int arg2
= (int) -1 ;
6858 wxGridCellCoords
*result
;
6860 (char *) "r",(char *) "c", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridCellCoords",kwnames
,&arg1
,&arg2
)) goto fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridCellCoords
, 1);
6878 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6883 (char *) "self", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
6887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6906 PyObject
* obj0
= 0 ;
6908 (char *) "self", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
6912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= PyInt_FromLong((long)result
);
6927 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "self",(char *) "n", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
6937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 (arg1
)->SetRow(arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 Py_INCREF(Py_None
); resultobj
= Py_None
;
6952 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6958 (char *) "self", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= PyInt_FromLong((long)result
);
6977 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
6981 PyObject
* obj0
= 0 ;
6983 (char *) "self",(char *) "n", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridCellCoords_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 (arg1
)->SetCol(arg2
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 Py_INCREF(Py_None
); resultobj
= Py_None
;
7002 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7007 PyObject
* obj0
= 0 ;
7009 (char *) "self",(char *) "row",(char *) "col", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:GridCellCoords_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 (arg1
)->Set(arg2
,arg3
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 Py_INCREF(Py_None
); resultobj
= Py_None
;
7028 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7031 wxGridCellCoords
*arg2
= 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "other", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7043 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= PyInt_FromLong((long)result
);
7059 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7062 wxGridCellCoords
*arg2
= 0 ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7067 (char *) "self",(char *) "other", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= PyInt_FromLong((long)result
);
7090 static PyObject
*_wrap_GridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7096 (char *) "self", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_asTuple",kwnames
,&obj0
)) goto fail
;
7100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridCellCoords
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (PyObject
*)wxGridCellCoords_asTuple(arg1
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7115 static PyObject
* GridCellCoords_swigregister(PyObject
*self
, PyObject
*args
) {
7117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7118 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
7120 return Py_BuildValue((char *)"");
7122 static PyObject
*_wrap_new_Grid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxWindow
*arg1
= (wxWindow
*) 0 ;
7126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7130 long arg5
= (long) wxWANTS_CHARS
;
7131 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
7132 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7136 bool temp6
= False
;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj2
= 0 ;
7139 PyObject
* obj3
= 0 ;
7140 PyObject
* obj5
= 0 ;
7142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Grid",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
7146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7156 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7161 arg6
= wxString_in_helper(obj5
);
7162 if (arg6
== NULL
) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= wxPyMake_wxObject(result
);
7190 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxGrid
*arg1
= (wxGrid
*) 0 ;
7195 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Grid_CreateGrid",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= PyInt_FromLong((long)result
);
7218 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxGrid
*arg1
= (wxGrid
*) 0 ;
7221 WXGRIDSELECTIONMODES arg2
;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "self",(char *) "selmode", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetSelectionMode",kwnames
,&obj0
,&arg2
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->SetSelectionMode(arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxGrid
*arg1
= (wxGrid
*) 0 ;
7246 WXGRIDSELECTIONMODES result
;
7247 PyObject
* obj0
= 0 ;
7249 (char *) "self", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
7253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= PyInt_FromLong((long)result
);
7268 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7270 wxGrid
*arg1
= (wxGrid
*) 0 ;
7272 PyObject
* obj0
= 0 ;
7274 (char *) "self", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
7278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (int)(arg1
)->GetNumberRows();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= PyInt_FromLong((long)result
);
7293 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxGrid
*arg1
= (wxGrid
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "self", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (int)(arg1
)->GetNumberCols();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= PyInt_FromLong((long)result
);
7318 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxGrid
*arg1
= (wxGrid
*) 0 ;
7321 wxGridTableMessage
*arg2
= 0 ;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7326 (char *) "self","arg2", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableMessage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= PyInt_FromLong((long)result
);
7349 static PyObject
*_wrap_Grid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxGrid
*arg1
= (wxGrid
*) 0 ;
7352 wxGridTableBase
*result
;
7353 PyObject
* obj0
= 0 ;
7355 (char *) "self", NULL
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
7359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= wxPyMake_wxGridTableBase(result
);
7376 static PyObject
*_wrap_Grid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxGrid
*arg1
= (wxGrid
*) 0 ;
7379 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7380 bool arg3
= (bool) False
;
7381 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7385 PyObject
* obj2
= 0 ;
7387 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
7391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridTableBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7394 arg3
= PyInt_AsLong(obj2
) ? true : false;
7395 if (PyErr_Occurred()) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= PyInt_FromLong((long)result
);
7411 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxGrid
*arg1
= (wxGrid
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7416 (char *) "self", NULL
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
7420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 (arg1
)->ClearGrid();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 Py_INCREF(Py_None
); resultobj
= Py_None
;
7435 static PyObject
*_wrap_Grid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxGrid
*arg1
= (wxGrid
*) 0 ;
7438 int arg2
= (int) 0 ;
7439 int arg3
= (int) 1 ;
7440 bool arg4
= (bool) True
;
7442 PyObject
* obj0
= 0 ;
7443 PyObject
* obj3
= 0 ;
7445 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7451 arg4
= PyInt_AsLong(obj3
) ? true : false;
7452 if (PyErr_Occurred()) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= PyInt_FromLong((long)result
);
7468 static PyObject
*_wrap_Grid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxGrid
*arg1
= (wxGrid
*) 0 ;
7471 int arg2
= (int) 1 ;
7472 bool arg3
= (bool) True
;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj2
= 0 ;
7477 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendRows",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7483 arg3
= PyInt_AsLong(obj2
) ? true : false;
7484 if (PyErr_Occurred()) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= PyInt_FromLong((long)result
);
7500 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxGrid
*arg1
= (wxGrid
*) 0 ;
7503 int arg2
= (int) 0 ;
7504 int arg3
= (int) 1 ;
7505 bool arg4
= (bool) True
;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj3
= 0 ;
7510 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteRows",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7516 arg4
= PyInt_AsLong(obj3
) ? true : false;
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= PyInt_FromLong((long)result
);
7533 static PyObject
*_wrap_Grid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxGrid
*arg1
= (wxGrid
*) 0 ;
7536 int arg2
= (int) 0 ;
7537 int arg3
= (int) 1 ;
7538 bool arg4
= (bool) True
;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj3
= 0 ;
7543 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_InsertCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7549 arg4
= PyInt_AsLong(obj3
) ? true : false;
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= PyInt_FromLong((long)result
);
7566 static PyObject
*_wrap_Grid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxGrid
*arg1
= (wxGrid
*) 0 ;
7569 int arg2
= (int) 1 ;
7570 bool arg3
= (bool) True
;
7572 PyObject
* obj0
= 0 ;
7573 PyObject
* obj2
= 0 ;
7575 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Grid_AppendCols",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7581 arg3
= PyInt_AsLong(obj2
) ? true : false;
7582 if (PyErr_Occurred()) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= PyInt_FromLong((long)result
);
7598 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxGrid
*arg1
= (wxGrid
*) 0 ;
7601 int arg2
= (int) 0 ;
7602 int arg3
= (int) 1 ;
7603 bool arg4
= (bool) True
;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj3
= 0 ;
7608 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiO:Grid_DeleteCols",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7614 arg4
= PyInt_AsLong(obj3
) ? true : false;
7615 if (PyErr_Occurred()) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= PyInt_FromLong((long)result
);
7631 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
;
7633 wxGrid
*arg1
= (wxGrid
*) 0 ;
7635 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7637 PyObject
* obj1
= 0 ;
7638 PyObject
* obj2
= 0 ;
7640 (char *) "self",(char *) "dc",(char *) "attr", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7649 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 Py_INCREF(Py_None
); resultobj
= Py_None
;
7664 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxGrid
*arg1
= (wxGrid
*) 0 ;
7668 wxString
*arg3
= 0 ;
7670 int arg5
= (int) wxLEFT
;
7671 int arg6
= (int) wxTOP
;
7672 int arg7
= (int) wxHORIZONTAL
;
7673 bool temp3
= False
;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7677 PyObject
* obj2
= 0 ;
7678 PyObject
* obj3
= 0 ;
7680 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iii:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&arg7
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7687 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7690 arg3
= wxString_in_helper(obj2
);
7691 if (arg3
== NULL
) SWIG_fail
;
7696 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxGrid
*arg1
= (wxGrid
*) 0 ;
7724 wxArrayString
*arg3
= 0 ;
7725 long *arg4
= (long *) 0 ;
7726 long *arg5
= (long *) 0 ;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7731 PyObject
* obj2
= 0 ;
7733 (char *) "self",(char *) "dc",(char *) "lines", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7742 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7745 if (! PySequence_Check(obj2
)) {
7746 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7749 arg3
= new wxArrayString
;
7750 int i
, len
=PySequence_Length(obj2
);
7751 for (i
=0; i
<len
; i
++) {
7752 PyObject
* item
= PySequence_GetItem(obj2
, i
);
7754 PyObject
* str
= PyObject_Unicode(item
);
7756 PyObject
* str
= PyObject_Str(item
);
7758 arg3
->Add(Py2wxString(str
));
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 Py_INCREF(Py_None
); resultobj
= Py_None
;
7772 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7773 resultobj
= t_output_helper(resultobj
,o
);
7776 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
7777 resultobj
= t_output_helper(resultobj
,o
);
7780 if (arg3
) delete arg3
;
7785 if (arg3
) delete arg3
;
7791 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxGrid
*arg1
= (wxGrid
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
7800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->BeginBatch();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_Grid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxGrid
*arg1
= (wxGrid
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "self", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 Py_INCREF(Py_None
); resultobj
= Py_None
;
7839 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxGrid
*arg1
= (wxGrid
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (int)(arg1
)->GetBatchCount();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= PyInt_FromLong((long)result
);
7864 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxGrid
*arg1
= (wxGrid
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "self", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 (arg1
)->ForceRefresh();
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 Py_INCREF(Py_None
); resultobj
= Py_None
;
7888 static PyObject
*_wrap_Grid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxGrid
*arg1
= (wxGrid
*) 0 ;
7891 bool arg2
= (bool) True
;
7892 wxRect
*arg3
= (wxRect
*) NULL
;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7895 PyObject
* obj2
= 0 ;
7897 (char *) "self",(char *) "eraseb",(char *) "rect", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7903 arg2
= PyInt_AsLong(obj1
) ? true : false;
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 Py_INCREF(Py_None
); resultobj
= Py_None
;
7923 static PyObject
*_wrap_Grid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxGrid
*arg1
= (wxGrid
*) 0 ;
7927 PyObject
* obj0
= 0 ;
7929 (char *) "self", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
7933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (bool)(arg1
)->IsEditable();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= PyInt_FromLong((long)result
);
7948 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
;
7950 wxGrid
*arg1
= (wxGrid
*) 0 ;
7952 PyObject
* obj0
= 0 ;
7953 PyObject
* obj1
= 0 ;
7955 (char *) "self",(char *) "edit", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
7959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7960 arg2
= PyInt_AsLong(obj1
) ? true : false;
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 (arg1
)->EnableEditing(arg2
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 Py_INCREF(Py_None
); resultobj
= Py_None
;
7976 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxGrid
*arg1
= (wxGrid
*) 0 ;
7979 bool arg2
= (bool) True
;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7983 (char *) "self",(char *) "enable", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7989 arg2
= PyInt_AsLong(obj1
) ? true : false;
7990 if (PyErr_Occurred()) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 (arg1
)->EnableCellEditControl(arg2
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 Py_INCREF(Py_None
); resultobj
= Py_None
;
8006 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxGrid
*arg1
= (wxGrid
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 (arg1
)->DisableCellEditControl();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 Py_INCREF(Py_None
); resultobj
= Py_None
;
8030 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxGrid
*arg1
= (wxGrid
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= PyInt_FromLong((long)result
);
8055 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 wxGrid
*arg1
= (wxGrid
*) 0 ;
8059 PyObject
* obj0
= 0 ;
8061 (char *) "self", NULL
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
8065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= PyInt_FromLong((long)result
);
8080 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxGrid
*arg1
= (wxGrid
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8086 (char *) "self", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
8090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= PyInt_FromLong((long)result
);
8105 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxGrid
*arg1
= (wxGrid
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= PyInt_FromLong((long)result
);
8130 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxGrid
*arg1
= (wxGrid
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 (arg1
)->ShowCellEditControl();
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 Py_INCREF(Py_None
); resultobj
= Py_None
;
8154 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxGrid
*arg1
= (wxGrid
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "self", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 (arg1
)->HideCellEditControl();
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8178 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxGrid
*arg1
= (wxGrid
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "self", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 (arg1
)->SaveEditControlValue();
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 Py_INCREF(Py_None
); resultobj
= Py_None
;
8202 static PyObject
*_wrap_Grid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxGrid
*arg1
= (wxGrid
*) 0 ;
8207 wxGridCellCoords result
;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self",(char *) "x",(char *) "y", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_XYToCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 wxGridCellCoords
* resultptr
;
8224 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
8225 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
8233 static PyObject
*_wrap_Grid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
*resultobj
;
8235 wxGrid
*arg1
= (wxGrid
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8240 (char *) "self",(char *) "y", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 result
= (int)(arg1
)->YToRow(arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 resultobj
= PyInt_FromLong((long)result
);
8259 static PyObject
*_wrap_Grid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
*resultobj
;
8261 wxGrid
*arg1
= (wxGrid
*) 0 ;
8264 PyObject
* obj0
= 0 ;
8266 (char *) "self",(char *) "x", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (int)(arg1
)->XToCol(arg2
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= PyInt_FromLong((long)result
);
8285 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxGrid
*arg1
= (wxGrid
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8292 (char *) "self",(char *) "y", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_YToEdgeOfRow",kwnames
,&obj0
,&arg2
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= PyInt_FromLong((long)result
);
8311 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxGrid
*arg1
= (wxGrid
*) 0 ;
8316 PyObject
* obj0
= 0 ;
8318 (char *) "self",(char *) "x", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_XToEdgeOfCol",kwnames
,&obj0
,&arg2
)) goto fail
;
8322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= PyInt_FromLong((long)result
);
8337 static PyObject
*_wrap_Grid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxGrid
*arg1
= (wxGrid
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self",(char *) "row",(char *) "col", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_CellToRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (arg1
)->CellToRect(arg2
,arg3
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8359 resultptr
= new wxRect((wxRect
&) result
);
8360 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
8368 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxGrid
*arg1
= (wxGrid
*) 0 ;
8372 PyObject
* obj0
= 0 ;
8374 (char *) "self", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (int)(arg1
)->GetGridCursorRow();
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= PyInt_FromLong((long)result
);
8393 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxGrid
*arg1
= (wxGrid
*) 0 ;
8397 PyObject
* obj0
= 0 ;
8399 (char *) "self", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (int)(arg1
)->GetGridCursorCol();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= PyInt_FromLong((long)result
);
8418 static PyObject
*_wrap_Grid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxGrid
*arg1
= (wxGrid
*) 0 ;
8423 bool arg4
= (bool) True
;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj3
= 0 ;
8428 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_IsVisible",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8434 arg4
= PyInt_AsLong(obj3
) ? true : false;
8435 if (PyErr_Occurred()) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= PyInt_FromLong((long)result
);
8451 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxGrid
*arg1
= (wxGrid
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8458 (char *) "self",(char *) "row",(char *) "col", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_MakeCellVisible",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 (arg1
)->MakeCellVisible(arg2
,arg3
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 Py_INCREF(Py_None
); resultobj
= Py_None
;
8477 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxGrid
*arg1
= (wxGrid
*) 0 ;
8482 PyObject
* obj0
= 0 ;
8484 (char *) "self",(char *) "row",(char *) "col", NULL
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetGridCursor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 (arg1
)->SetGridCursor(arg2
,arg3
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 Py_INCREF(Py_None
); resultobj
= Py_None
;
8503 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxGrid
*arg1
= (wxGrid
*) 0 ;
8508 PyObject
* obj0
= 0 ;
8509 PyObject
* obj1
= 0 ;
8511 (char *) "self",(char *) "expandSelection", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8516 arg2
= PyInt_AsLong(obj1
) ? true : false;
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= PyInt_FromLong((long)result
);
8532 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxGrid
*arg1
= (wxGrid
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8538 PyObject
* obj1
= 0 ;
8540 (char *) "self",(char *) "expandSelection", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8545 arg2
= PyInt_AsLong(obj1
) ? true : false;
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= PyInt_FromLong((long)result
);
8561 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
;
8563 wxGrid
*arg1
= (wxGrid
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8569 (char *) "self",(char *) "expandSelection", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8574 arg2
= PyInt_AsLong(obj1
) ? true : false;
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= PyInt_FromLong((long)result
);
8590 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxGrid
*arg1
= (wxGrid
*) 0 ;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "self",(char *) "expandSelection", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8603 arg2
= PyInt_AsLong(obj1
) ? true : false;
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= PyInt_FromLong((long)result
);
8619 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxGrid
*arg1
= (wxGrid
*) 0 ;
8623 PyObject
* obj0
= 0 ;
8625 (char *) "self", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (bool)(arg1
)->MovePageDown();
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= PyInt_FromLong((long)result
);
8644 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxGrid
*arg1
= (wxGrid
*) 0 ;
8648 PyObject
* obj0
= 0 ;
8650 (char *) "self", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
8654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= (bool)(arg1
)->MovePageUp();
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= PyInt_FromLong((long)result
);
8669 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxGrid
*arg1
= (wxGrid
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8677 (char *) "self",(char *) "expandSelection", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8682 arg2
= PyInt_AsLong(obj1
) ? true : false;
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= PyInt_FromLong((long)result
);
8698 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
;
8700 wxGrid
*arg1
= (wxGrid
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8706 (char *) "self",(char *) "expandSelection", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8711 arg2
= PyInt_AsLong(obj1
) ? true : false;
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= PyInt_FromLong((long)result
);
8727 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxGrid
*arg1
= (wxGrid
*) 0 ;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8735 (char *) "self",(char *) "expandSelection", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8740 arg2
= PyInt_AsLong(obj1
) ? true : false;
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= PyInt_FromLong((long)result
);
8756 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxGrid
*arg1
= (wxGrid
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8764 (char *) "self",(char *) "expandSelection", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8769 arg2
= PyInt_AsLong(obj1
) ? true : false;
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 resultobj
= PyInt_FromLong((long)result
);
8785 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxGrid
*arg1
= (wxGrid
*) 0 ;
8789 PyObject
* obj0
= 0 ;
8791 (char *) "self", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
8795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 result
= (int)(arg1
)->GetDefaultRowLabelSize();
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= PyInt_FromLong((long)result
);
8810 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxGrid
*arg1
= (wxGrid
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (int)(arg1
)->GetRowLabelSize();
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= PyInt_FromLong((long)result
);
8835 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxGrid
*arg1
= (wxGrid
*) 0 ;
8839 PyObject
* obj0
= 0 ;
8841 (char *) "self", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
8845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= (int)(arg1
)->GetDefaultColLabelSize();
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= PyInt_FromLong((long)result
);
8860 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxGrid
*arg1
= (wxGrid
*) 0 ;
8864 PyObject
* obj0
= 0 ;
8866 (char *) "self", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (int)(arg1
)->GetColLabelSize();
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= PyInt_FromLong((long)result
);
8885 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxGrid
*arg1
= (wxGrid
*) 0 ;
8889 PyObject
* obj0
= 0 ;
8891 (char *) "self", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (arg1
)->GetLabelBackgroundColour();
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 wxColour
* resultptr
;
8905 resultptr
= new wxColour((wxColour
&) result
);
8906 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8914 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxGrid
*arg1
= (wxGrid
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "self", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (arg1
)->GetLabelTextColour();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8933 wxColour
* resultptr
;
8934 resultptr
= new wxColour((wxColour
&) result
);
8935 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8943 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxGrid
*arg1
= (wxGrid
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8949 (char *) "self", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (arg1
)->GetLabelFont();
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8963 resultptr
= new wxFont((wxFont
&) result
);
8964 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
8972 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxGrid
*arg1
= (wxGrid
*) 0 ;
8975 int *arg2
= (int *) 0 ;
8976 int *arg3
= (int *) 0 ;
8979 PyObject
* obj0
= 0 ;
8981 (char *) "self", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 Py_INCREF(Py_None
); resultobj
= Py_None
;
8997 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8998 resultobj
= t_output_helper(resultobj
,o
);
9001 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9002 resultobj
= t_output_helper(resultobj
,o
);
9010 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxGrid
*arg1
= (wxGrid
*) 0 ;
9013 int *arg2
= (int *) 0 ;
9014 int *arg3
= (int *) 0 ;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "self", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9035 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9036 resultobj
= t_output_helper(resultobj
,o
);
9039 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9040 resultobj
= t_output_helper(resultobj
,o
);
9048 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxGrid
*arg1
= (wxGrid
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (int)(arg1
)->GetColLabelTextOrientation();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= PyInt_FromLong((long)result
);
9073 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxGrid
*arg1
= (wxGrid
*) 0 ;
9078 PyObject
* obj0
= 0 ;
9080 (char *) "self",(char *) "row", NULL
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= (arg1
)->GetRowLabelValue(arg2
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9105 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxGrid
*arg1
= (wxGrid
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9112 (char *) "self",(char *) "col", NULL
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColLabelValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= (arg1
)->GetColLabelValue(arg2
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9137 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxGrid
*arg1
= (wxGrid
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (arg1
)->GetGridLineColour();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9156 wxColour
* resultptr
;
9157 resultptr
= new wxColour((wxColour
&) result
);
9158 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9166 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxGrid
*arg1
= (wxGrid
*) 0 ;
9170 PyObject
* obj0
= 0 ;
9172 (char *) "self", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (arg1
)->GetCellHighlightColour();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 wxColour
* resultptr
;
9186 resultptr
= new wxColour((wxColour
&) result
);
9187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9195 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxGrid
*arg1
= (wxGrid
*) 0 ;
9199 PyObject
* obj0
= 0 ;
9201 (char *) "self", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (int)(arg1
)->GetCellHighlightPenWidth();
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= PyInt_FromLong((long)result
);
9220 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxGrid
*arg1
= (wxGrid
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9226 (char *) "self", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= PyInt_FromLong((long)result
);
9245 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxGrid
*arg1
= (wxGrid
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9251 (char *) "self",(char *) "width", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 (arg1
)->SetRowLabelSize(arg2
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 Py_INCREF(Py_None
); resultobj
= Py_None
;
9270 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxGrid
*arg1
= (wxGrid
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self",(char *) "height", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 (arg1
)->SetColLabelSize(arg2
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9295 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxGrid
*arg1
= (wxGrid
*) 0 ;
9298 wxColour
*arg2
= 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9303 (char *) "self","arg2", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 Py_INCREF(Py_None
); resultobj
= Py_None
;
9326 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxGrid
*arg1
= (wxGrid
*) 0 ;
9329 wxColour
*arg2
= 0 ;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9334 (char *) "self","arg2", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9341 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 Py_INCREF(Py_None
); resultobj
= Py_None
;
9357 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxGrid
*arg1
= (wxGrid
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9364 (char *) "self","arg2", NULL
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
9368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxGrid
*arg1
= (wxGrid
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 Py_INCREF(Py_None
); resultobj
= Py_None
;
9413 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxGrid
*arg1
= (wxGrid
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9420 (char *) "self",(char *) "horiz",(char *) "vert", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColLabelAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 Py_INCREF(Py_None
); resultobj
= Py_None
;
9439 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxGrid
*arg1
= (wxGrid
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self",(char *) "textOrientation", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetColLabelTextOrientation(arg2
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 Py_INCREF(Py_None
); resultobj
= Py_None
;
9464 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxGrid
*arg1
= (wxGrid
*) 0 ;
9468 wxString
*arg3
= 0 ;
9469 bool temp3
= False
;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj2
= 0 ;
9473 (char *) "self",(char *) "row","arg3", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9479 arg3
= wxString_in_helper(obj2
);
9480 if (arg3
== NULL
) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 Py_INCREF(Py_None
); resultobj
= Py_None
;
9505 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxGrid
*arg1
= (wxGrid
*) 0 ;
9509 wxString
*arg3
= 0 ;
9510 bool temp3
= False
;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj2
= 0 ;
9514 (char *) "self",(char *) "col","arg3", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColLabelValue",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9520 arg3
= wxString_in_helper(obj2
);
9521 if (arg3
== NULL
) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 Py_INCREF(Py_None
); resultobj
= Py_None
;
9546 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
;
9548 wxGrid
*arg1
= (wxGrid
*) 0 ;
9549 wxColour
*arg2
= 0 ;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9554 (char *) "self","arg2", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9561 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 Py_INCREF(Py_None
); resultobj
= Py_None
;
9577 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxGrid
*arg1
= (wxGrid
*) 0 ;
9580 wxColour
*arg2
= 0 ;
9582 PyObject
* obj0
= 0 ;
9583 PyObject
* obj1
= 0 ;
9585 (char *) "self","arg2", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 Py_INCREF(Py_None
); resultobj
= Py_None
;
9608 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxGrid
*arg1
= (wxGrid
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self",(char *) "width", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 (arg1
)->SetCellHighlightPenWidth(arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 Py_INCREF(Py_None
); resultobj
= Py_None
;
9633 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxGrid
*arg1
= (wxGrid
*) 0 ;
9637 PyObject
* obj0
= 0 ;
9639 (char *) "self",(char *) "width", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
9643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->SetCellHighlightROPenWidth(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 Py_INCREF(Py_None
); resultobj
= Py_None
;
9658 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxGrid
*arg1
= (wxGrid
*) 0 ;
9661 bool arg2
= (bool) True
;
9662 PyObject
* obj0
= 0 ;
9663 PyObject
* obj1
= 0 ;
9665 (char *) "self",(char *) "enable", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9671 arg2
= PyInt_AsLong(obj1
) ? true : false;
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 (arg1
)->EnableDragRowSize(arg2
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 Py_INCREF(Py_None
); resultobj
= Py_None
;
9688 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxGrid
*arg1
= (wxGrid
*) 0 ;
9691 PyObject
* obj0
= 0 ;
9693 (char *) "self", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->DisableDragRowSize();
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxGrid
*arg1
= (wxGrid
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9718 (char *) "self", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
9722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (bool)(arg1
)->CanDragRowSize();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= PyInt_FromLong((long)result
);
9737 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxGrid
*arg1
= (wxGrid
*) 0 ;
9740 bool arg2
= (bool) True
;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9744 (char *) "self",(char *) "enable", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9750 arg2
= PyInt_AsLong(obj1
) ? true : false;
9751 if (PyErr_Occurred()) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 (arg1
)->EnableDragColSize(arg2
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 Py_INCREF(Py_None
); resultobj
= Py_None
;
9767 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxGrid
*arg1
= (wxGrid
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9772 (char *) "self", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 (arg1
)->DisableDragColSize();
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 Py_INCREF(Py_None
); resultobj
= Py_None
;
9791 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxGrid
*arg1
= (wxGrid
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9797 (char *) "self", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
9801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (bool)(arg1
)->CanDragColSize();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= PyInt_FromLong((long)result
);
9816 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxGrid
*arg1
= (wxGrid
*) 0 ;
9819 bool arg2
= (bool) True
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9823 (char *) "self",(char *) "enable", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9829 arg2
= PyInt_AsLong(obj1
) ? true : false;
9830 if (PyErr_Occurred()) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 (arg1
)->EnableDragGridSize(arg2
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 Py_INCREF(Py_None
); resultobj
= Py_None
;
9846 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxGrid
*arg1
= (wxGrid
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 (arg1
)->DisableDragGridSize();
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 Py_INCREF(Py_None
); resultobj
= Py_None
;
9870 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxGrid
*arg1
= (wxGrid
*) 0 ;
9874 PyObject
* obj0
= 0 ;
9876 (char *) "self", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
9880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (bool)(arg1
)->CanDragGridSize();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= PyInt_FromLong((long)result
);
9895 static PyObject
*_wrap_Grid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxGrid
*arg1
= (wxGrid
*) 0 ;
9900 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9902 PyObject
* obj3
= 0 ;
9904 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetAttr",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9909 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 Py_INCREF(Py_None
); resultobj
= Py_None
;
9924 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxGrid
*arg1
= (wxGrid
*) 0 ;
9928 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj2
= 0 ;
9932 (char *) "self",(char *) "row",(char *) "attr", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetRowAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9937 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 (arg1
)->SetRowAttr(arg2
,arg3
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 Py_INCREF(Py_None
); resultobj
= Py_None
;
9952 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxGrid
*arg1
= (wxGrid
*) 0 ;
9956 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj2
= 0 ;
9960 (char *) "self",(char *) "col",(char *) "attr", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColAttr",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9965 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 (arg1
)->SetColAttr(arg2
,arg3
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 Py_INCREF(Py_None
); resultobj
= Py_None
;
9980 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxGrid
*arg1
= (wxGrid
*) 0 ;
9984 PyObject
* obj0
= 0 ;
9986 (char *) "self",(char *) "col", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatBool",kwnames
,&obj0
,&arg2
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 (arg1
)->SetColFormatBool(arg2
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 Py_INCREF(Py_None
); resultobj
= Py_None
;
10005 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxGrid
*arg1
= (wxGrid
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self",(char *) "col", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColFormatNumber",kwnames
,&obj0
,&arg2
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 (arg1
)->SetColFormatNumber(arg2
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 Py_INCREF(Py_None
); resultobj
= Py_None
;
10030 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
;
10032 wxGrid
*arg1
= (wxGrid
*) 0 ;
10034 int arg3
= (int) -1 ;
10035 int arg4
= (int) -1 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:Grid_SetColFormatFloat",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 Py_INCREF(Py_None
); resultobj
= Py_None
;
10057 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxGrid
*arg1
= (wxGrid
*) 0 ;
10061 wxString
*arg3
= 0 ;
10062 bool temp3
= False
;
10063 PyObject
* obj0
= 0 ;
10064 PyObject
* obj2
= 0 ;
10065 char *kwnames
[] = {
10066 (char *) "self",(char *) "col",(char *) "typeName", NULL
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Grid_SetColFormatCustom",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10072 arg3
= wxString_in_helper(obj2
);
10073 if (arg3
== NULL
) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxGrid
*arg1
= (wxGrid
*) 0 ;
10101 bool arg2
= (bool) True
;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self",(char *) "enable", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10111 arg2
= PyInt_AsLong(obj1
) ? true : false;
10112 if (PyErr_Occurred()) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 (arg1
)->EnableGridLines(arg2
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 Py_INCREF(Py_None
); resultobj
= Py_None
;
10128 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxGrid
*arg1
= (wxGrid
*) 0 ;
10132 PyObject
* obj0
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
10138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (bool)(arg1
)->GridLinesEnabled();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= PyInt_FromLong((long)result
);
10153 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxGrid
*arg1
= (wxGrid
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (int)(arg1
)->GetDefaultRowSize();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= PyInt_FromLong((long)result
);
10178 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxGrid
*arg1
= (wxGrid
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self",(char *) "row", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetRowSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (int)(arg1
)->GetRowSize(arg2
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= PyInt_FromLong((long)result
);
10204 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxGrid
*arg1
= (wxGrid
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)(arg1
)->GetDefaultColSize();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= PyInt_FromLong((long)result
);
10229 static PyObject
*_wrap_Grid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxGrid
*arg1
= (wxGrid
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "col", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_GetColSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (int)(arg1
)->GetColSize(arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= PyInt_FromLong((long)result
);
10255 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxGrid
*arg1
= (wxGrid
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (arg1
)->GetDefaultCellBackgroundColour();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10274 wxColour
* resultptr
;
10275 resultptr
= new wxColour((wxColour
&) result
);
10276 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10284 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
;
10286 wxGrid
*arg1
= (wxGrid
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 char *kwnames
[] = {
10292 (char *) "self",(char *) "row",(char *) "col", NULL
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10305 wxColour
* resultptr
;
10306 resultptr
= new wxColour((wxColour
&) result
);
10307 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10315 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxGrid
*arg1
= (wxGrid
*) 0 ;
10319 PyObject
* obj0
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (arg1
)->GetDefaultCellTextColour();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10334 wxColour
* resultptr
;
10335 resultptr
= new wxColour((wxColour
&) result
);
10336 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10344 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxGrid
*arg1
= (wxGrid
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self",(char *) "row",(char *) "col", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 wxColour
* resultptr
;
10366 resultptr
= new wxColour((wxColour
&) result
);
10367 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10375 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxGrid
*arg1
= (wxGrid
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (arg1
)->GetDefaultCellFont();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 wxFont
* resultptr
;
10395 resultptr
= new wxFont((wxFont
&) result
);
10396 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10404 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxGrid
*arg1
= (wxGrid
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self",(char *) "row",(char *) "col", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellFont",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= (arg1
)->GetCellFont(arg2
,arg3
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 wxFont
* resultptr
;
10426 resultptr
= new wxFont((wxFont
&) result
);
10427 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
10435 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxGrid
*arg1
= (wxGrid
*) 0 ;
10438 int *arg2
= (int *) 0 ;
10439 int *arg3
= (int *) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 Py_INCREF(Py_None
); resultobj
= Py_None
;
10460 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10461 resultobj
= t_output_helper(resultobj
,o
);
10464 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10465 resultobj
= t_output_helper(resultobj
,o
);
10473 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxGrid
*arg1
= (wxGrid
*) 0 ;
10478 int *arg4
= (int *) 0 ;
10479 int *arg5
= (int *) 0 ;
10482 PyObject
* obj0
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self",(char *) "row",(char *) "col", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 Py_INCREF(Py_None
); resultobj
= Py_None
;
10500 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10501 resultobj
= t_output_helper(resultobj
,o
);
10504 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10505 resultobj
= t_output_helper(resultobj
,o
);
10513 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxGrid
*arg1
= (wxGrid
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "self", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
10523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (bool)(arg1
)->GetDefaultCellOverflow();
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= PyInt_FromLong((long)result
);
10538 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxGrid
*arg1
= (wxGrid
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "row",(char *) "col", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= PyInt_FromLong((long)result
);
10565 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxGrid
*arg1
= (wxGrid
*) 0 ;
10570 int *arg4
= (int *) 0 ;
10571 int *arg5
= (int *) 0 ;
10574 PyObject
* obj0
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "row",(char *) "col", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 Py_INCREF(Py_None
); resultobj
= Py_None
;
10592 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
10593 resultobj
= t_output_helper(resultobj
,o
);
10596 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
10597 resultobj
= t_output_helper(resultobj
,o
);
10605 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxGrid
*arg1
= (wxGrid
*) 0 ;
10609 bool arg3
= (bool) False
;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10619 arg3
= PyInt_AsLong(obj2
) ? true : false;
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 Py_INCREF(Py_None
); resultobj
= Py_None
;
10636 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxGrid
*arg1
= (wxGrid
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "row",(char *) "height", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 (arg1
)->SetRowSize(arg2
,arg3
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxGrid
*arg1
= (wxGrid
*) 0 ;
10666 bool arg3
= (bool) False
;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj2
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10676 arg3
= PyInt_AsLong(obj2
) ? true : false;
10677 if (PyErr_Occurred()) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 (arg1
)->SetDefaultColSize(arg2
,arg3
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 Py_INCREF(Py_None
); resultobj
= Py_None
;
10693 static PyObject
*_wrap_Grid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxGrid
*arg1
= (wxGrid
*) 0 ;
10698 PyObject
* obj0
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self",(char *) "col",(char *) "width", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 (arg1
)->SetColSize(arg2
,arg3
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 Py_INCREF(Py_None
); resultobj
= Py_None
;
10719 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxGrid
*arg1
= (wxGrid
*) 0 ;
10723 bool arg3
= (bool) True
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10733 arg3
= PyInt_AsLong(obj2
) ? true : false;
10734 if (PyErr_Occurred()) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->AutoSizeColumn(arg2
,arg3
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 Py_INCREF(Py_None
); resultobj
= Py_None
;
10750 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxGrid
*arg1
= (wxGrid
*) 0 ;
10754 bool arg3
= (bool) True
;
10755 PyObject
* obj0
= 0 ;
10756 PyObject
* obj2
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_AutoSizeRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10764 arg3
= PyInt_AsLong(obj2
) ? true : false;
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->AutoSizeRow(arg2
,arg3
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 Py_INCREF(Py_None
); resultobj
= Py_None
;
10781 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxGrid
*arg1
= (wxGrid
*) 0 ;
10784 bool arg2
= (bool) True
;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "setAsMin", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10794 arg2
= PyInt_AsLong(obj1
) ? true : false;
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 (arg1
)->AutoSizeColumns(arg2
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 Py_INCREF(Py_None
); resultobj
= Py_None
;
10811 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxGrid
*arg1
= (wxGrid
*) 0 ;
10814 bool arg2
= (bool) True
;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self",(char *) "setAsMin", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10824 arg2
= PyInt_AsLong(obj1
) ? true : false;
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 (arg1
)->AutoSizeRows(arg2
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
*_wrap_Grid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxGrid
*arg1
= (wxGrid
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 (arg1
)->AutoSize();
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 Py_INCREF(Py_None
); resultobj
= Py_None
;
10865 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxGrid
*arg1
= (wxGrid
*) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self",(char *) "row", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 (arg1
)->AutoSizeRowLabelSize(arg2
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 Py_INCREF(Py_None
); resultobj
= Py_None
;
10890 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10892 wxGrid
*arg1
= (wxGrid
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self",(char *) "col", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->AutoSizeColLabelSize(arg2
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 Py_INCREF(Py_None
); resultobj
= Py_None
;
10915 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxGrid
*arg1
= (wxGrid
*) 0 ;
10920 PyObject
* obj0
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self",(char *) "col",(char *) "width", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetColMinimalWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 Py_INCREF(Py_None
); resultobj
= Py_None
;
10941 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxGrid
*arg1
= (wxGrid
*) 0 ;
10946 PyObject
* obj0
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "row",(char *) "width", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 Py_INCREF(Py_None
); resultobj
= Py_None
;
10967 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxGrid
*arg1
= (wxGrid
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 char *kwnames
[] = {
10973 (char *) "self",(char *) "width", NULL
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
10977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 Py_INCREF(Py_None
); resultobj
= Py_None
;
10992 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxGrid
*arg1
= (wxGrid
*) 0 ;
10996 PyObject
* obj0
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self",(char *) "width", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 Py_INCREF(Py_None
); resultobj
= Py_None
;
11017 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxGrid
*arg1
= (wxGrid
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= PyInt_FromLong((long)result
);
11042 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxGrid
*arg1
= (wxGrid
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
11052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= PyInt_FromLong((long)result
);
11067 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxGrid
*arg1
= (wxGrid
*) 0 ;
11070 wxColour
*arg2
= 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self","arg2", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 Py_INCREF(Py_None
); resultobj
= Py_None
;
11098 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
*resultobj
;
11100 wxGrid
*arg1
= (wxGrid
*) 0 ;
11103 wxColour
*arg4
= 0 ;
11105 PyObject
* obj0
= 0 ;
11106 PyObject
* obj3
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11115 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 Py_INCREF(Py_None
); resultobj
= Py_None
;
11131 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
;
11133 wxGrid
*arg1
= (wxGrid
*) 0 ;
11134 wxColour
*arg2
= 0 ;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self","arg2", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11146 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 Py_INCREF(Py_None
); resultobj
= Py_None
;
11162 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxGrid
*arg1
= (wxGrid
*) 0 ;
11167 wxColour
*arg4
= 0 ;
11169 PyObject
* obj0
= 0 ;
11170 PyObject
* obj3
= 0 ;
11171 char *kwnames
[] = {
11172 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellTextColour",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11179 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 Py_INCREF(Py_None
); resultobj
= Py_None
;
11195 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxGrid
*arg1
= (wxGrid
*) 0 ;
11199 PyObject
* obj0
= 0 ;
11200 PyObject
* obj1
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "self","arg2", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11208 if (arg2
== NULL
) {
11209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11218 Py_INCREF(Py_None
); resultobj
= Py_None
;
11225 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
;
11227 wxGrid
*arg1
= (wxGrid
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj3
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellFont",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11239 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11240 if (arg4
== NULL
) {
11241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11257 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxGrid
*arg1
= (wxGrid
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "horiz",(char *) "vert", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11276 Py_INCREF(Py_None
); resultobj
= Py_None
;
11283 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxGrid
*arg1
= (wxGrid
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellAlignment",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 Py_INCREF(Py_None
); resultobj
= Py_None
;
11311 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxGrid
*arg1
= (wxGrid
*) 0 ;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "allow", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11323 arg2
= PyInt_AsLong(obj1
) ? true : false;
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 (arg1
)->SetDefaultCellOverflow(arg2
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 Py_INCREF(Py_None
); resultobj
= Py_None
;
11339 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxGrid
*arg1
= (wxGrid
*) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj3
= 0 ;
11347 char *kwnames
[] = {
11348 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellOverflow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11353 arg4
= PyInt_AsLong(obj3
) ? true : false;
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 Py_INCREF(Py_None
); resultobj
= Py_None
;
11369 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxGrid
*arg1
= (wxGrid
*) 0 ;
11376 PyObject
* obj0
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Grid_SetCellSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 Py_INCREF(Py_None
); resultobj
= Py_None
;
11397 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxGrid
*arg1
= (wxGrid
*) 0 ;
11400 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self",(char *) "renderer", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 (arg1
)->SetDefaultRenderer(arg2
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 Py_INCREF(Py_None
); resultobj
= Py_None
;
11424 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
;
11426 wxGrid
*arg1
= (wxGrid
*) 0 ;
11429 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj3
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11438 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 Py_INCREF(Py_None
); resultobj
= Py_None
;
11453 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxGrid
*arg1
= (wxGrid
*) 0 ;
11456 wxGridCellRenderer
*result
;
11457 PyObject
* obj0
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11480 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxGrid
*arg1
= (wxGrid
*) 0 ;
11485 wxGridCellRenderer
*result
;
11486 PyObject
* obj0
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "row",(char *) "col", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellRenderer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11501 resultobj
= wxPyMake_wxGridCellRenderer(result
);
11509 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxGrid
*arg1
= (wxGrid
*) 0 ;
11512 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self",(char *) "editor", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
11520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 (arg1
)->SetDefaultEditor(arg2
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 Py_INCREF(Py_None
); resultobj
= Py_None
;
11536 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
;
11538 wxGrid
*arg1
= (wxGrid
*) 0 ;
11541 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj3
= 0 ;
11544 char *kwnames
[] = {
11545 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
11548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11550 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 Py_INCREF(Py_None
); resultobj
= Py_None
;
11565 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxGrid
*arg1
= (wxGrid
*) 0 ;
11568 wxGridCellEditor
*result
;
11569 PyObject
* obj0
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= wxPyMake_wxGridCellEditor(result
);
11592 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
;
11594 wxGrid
*arg1
= (wxGrid
*) 0 ;
11597 wxGridCellEditor
*result
;
11598 PyObject
* obj0
= 0 ;
11599 char *kwnames
[] = {
11600 (char *) "self",(char *) "row",(char *) "col", NULL
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellEditor",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11613 resultobj
= wxPyMake_wxGridCellEditor(result
);
11621 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxGrid
*arg1
= (wxGrid
*) 0 ;
11627 PyObject
* obj0
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self",(char *) "row",(char *) "col", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetCellValue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (arg1
)->GetCellValue(arg2
,arg3
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11654 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxGrid
*arg1
= (wxGrid
*) 0 ;
11659 wxString
*arg4
= 0 ;
11660 bool temp4
= False
;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj3
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Grid_SetCellValue",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11670 arg4
= wxString_in_helper(obj3
);
11671 if (arg4
== NULL
) SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 Py_INCREF(Py_None
); resultobj
= Py_None
;
11696 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxGrid
*arg1
= (wxGrid
*) 0 ;
11702 PyObject
* obj0
= 0 ;
11703 char *kwnames
[] = {
11704 (char *) "self",(char *) "row",(char *) "col", NULL
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsReadOnly",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= PyInt_FromLong((long)result
);
11723 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxGrid
*arg1
= (wxGrid
*) 0 ;
11728 bool arg4
= (bool) True
;
11729 PyObject
* obj0
= 0 ;
11730 PyObject
* obj3
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Grid_SetReadOnly",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11738 arg4
= PyInt_AsLong(obj3
) ? true : false;
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 Py_INCREF(Py_None
); resultobj
= Py_None
;
11755 static PyObject
*_wrap_Grid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxGrid
*arg1
= (wxGrid
*) 0 ;
11759 bool arg3
= (bool) False
;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj2
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectRow",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11769 arg3
= PyInt_AsLong(obj2
) ? true : false;
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 (arg1
)->SelectRow(arg2
,arg3
);
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 Py_INCREF(Py_None
); resultobj
= Py_None
;
11786 static PyObject
*_wrap_Grid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxGrid
*arg1
= (wxGrid
*) 0 ;
11790 bool arg3
= (bool) False
;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj2
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:Grid_SelectCol",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11800 arg3
= PyInt_AsLong(obj2
) ? true : false;
11801 if (PyErr_Occurred()) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 (arg1
)->SelectCol(arg2
,arg3
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 Py_INCREF(Py_None
); resultobj
= Py_None
;
11817 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxGrid
*arg1
= (wxGrid
*) 0 ;
11824 bool arg6
= (bool) False
;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj5
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Grid_SelectBlock",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11834 arg6
= PyInt_AsLong(obj5
) ? true : false;
11835 if (PyErr_Occurred()) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 Py_INCREF(Py_None
); resultobj
= Py_None
;
11851 static PyObject
*_wrap_Grid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxGrid
*arg1
= (wxGrid
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 (arg1
)->SelectAll();
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 Py_INCREF(Py_None
); resultobj
= Py_None
;
11875 static PyObject
*_wrap_Grid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxGrid
*arg1
= (wxGrid
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)(arg1
)->IsSelection();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= PyInt_FromLong((long)result
);
11900 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxGrid
*arg1
= (wxGrid
*) 0 ;
11903 PyObject
* obj0
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 (arg1
)->ClearSelection();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 Py_INCREF(Py_None
); resultobj
= Py_None
;
11924 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxGrid
*arg1
= (wxGrid
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self",(char *) "row",(char *) "col", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_IsInSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= PyInt_FromLong((long)result
);
11951 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxGrid
*arg1
= (wxGrid
*) 0 ;
11954 wxGridCellCoordsArray result
;
11955 PyObject
* obj0
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
11961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= wxGridCellCoordsArray_helper(result
);
11978 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxGrid
*arg1
= (wxGrid
*) 0 ;
11981 wxGridCellCoordsArray result
;
11982 PyObject
* obj0
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= wxGridCellCoordsArray_helper(result
);
12005 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxGrid
*arg1
= (wxGrid
*) 0 ;
12008 wxGridCellCoordsArray result
;
12009 PyObject
* obj0
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= wxGridCellCoordsArray_helper(result
);
12032 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
;
12034 wxGrid
*arg1
= (wxGrid
*) 0 ;
12036 PyObject
* obj0
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= PyList_New(0);
12053 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12054 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12055 PyList_Append(resultobj
, val
);
12065 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxGrid
*arg1
= (wxGrid
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
12075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= PyList_New(0);
12086 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12087 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12088 PyList_Append(resultobj
, val
);
12098 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxGrid
*arg1
= (wxGrid
*) 0 ;
12102 PyObject
* obj0
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "self",(char *) "row", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectRow",kwnames
,&obj0
,&arg2
)) goto fail
;
12108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 (arg1
)->DeselectRow(arg2
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 Py_INCREF(Py_None
); resultobj
= Py_None
;
12123 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
;
12125 wxGrid
*arg1
= (wxGrid
*) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self",(char *) "col", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Grid_DeselectCol",kwnames
,&obj0
,&arg2
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 (arg1
)->DeselectCol(arg2
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 Py_INCREF(Py_None
); resultobj
= Py_None
;
12148 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
;
12150 wxGrid
*arg1
= (wxGrid
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self",(char *) "row",(char *) "col", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_DeselectCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 (arg1
)->DeselectCell(arg2
,arg3
);
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 Py_INCREF(Py_None
); resultobj
= Py_None
;
12174 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxGrid
*arg1
= (wxGrid
*) 0 ;
12177 wxGridCellCoords
*arg2
= 0 ;
12178 wxGridCellCoords
*arg3
= 0 ;
12180 wxGridCellCoords temp2
;
12181 wxGridCellCoords temp3
;
12182 PyObject
* obj0
= 0 ;
12183 PyObject
* obj1
= 0 ;
12184 PyObject
* obj2
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12193 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
12197 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12207 wxRect
* resultptr
;
12208 resultptr
= new wxRect((wxRect
&) result
);
12209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12217 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxGrid
*arg1
= (wxGrid
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12236 wxColour
* resultptr
;
12237 resultptr
= new wxColour((wxColour
&) result
);
12238 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12246 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxGrid
*arg1
= (wxGrid
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
12256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 wxColour
* resultptr
;
12266 resultptr
= new wxColour((wxColour
&) result
);
12267 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
12275 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxGrid
*arg1
= (wxGrid
*) 0 ;
12278 wxColour
*arg2
= 0 ;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self",(char *) "c", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 Py_INCREF(Py_None
); resultobj
= Py_None
;
12306 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxGrid
*arg1
= (wxGrid
*) 0 ;
12309 wxColour
*arg2
= 0 ;
12311 PyObject
* obj0
= 0 ;
12312 PyObject
* obj1
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self",(char *) "c", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 Py_INCREF(Py_None
); resultobj
= Py_None
;
12337 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxGrid
*arg1
= (wxGrid
*) 0 ;
12340 wxString
*arg2
= 0 ;
12341 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
12342 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
12343 bool temp2
= False
;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 PyObject
* obj2
= 0 ;
12347 PyObject
* obj3
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12355 arg2
= wxString_in_helper(obj1
);
12356 if (arg2
== NULL
) SWIG_fail
;
12359 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGridCellRenderer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12360 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGridCellEditor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 Py_INCREF(Py_None
); resultobj
= Py_None
;
12383 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxGrid
*arg1
= (wxGrid
*) 0 ;
12388 wxGridCellEditor
*result
;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self",(char *) "row",(char *) "col", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= wxPyMake_wxGridCellEditor(result
);
12412 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxGrid
*arg1
= (wxGrid
*) 0 ;
12417 wxGridCellRenderer
*result
;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self",(char *) "row",(char *) "col", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12441 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxGrid
*arg1
= (wxGrid
*) 0 ;
12444 wxString
*arg2
= 0 ;
12445 wxGridCellEditor
*result
;
12446 bool temp2
= False
;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "self",(char *) "typeName", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12456 arg2
= wxString_in_helper(obj1
);
12457 if (arg2
== NULL
) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= wxPyMake_wxGridCellEditor(result
);
12484 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxGrid
*arg1
= (wxGrid
*) 0 ;
12487 wxString
*arg2
= 0 ;
12488 wxGridCellRenderer
*result
;
12489 bool temp2
= False
;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self",(char *) "typeName", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
12497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12499 arg2
= wxString_in_helper(obj1
);
12500 if (arg2
== NULL
) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= wxPyMake_wxGridCellRenderer(result
);
12527 static PyObject
*_wrap_Grid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxGrid
*arg1
= (wxGrid
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Grid_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->SetMargins(arg2
,arg3
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 Py_INCREF(Py_None
); resultobj
= Py_None
;
12553 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxGrid
*arg1
= (wxGrid
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (wxWindow
*)(arg1
)->GetGridWindow();
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= wxPyMake_wxObject(result
);
12580 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxGrid
*arg1
= (wxGrid
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= wxPyMake_wxObject(result
);
12607 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxGrid
*arg1
= (wxGrid
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
12617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12626 resultobj
= wxPyMake_wxObject(result
);
12634 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxGrid
*arg1
= (wxGrid
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
12644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= wxPyMake_wxObject(result
);
12661 static PyObject
* Grid_swigregister(PyObject
*self
, PyObject
*args
) {
12663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12664 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
12666 return Py_BuildValue((char *)"");
12668 static PyObject
*_wrap_new_GridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12672 wxGrid
*arg3
= (wxGrid
*) 0 ;
12673 int arg4
= (int) -1 ;
12674 int arg5
= (int) -1 ;
12675 int arg6
= (int) -1 ;
12676 int arg7
= (int) -1 ;
12677 bool arg8
= (bool) True
;
12678 bool arg9
= (bool) False
;
12679 bool arg10
= (bool) False
;
12680 bool arg11
= (bool) False
;
12681 bool arg12
= (bool) False
;
12682 wxGridEvent
*result
;
12683 PyObject
* obj2
= 0 ;
12684 PyObject
* obj7
= 0 ;
12685 PyObject
* obj8
= 0 ;
12686 PyObject
* obj9
= 0 ;
12687 PyObject
* obj10
= 0 ;
12688 PyObject
* obj11
= 0 ;
12689 char *kwnames
[] = {
12690 (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
12693 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
;
12694 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12696 arg8
= PyInt_AsLong(obj7
) ? true : false;
12697 if (PyErr_Occurred()) SWIG_fail
;
12700 arg9
= PyInt_AsLong(obj8
) ? true : false;
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 arg10
= PyInt_AsLong(obj9
) ? true : false;
12705 if (PyErr_Occurred()) SWIG_fail
;
12708 arg11
= PyInt_AsLong(obj10
) ? true : false;
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 arg12
= PyInt_AsLong(obj11
) ? true : false;
12713 if (PyErr_Occurred()) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEvent
, 1);
12729 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (int)(arg1
)->GetRow();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= PyInt_FromLong((long)result
);
12754 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (int)(arg1
)->GetCol();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= PyInt_FromLong((long)result
);
12779 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 char *kwnames
[] = {
12785 (char *) "self", NULL
12788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (arg1
)->GetPosition();
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12798 wxPoint
* resultptr
;
12799 resultptr
= new wxPoint((wxPoint
&) result
);
12800 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12808 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (bool)(arg1
)->Selecting();
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= PyInt_FromLong((long)result
);
12833 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (bool)(arg1
)->ControlDown();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= PyInt_FromLong((long)result
);
12858 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (bool)(arg1
)->MetaDown();
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= PyInt_FromLong((long)result
);
12883 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12887 PyObject
* obj0
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)(arg1
)->ShiftDown();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= PyInt_FromLong((long)result
);
12908 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (bool)(arg1
)->AltDown();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= PyInt_FromLong((long)result
);
12933 static PyObject
* GridEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12936 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
12938 return Py_BuildValue((char *)"");
12940 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12944 wxGrid
*arg3
= (wxGrid
*) 0 ;
12945 int arg4
= (int) -1 ;
12946 int arg5
= (int) -1 ;
12947 int arg6
= (int) -1 ;
12948 bool arg7
= (bool) False
;
12949 bool arg8
= (bool) False
;
12950 bool arg9
= (bool) False
;
12951 bool arg10
= (bool) False
;
12952 wxGridSizeEvent
*result
;
12953 PyObject
* obj2
= 0 ;
12954 PyObject
* obj6
= 0 ;
12955 PyObject
* obj7
= 0 ;
12956 PyObject
* obj8
= 0 ;
12957 PyObject
* obj9
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO|iiiOOOO:new_GridSizeEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12965 arg7
= PyInt_AsLong(obj6
) ? true : false;
12966 if (PyErr_Occurred()) SWIG_fail
;
12969 arg8
= PyInt_AsLong(obj7
) ? true : false;
12970 if (PyErr_Occurred()) SWIG_fail
;
12973 arg9
= PyInt_AsLong(obj8
) ? true : false;
12974 if (PyErr_Occurred()) SWIG_fail
;
12977 arg10
= PyInt_AsLong(obj9
) ? true : false;
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizeEvent
, 1);
12994 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (int)(arg1
)->GetRowOrCol();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= PyInt_FromLong((long)result
);
13019 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (arg1
)->GetPosition();
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13038 wxPoint
* resultptr
;
13039 resultptr
= new wxPoint((wxPoint
&) result
);
13040 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13048 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13052 PyObject
* obj0
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (bool)(arg1
)->ControlDown();
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= PyInt_FromLong((long)result
);
13073 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= (bool)(arg1
)->MetaDown();
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= PyInt_FromLong((long)result
);
13098 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (bool)(arg1
)->ShiftDown();
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= PyInt_FromLong((long)result
);
13123 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (bool)(arg1
)->AltDown();
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= PyInt_FromLong((long)result
);
13148 static PyObject
* GridSizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13151 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
13153 return Py_BuildValue((char *)"");
13155 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13159 wxGrid
*arg3
= (wxGrid
*) 0 ;
13160 wxGridCellCoords
*arg4
= 0 ;
13161 wxGridCellCoords
*arg5
= 0 ;
13162 bool arg6
= (bool) True
;
13163 bool arg7
= (bool) False
;
13164 bool arg8
= (bool) False
;
13165 bool arg9
= (bool) False
;
13166 bool arg10
= (bool) False
;
13167 wxGridRangeSelectEvent
*result
;
13168 wxGridCellCoords temp4
;
13169 wxGridCellCoords temp5
;
13170 PyObject
* obj2
= 0 ;
13171 PyObject
* obj3
= 0 ;
13172 PyObject
* obj4
= 0 ;
13173 PyObject
* obj5
= 0 ;
13174 PyObject
* obj6
= 0 ;
13175 PyObject
* obj7
= 0 ;
13176 PyObject
* obj8
= 0 ;
13177 PyObject
* obj9
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGrid
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13186 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
13190 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
13193 arg6
= PyInt_AsLong(obj5
) ? true : false;
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 arg7
= PyInt_AsLong(obj6
) ? true : false;
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 arg8
= PyInt_AsLong(obj7
) ? true : false;
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 arg9
= PyInt_AsLong(obj8
) ? true : false;
13206 if (PyErr_Occurred()) SWIG_fail
;
13209 arg10
= PyInt_AsLong(obj9
) ? true : false;
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
13226 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13229 wxGridCellCoords result
;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (arg1
)->GetTopLeftCoords();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13245 wxGridCellCoords
* resultptr
;
13246 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13247 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13255 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13258 wxGridCellCoords result
;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (arg1
)->GetBottomRightCoords();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13274 wxGridCellCoords
* resultptr
;
13275 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
13276 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGridCellCoords
, 1);
13284 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (int)(arg1
)->GetTopRow();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= PyInt_FromLong((long)result
);
13309 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (int)(arg1
)->GetBottomRow();
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= PyInt_FromLong((long)result
);
13334 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
13344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 result
= (int)(arg1
)->GetLeftCol();
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= PyInt_FromLong((long)result
);
13359 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (int)(arg1
)->GetRightCol();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= PyInt_FromLong((long)result
);
13384 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (bool)(arg1
)->Selecting();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= PyInt_FromLong((long)result
);
13409 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
;
13411 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13413 PyObject
* obj0
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (bool)(arg1
)->ControlDown();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= PyInt_FromLong((long)result
);
13434 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (bool)(arg1
)->MetaDown();
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= PyInt_FromLong((long)result
);
13459 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (bool)(arg1
)->ShiftDown();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= PyInt_FromLong((long)result
);
13484 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridRangeSelectEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (bool)(arg1
)->AltDown();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= PyInt_FromLong((long)result
);
13509 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13512 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
13514 return Py_BuildValue((char *)"");
13516 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13520 wxObject
*arg3
= (wxObject
*) 0 ;
13523 wxControl
*arg6
= (wxControl
*) 0 ;
13524 wxGridEditorCreatedEvent
*result
;
13525 PyObject
* obj2
= 0 ;
13526 PyObject
* obj5
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOiiO:new_GridEditorCreatedEvent",kwnames
,&arg1
,&arg2
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13533 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
13548 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
;
13550 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13552 PyObject
* obj0
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "self", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
13558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (int)(arg1
)->GetRow();
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= PyInt_FromLong((long)result
);
13573 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (int)(arg1
)->GetCol();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= PyInt_FromLong((long)result
);
13598 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13602 PyObject
* obj0
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (wxControl
*)(arg1
)->GetControl();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= wxPyMake_wxObject(result
);
13625 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self",(char *) "row", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SetRow(arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 Py_INCREF(Py_None
); resultobj
= Py_None
;
13650 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self",(char *) "col", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
13660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 (arg1
)->SetCol(arg2
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 Py_INCREF(Py_None
); resultobj
= Py_None
;
13675 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
13678 wxControl
*arg2
= (wxControl
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 PyObject
* obj1
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self",(char *) "ctrl", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridEditorCreatedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13687 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 (arg1
)->SetControl(arg2
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 Py_INCREF(Py_None
); resultobj
= Py_None
;
13702 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13705 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
13707 return Py_BuildValue((char *)"");
13709 static PyMethodDef SwigMethods
[] = {
13710 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13711 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13712 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13713 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13714 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13715 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
13716 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13717 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
},
13718 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13719 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13720 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13721 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
},
13722 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13723 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
},
13724 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13725 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
},
13726 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13727 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13728 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13729 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13730 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13731 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
},
13732 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13733 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
},
13734 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13735 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
},
13736 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13737 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
},
13738 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13739 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
},
13740 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13741 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
13742 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13743 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13744 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13745 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13746 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13747 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13748 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13749 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
13750 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
13751 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
13752 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13753 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13754 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13755 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13756 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13757 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13758 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13759 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13760 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13761 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13762 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
},
13763 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13764 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13765 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13766 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13767 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13768 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13769 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13770 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13771 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13772 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13773 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13774 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
},
13775 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13776 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13777 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
},
13778 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13779 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13780 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
},
13781 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13782 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13783 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
},
13784 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13785 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13786 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
},
13787 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13788 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13789 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
},
13790 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
13791 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13792 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
},
13793 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
13794 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13795 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
},
13796 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13797 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13798 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13799 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
13800 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13801 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13802 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13803 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13804 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13805 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13806 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13807 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
13808 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13809 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13810 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13811 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13812 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13813 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13814 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13815 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13816 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13817 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13818 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13819 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
13820 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13821 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13822 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13823 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13824 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
13825 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
13826 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13827 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13828 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13829 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13830 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
},
13831 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13832 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13833 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13834 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13835 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13836 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13837 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13838 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13839 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
},
13840 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13841 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13842 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13843 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13844 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13845 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13846 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
},
13847 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
13848 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13849 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13850 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13851 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13852 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13853 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13854 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13855 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13856 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13857 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13858 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13859 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13860 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13861 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13862 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13863 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13864 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13865 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13866 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13867 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13868 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13869 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13870 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13871 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13872 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13873 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13874 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13875 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13876 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13877 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13878 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13879 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13880 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13881 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13882 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
},
13883 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13884 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13885 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13886 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13887 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13888 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13889 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13890 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13891 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13892 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13893 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13894 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13895 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13896 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13897 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13898 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13899 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13900 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13901 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13902 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13903 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13904 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13905 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
},
13906 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13907 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
},
13908 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13909 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13910 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13911 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13912 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13913 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13914 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13915 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13916 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13917 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13918 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
},
13919 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13920 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13921 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13922 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13923 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13924 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13925 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13926 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
},
13927 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
},
13928 { (char *)"GridCellCoords_asTuple", (PyCFunction
) _wrap_GridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13929 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
},
13930 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
},
13931 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13932 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13933 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13934 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13935 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13936 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13937 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13938 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13939 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13940 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13941 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13942 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13943 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13944 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13945 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13946 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13947 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13948 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13949 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13950 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13951 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13952 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13953 { (char *)"Grid_Refresh", (PyCFunction
) _wrap_Grid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
13954 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13955 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13956 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13957 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13958 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13959 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13960 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13961 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13962 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13963 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13964 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13965 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13966 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13967 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13968 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13969 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13970 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13971 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13972 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13973 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13974 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13975 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13976 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13977 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13978 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13979 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13980 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13981 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13982 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13983 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13984 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13985 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13986 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13987 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13988 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13989 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13990 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13991 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13992 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13993 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13994 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13995 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
13996 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13997 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13998 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13999 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14000 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14001 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14002 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14003 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14004 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14005 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14006 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14007 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14008 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14009 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
14010 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14011 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14012 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14013 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14014 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14015 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14016 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14017 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14018 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14019 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14020 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14021 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14022 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14023 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14024 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14025 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14026 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14027 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14028 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14029 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14030 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14031 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14032 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14033 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14034 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14035 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14036 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14037 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14038 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14039 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14040 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14041 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14042 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14043 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14044 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14045 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14046 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14047 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14048 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14049 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14050 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14051 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14052 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14053 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14054 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14055 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14056 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14057 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14058 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14059 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14060 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14061 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14062 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14063 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14064 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
14065 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
14066 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14067 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14068 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14069 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14070 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14071 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14072 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14073 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14074 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14075 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14076 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14077 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14078 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14079 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14080 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14081 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14082 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14083 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14084 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14085 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14086 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14087 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14088 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14089 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14090 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14091 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14092 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14093 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14094 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14095 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14096 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
14097 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
14098 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
14099 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
14100 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
14101 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
14102 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
14103 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
14104 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14105 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14106 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14107 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14108 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14109 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14110 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14111 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14112 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14113 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14114 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14115 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14116 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14117 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14118 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14119 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
},
14120 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14121 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14122 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14123 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14124 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14125 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14126 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14127 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14128 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14129 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
},
14130 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14131 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14132 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14133 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14134 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14135 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14136 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14137 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
},
14138 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14139 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14140 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14141 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14142 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14143 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14144 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14145 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14146 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14147 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14148 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14149 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14150 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
},
14151 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14152 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14153 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14154 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14155 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14156 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14157 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14158 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
},
14163 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14165 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
14166 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
14168 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
14169 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
14171 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
14172 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14174 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
14175 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14177 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
14178 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
14180 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
14181 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14183 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
14184 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14186 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
14187 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14189 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
14190 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
14192 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
14193 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
14195 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
14196 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
14198 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
14199 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
14201 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
14202 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
14204 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
14205 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
14207 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
14208 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14210 static void *_p_wxGridTo_p_wxPanel(void *x
) {
14211 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
14213 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
14214 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14216 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
14217 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14219 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
14220 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
14222 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
14223 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14225 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
14226 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
14228 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
14229 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14231 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
14232 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14234 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
14235 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14237 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
14238 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14240 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
14241 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
14243 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
14244 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
14246 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
14247 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14249 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
14250 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14252 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
14253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14255 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
14256 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
14258 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
14259 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
14261 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
14262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14264 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
14265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14267 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
14268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14270 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
14271 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14273 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
14274 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14276 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
14277 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14279 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
14280 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14282 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
14283 return (void *)((wxWindow
*) ((wxPanel
*) x
));
14285 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
14286 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
14288 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
14289 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
14291 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
14292 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14294 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
14295 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14297 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
14298 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14300 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
14301 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
14303 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
14304 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14306 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
14307 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
14309 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
14310 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
14312 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
14313 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
14315 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
14316 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
14318 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
14319 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
14321 static void *_p_wxControlTo_p_wxWindow(void *x
) {
14322 return (void *)((wxWindow
*) ((wxControl
*) x
));
14324 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
14325 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14327 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
14328 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14330 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
14331 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14333 static void *_p_wxGridTo_p_wxWindow(void *x
) {
14334 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14336 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
14337 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
14339 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
14340 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
14342 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
14343 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14345 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
14346 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14348 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
14349 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14351 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
14352 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
14354 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
14355 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14357 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
14358 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
14360 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
14361 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14363 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
14364 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14366 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
14367 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14369 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
14370 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
14372 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
14373 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14375 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
14376 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14378 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
14379 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14381 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
14382 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
14384 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
14385 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14387 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
14388 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
14390 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
14391 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
14393 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
14394 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
14396 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
14397 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
14399 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
14400 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
14402 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
14403 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14405 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
14406 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
14408 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
14409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
14411 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
14412 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14414 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
14415 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
14417 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
14418 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14420 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
14421 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14423 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
14424 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14426 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
14427 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
14429 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
14430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14432 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
14433 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14435 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
14436 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
14438 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
14439 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
14441 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
14442 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
14444 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
14445 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
14447 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
14448 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
14450 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
14451 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14453 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
14454 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
14456 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
14457 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
14459 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
14460 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14462 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
14463 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14465 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
14466 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14468 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
14469 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14471 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
14472 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14474 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
14475 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14477 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
14478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14480 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
14481 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
14483 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
14484 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
14486 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
14487 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14489 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
14490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
14492 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
14493 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14495 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
14496 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
14498 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
14499 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
14501 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
14502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14504 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
14505 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14507 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
14508 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14510 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
14511 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
14513 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
14514 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
14516 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
14517 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14519 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
14520 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
14522 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
14523 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
14525 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
14526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
14528 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
14529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
14531 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
14532 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
14534 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
14535 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
14537 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
14538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
14540 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
14541 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
14543 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
14544 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
14546 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
14547 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
14549 static void *_p_wxSizerTo_p_wxObject(void *x
) {
14550 return (void *)((wxObject
*) ((wxSizer
*) x
));
14552 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
14553 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
14555 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
14556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
14558 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
14559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14561 static void *_p_wxEventTo_p_wxObject(void *x
) {
14562 return (void *)((wxObject
*) ((wxEvent
*) x
));
14564 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
14565 return (void *)((wxObject
*) ((wxFontData
*) x
));
14567 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
14568 return (void *)((wxObject
*) ((wxPrintData
*) x
));
14570 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
14571 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
14573 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
14574 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
14576 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
14577 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
14579 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
14580 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
14582 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
14583 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
14585 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
14586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
14588 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
14589 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
14591 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
14592 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
14594 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
14595 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
14597 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
14598 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
14600 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
14601 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
14603 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
14604 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
14606 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
14607 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
14609 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
14610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
14612 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
14613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
14615 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
14616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
14618 static void *_p_wxControlTo_p_wxObject(void *x
) {
14619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
14621 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
14622 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
14624 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
14625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
14627 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
14628 return (void *)((wxObject
*) ((wxFSFile
*) x
));
14630 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
14631 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
14633 static void *_p_wxGridTo_p_wxObject(void *x
) {
14634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
14636 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
14637 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
14639 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
14640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
14642 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
14643 return (void *)((wxObject
*) ((wxColourData
*) x
));
14645 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
14646 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
14648 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
14649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
14651 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
14652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
14654 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
14655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14657 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
14658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14660 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
14661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14663 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
14664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14666 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
14667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14669 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
14670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14672 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
14673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14675 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
14676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14678 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
14679 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
14681 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
14682 return (void *)((wxObject
*) ((wxPrinter
*) x
));
14684 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
14685 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
14687 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
14688 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
14690 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
14691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
14693 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
14694 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
14696 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
14697 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
14699 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
14700 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
14702 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
14703 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
14705 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
14706 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
14708 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
14709 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
14711 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
14712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
14714 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
14715 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
14717 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
14718 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
14720 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
14721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
14723 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
14724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
14726 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
14727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
14729 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
14730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
14732 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
14733 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
14735 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
14736 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
14738 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
14739 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
14741 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
14742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
14744 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
14745 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
14747 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
14748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
14750 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
14751 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
14753 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
14754 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
14756 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
14757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
14759 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
14760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
14762 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
14763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
14765 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
14766 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
14768 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
14769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14771 static void *_p_wxImageTo_p_wxObject(void *x
) {
14772 return (void *)((wxObject
*) ((wxImage
*) x
));
14774 static void *_p_wxFrameTo_p_wxObject(void *x
) {
14775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
14777 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
14778 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
14780 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
14781 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
14783 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
14784 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
14786 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
14787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
14789 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
14790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
14792 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
14793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
14795 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
14796 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
14798 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
14799 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
14801 static void *_p_wxWindowTo_p_wxObject(void *x
) {
14802 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
14804 static void *_p_wxMenuTo_p_wxObject(void *x
) {
14805 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
14807 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
14808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
14810 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
14811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
14813 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
14814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
14816 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
14817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
14819 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
14820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
14822 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
14823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
14825 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
14826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14828 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
14829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
14831 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
14832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14834 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
14835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14837 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
14838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14840 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
14841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
14843 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
14844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
14846 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
14847 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
14849 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
14850 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
14852 static void *_p_wxPanelTo_p_wxObject(void *x
) {
14853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
14855 static void *_p_wxDialogTo_p_wxObject(void *x
) {
14856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
14858 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
14859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
14861 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
14862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
14864 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
14865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
14867 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
14868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
14870 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
14871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
14873 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
14874 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
14876 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
14877 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
14879 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
14880 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
14882 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
14883 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
14885 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
14886 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
14888 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
14889 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
14891 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
14892 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
14894 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
14895 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
14897 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
14898 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
14900 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
14901 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
14903 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
14904 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
14906 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
14907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
14909 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
14910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
14912 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
14913 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
14915 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
14916 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
14918 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
14919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
14921 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
14922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
14924 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
14925 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
14927 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
14928 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
14930 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
14931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
14933 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
14934 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
14936 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
14937 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
14939 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
14940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
14942 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
14943 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
14945 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
14946 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
14948 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
14949 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
14951 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
14952 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
14954 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
14955 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
14957 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
14958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
14960 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
14961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
14963 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
14964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
14966 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
14967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
14969 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
14970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
14972 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
14973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
14975 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
14976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
14978 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
14979 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
14981 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
14982 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
14984 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
14985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
14987 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
14988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
14990 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
14991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
14993 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
14994 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
14996 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
14997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
14999 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
15000 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
15002 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
15003 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
15005 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
15006 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
15008 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
15009 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
15011 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
15012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
15014 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
15015 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
15017 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
15018 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
15020 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
15021 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
15023 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
15024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
15026 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
15027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
15029 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
15030 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
15032 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
15033 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
15035 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
15036 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
15038 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
15039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
15041 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
15042 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
15044 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
15045 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
15047 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
15048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
15050 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
15051 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
15053 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
15056 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
15057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
15059 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
15060 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
15062 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
15063 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
15065 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
15066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
15068 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
15069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
15071 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
15072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
15074 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
15075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
15077 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
15078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
15080 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
15081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
15083 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
15084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
15086 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
15087 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
15089 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
15090 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
15092 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
15093 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
15095 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
15096 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
15098 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
15099 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15101 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
15102 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15104 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
15105 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
15107 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
15108 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
15110 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
15111 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15113 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
15114 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15116 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
15117 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
15119 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
15120 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
15122 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
15123 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
15125 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
15126 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
15128 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
15129 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
15131 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
15132 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
15134 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
15135 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
15137 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
15138 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
15140 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
15141 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
15143 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
15144 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
15146 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
15147 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
15149 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
15150 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
15152 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
15153 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
15155 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
15156 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
15158 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
15159 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
15161 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
15162 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
15164 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
15165 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
15167 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
15168 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
15170 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
15171 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
15173 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
15174 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
15176 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0},{"_p_wxGridCellAutoWrapStringRenderer"},{0}};
15177 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0},{"_p_wxGridCellEnumRenderer"},{0}};
15178 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0},{"_p_wxGridCellDateTimeRenderer"},{0}};
15179 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0},{"_p_wxGridCellBoolRenderer"},{0}};
15180 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0},{"_p_wxGridCellFloatRenderer"},{0}};
15181 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0},{"_p_wxGridCellNumberRenderer"},{0}};
15182 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0},{"_p_wxPyGridCellRenderer"},{0}};
15183 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}};
15184 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}};
15185 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0},{"_p_wxGridCellAttr"},{0}};
15186 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
15187 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
15188 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0},{"_p_wxGridTableMessage"},{0}};
15189 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0},{"_p_wxGrid"},{0}};
15190 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}};
15191 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}};
15192 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0},{"_p_wxGridRangeSelectEvent"},{0}};
15193 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
15194 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0},{"_p_wxGridCellCoords"},{0}};
15195 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}};
15196 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}};
15197 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
15198 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
15199 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}};
15200 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}};
15201 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0},{"_p_wxGridSizeEvent"},{0}};
15202 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
15203 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
15204 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
15205 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}};
15206 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
15207 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0},{"_p_wxGridEvent"},{0}};
15208 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0},{"_p_wxGridEditorCreatedEvent"},{0}};
15209 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}};
15210 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0},{"_p_wxGridCellFloatEditor"},{0}};
15211 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0},{"_p_wxGridCellNumberEditor"},{0}};
15212 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0},{"_p_wxPyGridCellEditor"},{0}};
15213 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}};
15214 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}};
15215 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0},{"_p_wxGridCellBoolEditor"},{0}};
15216 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0},{"_p_wxPyGridTableBase"},{0}};
15217 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0},{"_p_wxGridStringTable"},{0}};
15218 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
15219 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}};
15220 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0},{"_p_wxGridCellAttrProvider"},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
},{0}};
15221 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
15222 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0},{"_p_wxGridCellChoiceEditor"},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
},{0}};
15223 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0},{"_p_wxGridCellEnumEditor"},{0}};
15224 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0},{"_p_wxGridCellAutoWrapStringEditor"},{0}};
15225 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
15226 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0},{"_p_wxPyGridCellAttrProvider"},{0}};
15228 static swig_type_info
*swig_types_initial
[] = {
15229 _swigt__p_wxGridCellAutoWrapStringRenderer
,
15230 _swigt__p_wxGridCellEnumRenderer
,
15231 _swigt__p_wxGridCellDateTimeRenderer
,
15232 _swigt__p_wxGridCellBoolRenderer
,
15233 _swigt__p_wxGridCellFloatRenderer
,
15234 _swigt__p_wxGridCellNumberRenderer
,
15235 _swigt__p_wxPyGridCellRenderer
,
15236 _swigt__p_wxGridCellRenderer
,
15237 _swigt__p_wxGridCellStringRenderer
,
15238 _swigt__p_wxGridCellAttr
,
15239 _swigt__p_wxColour
,
15241 _swigt__p_wxGridTableMessage
,
15244 _swigt__p_wxNotifyEvent
,
15245 _swigt__p_wxGridRangeSelectEvent
,
15247 _swigt__p_wxGridCellCoords
,
15248 _swigt__p_wxScrolledWindow
,
15249 _swigt__p_wxWindow
,
15251 _swigt__p_wxControl
,
15253 _swigt__p_wxObject
,
15254 _swigt__p_wxGridSizeEvent
,
15257 _swigt__p_wxString
,
15258 _swigt__p_wxEvtHandler
,
15260 _swigt__p_wxGridEvent
,
15261 _swigt__p_wxGridEditorCreatedEvent
,
15262 _swigt__p_wxGridTableBase
,
15263 _swigt__p_wxGridCellFloatEditor
,
15264 _swigt__p_wxGridCellNumberEditor
,
15265 _swigt__p_wxPyGridCellEditor
,
15266 _swigt__p_wxGridCellEditor
,
15267 _swigt__p_wxGridCellTextEditor
,
15268 _swigt__p_wxGridCellBoolEditor
,
15269 _swigt__p_wxPyGridTableBase
,
15270 _swigt__p_wxGridStringTable
,
15271 _swigt__p_wxArrayString
,
15272 _swigt__p_wxCommandEvent
,
15273 _swigt__p_wxGridCellAttrProvider
,
15274 _swigt__p_wxKeyEvent
,
15275 _swigt__p_wxGridCellChoiceEditor
,
15276 _swigt__p_wxGridCellEnumEditor
,
15277 _swigt__p_wxGridCellAutoWrapStringEditor
,
15279 _swigt__p_wxPyGridCellAttrProvider
,
15284 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15286 static swig_const_info swig_const_table
[] = {
15287 { SWIG_PY_STRING
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", 0},
15288 { SWIG_PY_STRING
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", 0},
15289 { SWIG_PY_STRING
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", 0},
15290 { SWIG_PY_STRING
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", 0},
15291 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", 0},
15292 { SWIG_PY_STRING
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", 0},
15293 { SWIG_PY_STRING
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", 0},
15294 { SWIG_PY_STRING
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", 0},
15295 { SWIG_PY_STRING
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", 0},
15296 { SWIG_PY_INT
, (char *)"GridCellAttr_Any", (long) wxGridCellAttr::Any
, 0, 0, 0},
15297 { SWIG_PY_INT
, (char *)"GridCellAttr_Default", (long) wxGridCellAttr::Default
, 0, 0, 0},
15298 { SWIG_PY_INT
, (char *)"GridCellAttr_Cell", (long) wxGridCellAttr::Cell
, 0, 0, 0},
15299 { SWIG_PY_INT
, (char *)"GridCellAttr_Row", (long) wxGridCellAttr::Row
, 0, 0, 0},
15300 { SWIG_PY_INT
, (char *)"GridCellAttr_Col", (long) wxGridCellAttr::Col
, 0, 0, 0},
15301 { SWIG_PY_INT
, (char *)"GridCellAttr_Merged", (long) wxGridCellAttr::Merged
, 0, 0, 0},
15302 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_GET_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
, 0, 0, 0},
15303 { SWIG_PY_INT
, (char *)"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", (long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
, 0, 0, 0},
15304 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_INSERTED", (long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
, 0, 0, 0},
15305 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_APPENDED", (long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
, 0, 0, 0},
15306 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_ROWS_DELETED", (long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
, 0, 0, 0},
15307 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_INSERTED", (long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
, 0, 0, 0},
15308 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_APPENDED", (long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
, 0, 0, 0},
15309 { SWIG_PY_INT
, (char *)"GRIDTABLE_NOTIFY_COLS_DELETED", (long) wxGRIDTABLE_NOTIFY_COLS_DELETED
, 0, 0, 0},
15310 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectCells", (long) wxGrid::wxGridSelectCells
, 0, 0, 0},
15311 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectRows", (long) wxGrid::wxGridSelectRows
, 0, 0, 0},
15312 { SWIG_PY_INT
, (char *)"Grid_wxGridSelectColumns", (long) wxGrid::wxGridSelectColumns
, 0, 0, 0},
15313 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_CLICK", (long) wxEVT_GRID_CELL_LEFT_CLICK
, 0, 0, 0},
15314 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_CLICK", (long) wxEVT_GRID_CELL_RIGHT_CLICK
, 0, 0, 0},
15315 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_LEFT_DCLICK", (long) wxEVT_GRID_CELL_LEFT_DCLICK
, 0, 0, 0},
15316 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_RIGHT_DCLICK", (long) wxEVT_GRID_CELL_RIGHT_DCLICK
, 0, 0, 0},
15317 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_CLICK", (long) wxEVT_GRID_LABEL_LEFT_CLICK
, 0, 0, 0},
15318 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_CLICK", (long) wxEVT_GRID_LABEL_RIGHT_CLICK
, 0, 0, 0},
15319 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_LEFT_DCLICK", (long) wxEVT_GRID_LABEL_LEFT_DCLICK
, 0, 0, 0},
15320 { SWIG_PY_INT
, (char *)"wxEVT_GRID_LABEL_RIGHT_DCLICK", (long) wxEVT_GRID_LABEL_RIGHT_DCLICK
, 0, 0, 0},
15321 { SWIG_PY_INT
, (char *)"wxEVT_GRID_ROW_SIZE", (long) wxEVT_GRID_ROW_SIZE
, 0, 0, 0},
15322 { SWIG_PY_INT
, (char *)"wxEVT_GRID_COL_SIZE", (long) wxEVT_GRID_COL_SIZE
, 0, 0, 0},
15323 { SWIG_PY_INT
, (char *)"wxEVT_GRID_RANGE_SELECT", (long) wxEVT_GRID_RANGE_SELECT
, 0, 0, 0},
15324 { SWIG_PY_INT
, (char *)"wxEVT_GRID_CELL_CHANGE", (long) wxEVT_GRID_CELL_CHANGE
, 0, 0, 0},
15325 { SWIG_PY_INT
, (char *)"wxEVT_GRID_SELECT_CELL", (long) wxEVT_GRID_SELECT_CELL
, 0, 0, 0},
15326 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_SHOWN", (long) wxEVT_GRID_EDITOR_SHOWN
, 0, 0, 0},
15327 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_HIDDEN", (long) wxEVT_GRID_EDITOR_HIDDEN
, 0, 0, 0},
15328 { SWIG_PY_INT
, (char *)"wxEVT_GRID_EDITOR_CREATED", (long) wxEVT_GRID_EDITOR_CREATED
, 0, 0, 0},
15338 SWIGEXPORT(void) SWIG_init(void) {
15339 static PyObject
*SWIG_globals
= 0;
15340 static int typeinit
= 0;
15343 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
15344 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
15345 d
= PyModule_GetDict(m
);
15348 for (i
= 0; swig_types_initial
[i
]; i
++) {
15349 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
15353 SWIG_InstallConstants(d
,swig_const_table
);
15355 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
15356 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
15357 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
15358 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
15359 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
15360 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
15361 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
15362 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
15363 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
15364 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
15365 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
15366 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15367 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
15368 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
15369 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
15370 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
15371 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
15372 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
15373 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
15374 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));