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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[0]
212 #define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[1]
213 #define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[2]
214 #define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[3]
215 #define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[4]
216 #define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[5]
217 #define SWIGTYPE_p_wxPyGridCellRenderer swig_types[6]
218 #define SWIGTYPE_p_wxGridCellRenderer swig_types[7]
219 #define SWIGTYPE_p_wxGridCellStringRenderer swig_types[8]
220 #define SWIGTYPE_p_wxGridCellAttr swig_types[9]
221 #define SWIGTYPE_p_wxColour swig_types[10]
222 #define SWIGTYPE_p_wxDC swig_types[11]
223 #define SWIGTYPE_p_wxGridTableMessage swig_types[12]
224 #define SWIGTYPE_p_wxGrid swig_types[13]
225 #define SWIGTYPE_p_wxVisualAttributes swig_types[14]
226 #define SWIGTYPE_p_char swig_types[15]
227 #define SWIGTYPE_p_wxPanel swig_types[16]
228 #define SWIGTYPE_p_wxNotifyEvent swig_types[17]
229 #define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxGridCellCoords swig_types[20]
232 #define SWIGTYPE_p_wxScrolledWindow swig_types[21]
233 #define SWIGTYPE_p_wxWindow swig_types[22]
234 #define SWIGTYPE_p_wxFont swig_types[23]
235 #define SWIGTYPE_p_wxControl swig_types[24]
236 #define SWIGTYPE_p_wxEvent swig_types[25]
237 #define SWIGTYPE_p_wxObject swig_types[26]
238 #define SWIGTYPE_p_wxGridSizeEvent swig_types[27]
239 #define SWIGTYPE_p_wxRect swig_types[28]
240 #define SWIGTYPE_p_long swig_types[29]
241 #define SWIGTYPE_p_wxString swig_types[30]
242 #define SWIGTYPE_p_wxEvtHandler swig_types[31]
243 #define SWIGTYPE_p_wxPoint swig_types[32]
244 #define SWIGTYPE_p_wxGridEvent swig_types[33]
245 #define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[34]
246 #define SWIGTYPE_p_wxGridTableBase swig_types[35]
247 #define SWIGTYPE_p_wxGridCellNumberEditor swig_types[36]
248 #define SWIGTYPE_p_wxPyGridCellEditor swig_types[37]
249 #define SWIGTYPE_p_wxGridCellEditor swig_types[38]
250 #define SWIGTYPE_p_wxGridCellTextEditor swig_types[39]
251 #define SWIGTYPE_p_wxGridCellFloatEditor swig_types[40]
252 #define SWIGTYPE_p_wxGridCellBoolEditor swig_types[41]
253 #define SWIGTYPE_p_wxPyGridTableBase swig_types[42]
254 #define SWIGTYPE_p_wxGridStringTable swig_types[43]
255 #define SWIGTYPE_p_wxArrayString swig_types[44]
256 #define SWIGTYPE_p_wxCommandEvent swig_types[45]
257 #define SWIGTYPE_p_wxGridCellAttrProvider swig_types[46]
258 #define SWIGTYPE_p_wxKeyEvent swig_types[47]
259 #define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[48]
260 #define SWIGTYPE_p_wxGridCellEnumEditor swig_types[49]
261 #define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[50]
262 #define SWIGTYPE_p_int swig_types[51]
263 #define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[52]
264 static swig_type_info
*swig_types
[54];
266 /* -------- TYPES TABLE (END) -------- */
269 /*-----------------------------------------------
271 ------------------------------------------------*/
272 #define SWIG_init init_grid
274 #define SWIG_name "_grid"
276 /* Auxiliar swig macros that appear in the header */
278 #define SWIG_OLDOBJ 1
279 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
280 #define SWIG_PYSTR SWIG_NEWOBJ + 1
283 #define SWIGSTATICINLINE(a) static inline a
284 #define SWIGSTATIC(a) static a
285 #define swig_new_array(size,Type) (new Type[(size)])
286 #define swig_delete(cptr) delete cptr
287 #define swig_delete_array(cptr) delete[] cptr
288 #define swig_const_cast(a,Type) const_cast<Type >(a)
289 #define swig_static_cast(a,Type) static_cast<Type >(a)
290 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
291 #define swig_new_copy(ptr,Type) (new Type(*ptr))
292 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
296 #define SWIGSTATICINLINE(a) static a
297 #define SWIGSTATIC(a) static a
298 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
299 #define swig_delete(cptr) free((char*)cptr)
300 #define swig_delete_array(cptr) free((char*)cptr)
301 #define swig_const_cast(a,Type) (Type)(a)
302 #define swig_static_cast(a,Type) (Type)(a)
303 #define swig_reinterpret_cast(a,Type) (Type)(a)
304 #define swig_numeric_cast(a,Type) (Type)(a)
305 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
307 #endif /* __cplusplus */
310 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
311 #define SWIG_From_signed_SS_char PyInt_FromLong
313 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
314 #define SWIG_From_unsigned_SS_char PyInt_FromLong
316 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
317 #define SWIG_From_short PyInt_FromLong
319 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
320 #define SWIG_From_unsigned_SS_short PyInt_FromLong
322 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
323 #define SWIG_From_int PyInt_FromLong
325 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
326 #define SWIG_From_long PyInt_FromLong
328 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
329 #define SWIG_From_float PyFloat_FromDouble
331 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
332 #define SWIG_From_double PyFloat_FromDouble
336 #include "wx/wxPython/wxPython.h"
337 #include "wx/wxPython/pyclasses.h"
338 #include "wx/wxPython/printfw.h"
341 #include <wx/generic/gridctrl.h>
344 static const wxString
wxPyEmptyString(wxEmptyString
);
345 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
346 static const wxString
wxPyDateTimeFormatStr(wxT("%c"));
349 #define wxPyMake_TEMPLATE(TYPE) \
350 PyObject* wxPyMake_##TYPE(TYPE* source, bool setThisOwn) { \
351 PyObject* target = NULL; \
353 /* Check if there is already a pointer to a Python object in the \
354 OOR data that we can use. */ \
355 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
357 target = data->m_obj; \
361 /* Otherwise make a new wrapper for it the old fashioned way and \
362 give it the OOR treatment */ \
364 target = wxPyConstructObject(source, wxT(#TYPE), setThisOwn); \
366 source->SetClientObject(new wxPyOORClientData(target)); \
368 } else { /* source was NULL so return None. */ \
369 Py_INCREF(Py_None); target = Py_None; \
375 wxPyMake_TEMPLATE(wxGridCellRenderer)
376 wxPyMake_TEMPLATE(wxGridCellEditor
)
377 wxPyMake_TEMPLATE(wxGridCellAttr
)
378 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
379 wxPyMake_TEMPLATE(wxGridTableBase
)
383 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
384 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
385 wxGridCellAttr* rval = NULL; \
387 bool blocked = wxPyBeginBlockThreads(); \
388 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
390 wxGridCellAttr* ptr; \
391 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
393 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxGridCellAttr"))) \
398 wxPyEndBlockThreads(blocked); \
400 rval = PCLASS::CBNAME(a, b, c); \
403 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
404 return PCLASS::CBNAME(a, b, c); \
409 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
410 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
411 bool blocked = wxPyBeginBlockThreads(); \
413 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
414 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
415 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
418 wxPyEndBlockThreads(blocked); \
420 PCLASS::CBNAME(attr, a, b); \
422 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
423 PCLASS::CBNAME(attr, a, b); \
428 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
429 void CBNAME(wxGridCellAttr *attr, int val) { \
430 bool blocked = wxPyBeginBlockThreads(); \
432 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
433 PyObject* obj = wxPyMake_wxGridCellAttr(attr,false); \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
437 wxPyEndBlockThreads(blocked); \
439 PCLASS::CBNAME(attr, val); \
441 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
442 PCLASS::CBNAME(attr, val); \
447 #define PYCALLBACK_INT__pure(CBNAME) \
449 bool blocked = wxPyBeginBlockThreads(); \
451 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
452 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
453 wxPyEndBlockThreads(blocked); \
459 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
460 bool CBNAME(int a, int b) { \
461 bool blocked = wxPyBeginBlockThreads(); \
463 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
464 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
465 wxPyEndBlockThreads(blocked); \
470 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
471 wxString CBNAME(int a, int b) { \
472 bool blocked = wxPyBeginBlockThreads(); \
474 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
476 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
478 rval = Py2wxString(ro); \
482 wxPyEndBlockThreads(blocked); \
487 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
488 void CBNAME(int a, int b, const wxString& c) { \
489 bool blocked = wxPyBeginBlockThreads(); \
490 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
491 PyObject* s = wx2PyString(c); \
492 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
495 wxPyEndBlockThreads(blocked); \
499 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
500 wxString CBNAME(int a, int b) { \
502 bool blocked = wxPyBeginBlockThreads(); \
504 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
506 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
508 rval = Py2wxString(ro); \
512 wxPyEndBlockThreads(blocked); \
514 rval = PCLASS::CBNAME(a, b); \
517 wxString base_##CBNAME(int a, int b) { \
518 return PCLASS::CBNAME(a, b); \
522 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
523 bool CBNAME(int a, int b, const wxString& c) { \
526 bool blocked = wxPyBeginBlockThreads(); \
527 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
528 PyObject* s = wx2PyString(c); \
529 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
532 wxPyEndBlockThreads(blocked); \
534 rval = PCLASS::CBNAME(a,b,c); \
537 bool base_##CBNAME(int a, int b, const wxString& c) { \
538 return PCLASS::CBNAME(a,b,c); \
544 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
545 long CBNAME(int a, int b) { \
548 bool blocked = wxPyBeginBlockThreads(); \
549 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
550 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
551 wxPyEndBlockThreads(blocked); \
553 rval = PCLASS::CBNAME(a,b); \
556 long base_##CBNAME(int a, int b) { \
557 return PCLASS::CBNAME(a,b); \
562 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
563 bool CBNAME(int a, int b) { \
566 bool blocked = wxPyBeginBlockThreads(); \
567 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
568 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
569 wxPyEndBlockThreads(blocked); \
571 rval = PCLASS::CBNAME(a,b); \
574 bool base_##CBNAME(int a, int b) { \
575 return PCLASS::CBNAME(a,b); \
580 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
581 double CBNAME(int a, int b) { \
583 bool blocked = wxPyBeginBlockThreads(); \
585 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
587 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
589 PyObject* str = PyObject_Str(ro); \
590 rval = PyFloat_AsDouble(str); \
591 Py_DECREF(ro); Py_DECREF(str); \
594 wxPyEndBlockThreads(blocked); \
596 rval = PCLASS::CBNAME(a, b); \
599 double base_##CBNAME(int a, int b) { \
600 return PCLASS::CBNAME(a, b); \
605 #define PYCALLBACK__(PCLASS, CBNAME) \
608 bool blocked = wxPyBeginBlockThreads(); \
609 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
610 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
611 wxPyEndBlockThreads(blocked); \
615 void base_##CBNAME() { \
622 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
623 bool CBNAME(size_t a, size_t b) { \
626 bool blocked = wxPyBeginBlockThreads(); \
627 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
628 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
629 wxPyEndBlockThreads(blocked); \
631 rval = PCLASS::CBNAME(a,b); \
634 bool base_##CBNAME(size_t a, size_t b) { \
635 return PCLASS::CBNAME(a,b); \
640 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
641 bool CBNAME(size_t a) { \
644 bool blocked = wxPyBeginBlockThreads(); \
645 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
646 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
647 wxPyEndBlockThreads(blocked); \
649 rval = PCLASS::CBNAME(a); \
652 bool base_##CBNAME(size_t a) { \
653 return PCLASS::CBNAME(a); \
657 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
658 wxString CBNAME(int a) { \
660 bool blocked = wxPyBeginBlockThreads(); \
662 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
664 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
666 rval = Py2wxString(ro); \
670 wxPyEndBlockThreads(blocked); \
672 rval = PCLASS::CBNAME(a); \
675 wxString base_##CBNAME(int a) { \
676 return PCLASS::CBNAME(a); \
680 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
681 void CBNAME(int a, const wxString& c) { \
683 bool blocked = wxPyBeginBlockThreads(); \
684 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
685 PyObject* s = wx2PyString(c); \
686 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
689 wxPyEndBlockThreads(blocked); \
691 PCLASS::CBNAME(a,c); \
693 void base_##CBNAME(int a, const wxString& c) { \
694 PCLASS::CBNAME(a,c); \
700 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
704 bool blocked = wxPyBeginBlockThreads(); \
705 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
706 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
707 wxPyEndBlockThreads(blocked); \
709 rval = PCLASS::CBNAME(); \
712 bool base_##CBNAME() { \
713 return PCLASS::CBNAME(); \
718 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
719 void CBNAME(size_t a, int b) { \
721 bool blocked = wxPyBeginBlockThreads(); \
722 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
723 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
724 wxPyEndBlockThreads(blocked); \
726 PCLASS::CBNAME(a,b); \
728 void base_##CBNAME(size_t a, int b) { \
729 PCLASS::CBNAME(a,b); \
735 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
736 void CBNAME(int a, int b, long c) { \
738 bool blocked = wxPyBeginBlockThreads(); \
739 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
740 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
741 wxPyEndBlockThreads(blocked); \
743 PCLASS::CBNAME(a,b,c); \
745 void base_##CBNAME(int a, int b, long c) { \
746 PCLASS::CBNAME(a,b,c); \
752 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
753 void CBNAME(int a, int b, double c) { \
755 bool blocked = wxPyBeginBlockThreads(); \
756 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
757 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
758 wxPyEndBlockThreads(blocked); \
760 PCLASS::CBNAME(a,b,c); \
762 void base_##CBNAME(int a, int b, double c) { \
763 PCLASS::CBNAME(a,b,c); \
768 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
769 void CBNAME(int a, int b, bool c) { \
771 bool blocked = wxPyBeginBlockThreads(); \
772 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
773 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
774 wxPyEndBlockThreads(blocked); \
776 PCLASS::CBNAME(a,b,c); \
778 void base_##CBNAME(int a, int b, bool c) { \
779 PCLASS::CBNAME(a,b,c); \
787 SWIGSTATICINLINE(PyObject
*)
788 SWIG_FromCharPtr(const char* cptr
)
791 size_t size
= strlen(cptr
);
792 if (size
> INT_MAX
) {
793 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
794 SWIG_TypeQuery("char *"), 0);
797 return PyString_FromStringAndSize(cptr
, size
);
799 return PyString_FromString(cptr
);
808 #define wxGRID_DEFAULT_NUMBER_ROWS WXGRID_DEFAULT_NUMBER_ROWS
809 #define wxGRID_DEFAULT_NUMBER_COLS WXGRID_DEFAULT_NUMBER_COLS
810 #define wxGRID_DEFAULT_ROW_HEIGHT WXGRID_DEFAULT_ROW_HEIGHT
811 #define wxGRID_DEFAULT_COL_WIDTH WXGRID_DEFAULT_COL_WIDTH
812 #define wxGRID_DEFAULT_COL_LABEL_HEIGHT WXGRID_DEFAULT_COL_LABEL_HEIGHT
813 #define wxGRID_DEFAULT_ROW_LABEL_WIDTH WXGRID_DEFAULT_ROW_LABEL_WIDTH
814 #define wxGRID_LABEL_EDGE_ZONE WXGRID_LABEL_EDGE_ZONE
815 #define wxGRID_MIN_ROW_HEIGHT WXGRID_MIN_ROW_HEIGHT
816 #define wxGRID_MIN_COL_WIDTH WXGRID_MIN_COL_WIDTH
817 #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH
819 void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
*_self
){
820 if (!self
->GetClientObject())
821 self
->SetClientObject(new wxPyOORClientData(_self
));
827 SWIGSTATICINLINE(int)
828 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
831 if (value
< min_value
) {
833 PyErr_Format(PyExc_OverflowError
,
834 "value %ld is less than '%s' minimum %ld",
835 value
, errmsg
, min_value
);
838 } else if (value
> max_value
) {
840 PyErr_Format(PyExc_OverflowError
,
841 "value %ld is greater than '%s' maximum %ld",
842 value
, errmsg
, max_value
);
850 // See my_fragments.i
851 SWIGSTATICINLINE(int)
852 SWIG_AsVal_long(PyObject
* obj
, long* val
)
854 if (PyNumber_Check(obj
)) {
855 if (val
) *val
= PyInt_AsLong(obj
);
859 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
860 obj
->ob_type
->tp_name
);
861 PyErr_SetObject(PyExc_TypeError
, errmsg
);
868 #if INT_MAX != LONG_MAX
869 SWIGSTATICINLINE(int)
870 SWIG_AsVal_int(PyObject
*obj
, int *val
)
872 const char* errmsg
= val
? "int" : 0;
874 if (SWIG_AsVal_long(obj
, &v
)) {
875 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
876 if (val
) *val
= swig_numeric_cast(v
, int);
885 PyErr_SetString(PyExc_TypeError
, "an int is expected");
890 SWIGSTATICINLINE(int)
891 SWIG_AsVal_int(PyObject
*obj
, int *val
)
893 return SWIG_AsVal_long(obj
,(long*)val
);
898 SWIGSTATICINLINE(int)
899 SWIG_As_int(PyObject
* obj
)
902 if (!SWIG_AsVal_int(obj
, &v
)) {
904 this is needed to make valgrind/purify happier. the other
905 solution is throw an exception, but since this code should work
908 memset((void*)&v
, 0, sizeof(int));
914 SWIGSTATICINLINE(int)
915 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
917 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
918 if (obj
== Py_True
) {
919 if (val
) *val
= true;
922 if (obj
== Py_False
) {
923 if (val
) *val
= false;
927 if (SWIG_AsVal_int(obj
, &res
)) {
928 if (val
) *val
= (bool)res
;
932 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
938 SWIGSTATICINLINE(bool)
939 SWIG_As_bool(PyObject
* obj
)
942 if (!SWIG_AsVal_bool(obj
, &v
)) {
944 this is needed to make valgrind/purify happier. the other
945 solution is throw an exception, but since this code should work
948 memset((void*)&v
, 0, sizeof(bool));
954 SWIGSTATICINLINE(int)
955 SWIG_Check_int(PyObject
* obj
)
957 return SWIG_AsVal_int(obj
, (int*)0);
961 SWIGSTATICINLINE(int)
962 SWIG_Check_bool(PyObject
* obj
)
964 return SWIG_AsVal_bool(obj
, (bool*)0);
968 class wxPyGridCellRenderer
: public wxGridCellRenderer
971 wxPyGridCellRenderer() : wxGridCellRenderer() {};
973 // Implement Python callback aware virtual methods
974 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
975 wxDC
& dc
, const wxRect
& rect
,
976 int row
, int col
, bool isSelected
) {
977 bool blocked
= wxPyBeginBlockThreads();
978 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
979 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
980 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
981 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
982 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
984 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
985 row
, col
, isSelected
));
991 wxPyEndBlockThreads(blocked
);
994 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
997 bool blocked
= wxPyBeginBlockThreads();
998 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
1001 PyObject
* go
= wxPyMake_wxObject(&grid
,false);
1002 PyObject
* dco
= wxPyMake_wxObject(&dc
,false);
1003 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
,false);
1005 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
1013 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
1014 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxSize"))) {
1017 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
1018 PyObject
* o1
= PySequence_GetItem(ro
, 0);
1019 PyObject
* o2
= PySequence_GetItem(ro
, 1);
1020 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
1021 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1023 PyErr_SetString(PyExc_TypeError
, errmsg
);
1028 PyErr_SetString(PyExc_TypeError
, errmsg
);
1033 wxPyEndBlockThreads(blocked
);
1038 wxGridCellRenderer
*Clone() const {
1039 wxGridCellRenderer
* rval
= NULL
;
1040 bool blocked
= wxPyBeginBlockThreads();
1041 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
1043 wxGridCellRenderer
* ptr
;
1044 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1046 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellRenderer")))
1051 wxPyEndBlockThreads(blocked
);
1055 DEC_PYCALLBACK__STRING(SetParameters
);
1060 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
1063 void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
*_self
){
1064 if (!self
->GetClientObject())
1065 self
->SetClientObject(new wxPyOORClientData(_self
));
1068 class wxPyGridCellEditor
: public wxGridCellEditor
1071 wxPyGridCellEditor() : wxGridCellEditor() {}
1073 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
1074 bool blocked
= wxPyBeginBlockThreads();
1075 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
1076 PyObject
* po
= wxPyMake_wxObject(parent
,false);
1077 PyObject
* eo
= wxPyMake_wxObject(evtHandler
,false);
1079 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
1083 wxPyEndBlockThreads(blocked
);
1087 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
1088 bool blocked
= wxPyBeginBlockThreads();
1089 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
1090 PyObject
* go
= wxPyMake_wxObject(grid
,false);
1091 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1094 wxPyEndBlockThreads(blocked
);
1098 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
1100 bool blocked
= wxPyBeginBlockThreads();
1101 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
1102 PyObject
* go
= wxPyMake_wxObject(grid
,false);
1103 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
1106 wxPyEndBlockThreads(blocked
);
1111 wxGridCellEditor
* Clone() const {
1112 wxGridCellEditor
* rval
= NULL
;
1113 bool blocked
= wxPyBeginBlockThreads();
1114 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
1116 wxGridCellEditor
* ptr
;
1117 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1119 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxGridCellEditor")))
1124 wxPyEndBlockThreads(blocked
);
1129 void Show(bool show
, wxGridCellAttr
*attr
) {
1131 bool blocked
= wxPyBeginBlockThreads();
1132 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
1133 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
1134 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
1137 wxPyEndBlockThreads(blocked
);
1139 wxGridCellEditor::Show(show
, attr
);
1141 void base_Show(bool show
, wxGridCellAttr
*attr
) {
1142 wxGridCellEditor::Show(show
, attr
);
1146 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1148 bool blocked
= wxPyBeginBlockThreads();
1149 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
1150 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
,false);
1151 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
1153 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
1158 wxPyEndBlockThreads(blocked
);
1160 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1162 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
1163 wxGridCellEditor::PaintBackground(rectCell
, attr
);
1167 DEC_PYCALLBACK___pure(Reset
);
1168 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
1169 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
1170 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
1171 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
1172 DEC_PYCALLBACK__(StartingClick
);
1173 DEC_PYCALLBACK__(Destroy
);
1174 DEC_PYCALLBACK__STRING(SetParameters
);
1175 DEC_PYCALLBACK_STRING__constpure(GetValue
);
1181 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
1182 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
1183 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
1184 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
1185 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
1186 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
1187 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
1188 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
1189 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
1192 void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
*_self
){
1193 if (!self
->GetClientObject())
1194 self
->SetClientObject(new wxPyOORClientData(_self
));
1197 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1203 } else if (target
== Py_None
) {
1208 target
= PyTuple_New(1);
1209 PyTuple_SetItem(target
, 0, o2
);
1211 o3
= PyTuple_New(1);
1212 PyTuple_SetItem(o3
, 0, o
);
1215 target
= PySequence_Concat(o2
, o3
);
1223 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1224 if (!self
->GetClientObject())
1225 self
->SetClientObject(new wxPyOORClientData(_self
));
1228 // See my_fragments.i
1229 SWIGSTATICINLINE(int)
1230 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1233 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1234 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1238 *val
= (unsigned long)v
;
1243 SWIGSTATICINLINE(unsigned long)
1244 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1247 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1249 this is needed to make valgrind/purify happier. the other
1250 solution is throw an exception, but since this code should work
1253 memset((void*)&v
, 0, sizeof(unsigned long));
1259 SWIGSTATICINLINE(int)
1260 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1262 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1266 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1269 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1271 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1272 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1273 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1274 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1279 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1280 if (!self
->GetClientObject())
1281 self
->SetClientObject(new wxPyOORClientData(_self
));
1284 SWIGSTATICINLINE(long)
1285 SWIG_As_long(PyObject
* obj
)
1288 if (!SWIG_AsVal_long(obj
, &v
)) {
1290 this is needed to make valgrind/purify happier. the other
1291 solution is throw an exception, but since this code should work
1294 memset((void*)&v
, 0, sizeof(long));
1300 SWIGSTATICINLINE(int)
1301 SWIG_Check_long(PyObject
* obj
)
1303 return SWIG_AsVal_long(obj
, (long*)0);
1307 // See my_fragments.i
1308 SWIGSTATICINLINE(int)
1309 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1311 if (PyNumber_Check(obj
)) {
1312 if (val
) *val
= PyFloat_AsDouble(obj
);
1316 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1317 obj
->ob_type
->tp_name
);
1318 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1325 SWIGSTATICINLINE(double)
1326 SWIG_As_double(PyObject
* obj
)
1329 if (!SWIG_AsVal_double(obj
, &v
)) {
1331 this is needed to make valgrind/purify happier. the other
1332 solution is throw an exception, but since this code should work
1335 memset((void*)&v
, 0, sizeof(double));
1341 SWIGSTATICINLINE(int)
1342 SWIG_Check_double(PyObject
* obj
)
1344 return SWIG_AsVal_double(obj
, (double*)0);
1348 class wxPyGridTableBase
: public wxGridTableBase
1351 wxPyGridTableBase() : wxGridTableBase() {}
1353 PYCALLBACK_INT__pure(GetNumberRows
);
1354 PYCALLBACK_INT__pure(GetNumberCols
);
1355 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1356 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1357 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1358 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1359 PYCALLBACK__(wxGridTableBase
, Clear
);
1360 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1361 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1362 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1363 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1364 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1365 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1366 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1367 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1368 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1369 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1370 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1371 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1372 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1373 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1374 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1377 wxString
GetValue(int row
, int col
) {
1378 bool blocked
= wxPyBeginBlockThreads();
1380 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1382 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1384 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
1386 ro
= PyObject_Str(ro
);
1389 rval
= Py2wxString(ro
);
1393 wxPyEndBlockThreads(blocked
);
1397 void SetValue(int row
, int col
, const wxString
& val
) {
1398 bool blocked
= wxPyBeginBlockThreads();
1399 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1400 PyObject
* s
= wx2PyString(val
);
1401 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1404 wxPyEndBlockThreads(blocked
);
1408 // Map the Get/Set methods for the standard non-string types to
1409 // the GetValue and SetValue python methods.
1410 long GetValueAsLong( int row
, int col
) {
1412 bool blocked
= wxPyBeginBlockThreads();
1413 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1416 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1417 if (ro
&& PyNumber_Check(ro
)) {
1418 num
= PyNumber_Int(ro
);
1420 rval
= PyInt_AsLong(num
);
1426 wxPyEndBlockThreads(blocked
);
1430 double GetValueAsDouble( int row
, int col
) {
1432 bool blocked
= wxPyBeginBlockThreads();
1433 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1436 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1437 if (ro
&& PyNumber_Check(ro
)) {
1438 num
= PyNumber_Float(ro
);
1440 rval
= PyFloat_AsDouble(num
);
1446 wxPyEndBlockThreads(blocked
);
1450 bool GetValueAsBool( int row
, int col
) {
1451 return (bool)GetValueAsLong(row
, col
);
1454 void SetValueAsLong( int row
, int col
, long value
) {
1455 bool blocked
= wxPyBeginBlockThreads();
1456 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1457 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1459 wxPyEndBlockThreads(blocked
);
1462 void SetValueAsDouble( int row
, int col
, double value
) {
1463 bool blocked
= wxPyBeginBlockThreads();
1464 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1465 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1467 wxPyEndBlockThreads(blocked
);
1470 void SetValueAsBool( int row
, int col
, bool value
) {
1471 SetValueAsLong( row
, col
, (long)value
);
1478 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1480 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1482 if (source
== Py_None
) {
1483 **obj
= wxGridCellCoords(-1,-1);
1487 // If source is an object instance then it may already be the right type
1488 if (wxPySwigInstance_Check(source
)) {
1489 wxGridCellCoords
* ptr
;
1490 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1495 // otherwise a 2-tuple of integers is expected
1496 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1497 PyObject
* o1
= PySequence_GetItem(source
, 0);
1498 PyObject
* o2
= PySequence_GetItem(source
, 1);
1499 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1504 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1511 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1516 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1519 if (wxPySwigInstance_Check(source
) &&
1520 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1524 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1531 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1533 PyObject
* list
= PyList_New(0);
1535 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1536 wxGridCellCoords
& coord
= source
.Item(idx
);
1537 PyObject
* tup
= PyTuple_New(2);
1538 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1539 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1540 PyList_Append(list
, tup
);
1546 PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
1547 PyObject
* tup
= PyTuple_New(2);
1548 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1549 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1553 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1556 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1557 wxGridCellCoords rv
;
1558 self
->XYToCell(x
, y
, rv
);
1564 static int _wrap_DateTimeFormatStr_set(PyObject
*) {
1565 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1570 static PyObject
*_wrap_DateTimeFormatStr_get() {
1575 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1577 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1584 static int _wrap_GridNoCellCoords_set(PyObject
*) {
1585 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1590 static PyObject
*_wrap_GridNoCellCoords_get() {
1593 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
1598 static int _wrap_GridNoCellRect_set(PyObject
*) {
1599 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1604 static PyObject
*_wrap_GridNoCellRect_get() {
1607 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
1612 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1615 PyObject
*arg2
= (PyObject
*) 0 ;
1616 PyObject
* obj0
= 0 ;
1617 PyObject
* obj1
= 0 ;
1619 (char *) "self",(char *) "_self", NULL
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 Py_INCREF(Py_None
); resultobj
= Py_None
;
1640 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1643 wxString
*arg2
= 0 ;
1644 bool temp2
= False
;
1645 PyObject
* obj0
= 0 ;
1646 PyObject
* obj1
= 0 ;
1648 (char *) "self",(char *) "params", NULL
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1655 arg2
= wxString_in_helper(obj1
);
1656 if (arg2
== NULL
) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 (arg1
)->SetParameters((wxString
const &)*arg2
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 Py_INCREF(Py_None
); resultobj
= Py_None
;
1681 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1683 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1684 PyObject
* obj0
= 0 ;
1686 (char *) "self", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1699 Py_INCREF(Py_None
); resultobj
= Py_None
;
1706 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
*resultobj
;
1708 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1709 PyObject
* obj0
= 0 ;
1711 (char *) "self", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1724 Py_INCREF(Py_None
); resultobj
= Py_None
;
1731 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
*resultobj
;
1733 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1735 wxGridCellAttr
*arg3
= 0 ;
1742 PyObject
* obj0
= 0 ;
1743 PyObject
* obj1
= 0 ;
1744 PyObject
* obj2
= 0 ;
1745 PyObject
* obj3
= 0 ;
1746 PyObject
* obj4
= 0 ;
1747 PyObject
* obj5
= 0 ;
1748 PyObject
* obj6
= 0 ;
1749 PyObject
* obj7
= 0 ;
1751 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1761 PyErr_SetString(PyExc_TypeError
,"null reference");
1764 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1768 PyErr_SetString(PyExc_TypeError
,"null reference");
1771 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1775 PyErr_SetString(PyExc_TypeError
,"null reference");
1780 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1782 arg6
= (int)SWIG_As_int(obj5
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1784 arg7
= (int)SWIG_As_int(obj6
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1786 arg8
= (bool)SWIG_As_bool(obj7
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) SWIG_fail
;
1795 Py_INCREF(Py_None
); resultobj
= Py_None
;
1802 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
*resultobj
;
1804 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1806 wxGridCellAttr
*arg3
= 0 ;
1811 PyObject
* obj0
= 0 ;
1812 PyObject
* obj1
= 0 ;
1813 PyObject
* obj2
= 0 ;
1814 PyObject
* obj3
= 0 ;
1815 PyObject
* obj4
= 0 ;
1816 PyObject
* obj5
= 0 ;
1818 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1828 PyErr_SetString(PyExc_TypeError
,"null reference");
1831 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1835 PyErr_SetString(PyExc_TypeError
,"null reference");
1838 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1842 PyErr_SetString(PyExc_TypeError
,"null reference");
1845 arg5
= (int)SWIG_As_int(obj4
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1847 arg6
= (int)SWIG_As_int(obj5
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1858 resultptr
= new wxSize((wxSize
&) result
);
1859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1867 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1870 wxGridCellRenderer
*result
;
1871 PyObject
* obj0
= 0 ;
1873 (char *) "self", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1887 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
1895 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
1897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1898 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1900 return Py_BuildValue((char *)"");
1902 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxPyGridCellRenderer
*result
;
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1924 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1927 PyObject
*arg2
= (PyObject
*) 0 ;
1928 PyObject
*arg3
= (PyObject
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1930 PyObject
* obj1
= 0 ;
1931 PyObject
* obj2
= 0 ;
1933 (char *) "self",(char *) "self",(char *) "_class", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1948 Py_INCREF(Py_None
); resultobj
= Py_None
;
1955 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1958 wxString
*arg2
= 0 ;
1959 bool temp2
= False
;
1960 PyObject
* obj0
= 0 ;
1961 PyObject
* obj1
= 0 ;
1963 (char *) "self",(char *) "params", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1970 arg2
= wxString_in_helper(obj1
);
1971 if (arg2
== NULL
) SWIG_fail
;
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1981 Py_INCREF(Py_None
); resultobj
= Py_None
;
1996 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
1998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1999 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
2001 return Py_BuildValue((char *)"");
2003 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxGridCellStringRenderer
*result
;
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
2025 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
2027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2028 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
2030 return Py_BuildValue((char *)"");
2032 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxGridCellNumberRenderer
*result
;
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
2054 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
2056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2057 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
2059 return Py_BuildValue((char *)"");
2061 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
*resultobj
;
2063 int arg1
= (int) -1 ;
2064 int arg2
= (int) -1 ;
2065 wxGridCellFloatRenderer
*result
;
2066 PyObject
* obj0
= 0 ;
2067 PyObject
* obj1
= 0 ;
2069 (char *) "width",(char *) "precision", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2074 arg1
= (int)SWIG_As_int(obj0
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2078 arg2
= (int)SWIG_As_int(obj1
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
2095 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2099 PyObject
* obj0
= 0 ;
2101 (char *) "self", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2114 resultobj
= SWIG_From_int((int)result
);
2121 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2125 PyObject
* obj0
= 0 ;
2126 PyObject
* obj1
= 0 ;
2128 (char *) "self",(char *) "width", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2134 arg2
= (int)SWIG_As_int(obj1
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 (arg1
)->SetWidth(arg2
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2143 Py_INCREF(Py_None
); resultobj
= Py_None
;
2150 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "self", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 resultobj
= SWIG_From_int((int)result
);
2176 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2181 PyObject
* obj1
= 0 ;
2183 (char *) "self",(char *) "precision", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
2187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 arg2
= (int)SWIG_As_int(obj1
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 (arg1
)->SetPrecision(arg2
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
2207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2208 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
2210 return Py_BuildValue((char *)"");
2212 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxGridCellBoolRenderer
*result
;
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
2234 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
2236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2237 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
2239 return Py_BuildValue((char *)"");
2241 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2243 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
2244 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
2245 wxGridCellDateTimeRenderer
*result
;
2246 PyObject
* obj0
= 0 ;
2247 PyObject
* obj1
= 0 ;
2249 (char *) "outformat",(char *) "informat", NULL
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2255 wxString
* sptr
= wxString_in_helper(obj0
);
2256 if (sptr
== NULL
) SWIG_fail
;
2263 wxString
* sptr
= wxString_in_helper(obj1
);
2264 if (sptr
== NULL
) SWIG_fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2283 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
2285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2286 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2288 return Py_BuildValue((char *)"");
2290 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2293 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2294 wxGridCellEnumRenderer
*result
;
2295 bool temp1
= False
;
2296 PyObject
* obj0
= 0 ;
2298 (char *) "choices", NULL
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2304 arg1
= wxString_in_helper(obj0
);
2305 if (arg1
== NULL
) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2331 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
2333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2334 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2336 return Py_BuildValue((char *)"");
2338 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxGridCellAutoWrapStringRenderer
*result
;
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2360 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
2362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2363 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2365 return Py_BuildValue((char *)"");
2367 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2370 PyObject
*arg2
= (PyObject
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2372 PyObject
* obj1
= 0 ;
2374 (char *) "self",(char *) "_self", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 Py_INCREF(Py_None
); resultobj
= Py_None
;
2395 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2401 (char *) "self", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= (bool)(arg1
)->IsCreated();
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2423 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2429 (char *) "self", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= (wxControl
*)(arg1
)->GetControl();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2443 resultobj
= wxPyMake_wxObject(result
, 0);
2451 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
*resultobj
;
2453 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2454 wxControl
*arg2
= (wxControl
*) 0 ;
2455 PyObject
* obj0
= 0 ;
2456 PyObject
* obj1
= 0 ;
2458 (char *) "self",(char *) "control", NULL
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
2465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 (arg1
)->SetControl(arg2
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 Py_INCREF(Py_None
); resultobj
= Py_None
;
2480 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
*resultobj
;
2482 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2483 wxGridCellAttr
*result
;
2484 PyObject
* obj0
= 0 ;
2486 (char *) "self", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2500 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
2508 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2510 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2511 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2512 PyObject
* obj0
= 0 ;
2513 PyObject
* obj1
= 0 ;
2515 (char *) "self",(char *) "attr", NULL
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
2522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 (arg1
)->SetCellAttr(arg2
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2530 Py_INCREF(Py_None
); resultobj
= Py_None
;
2537 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
*resultobj
;
2539 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2540 wxString
*arg2
= 0 ;
2541 bool temp2
= False
;
2542 PyObject
* obj0
= 0 ;
2543 PyObject
* obj1
= 0 ;
2545 (char *) "self",(char *) "params", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2552 arg2
= wxString_in_helper(obj1
);
2553 if (arg2
== NULL
) SWIG_fail
;
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 (arg1
)->SetParameters((wxString
const &)*arg2
);
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2563 Py_INCREF(Py_None
); resultobj
= Py_None
;
2578 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2581 PyObject
* obj0
= 0 ;
2583 (char *) "self", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 Py_INCREF(Py_None
); resultobj
= Py_None
;
2603 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2606 PyObject
* obj0
= 0 ;
2608 (char *) "self", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2621 Py_INCREF(Py_None
); resultobj
= Py_None
;
2628 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
*resultobj
;
2630 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2631 wxWindow
*arg2
= (wxWindow
*) 0 ;
2633 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2634 PyObject
* obj0
= 0 ;
2635 PyObject
* obj1
= 0 ;
2636 PyObject
* obj2
= 0 ;
2637 PyObject
* obj3
= 0 ;
2639 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2647 arg3
= (int)SWIG_As_int(obj2
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2649 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
,
2650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 (arg1
)->Create(arg2
,arg3
,arg4
);
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2658 Py_INCREF(Py_None
); resultobj
= Py_None
;
2665 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2670 wxGrid
*arg4
= (wxGrid
*) 0 ;
2671 PyObject
* obj0
= 0 ;
2672 PyObject
* obj1
= 0 ;
2673 PyObject
* obj2
= 0 ;
2674 PyObject
* obj3
= 0 ;
2676 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2682 arg2
= (int)SWIG_As_int(obj1
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2684 arg3
= (int)SWIG_As_int(obj2
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2686 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2702 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2707 wxGrid
*arg4
= (wxGrid
*) 0 ;
2709 PyObject
* obj0
= 0 ;
2710 PyObject
* obj1
= 0 ;
2711 PyObject
* obj2
= 0 ;
2712 PyObject
* obj3
= 0 ;
2714 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2720 arg2
= (int)SWIG_As_int(obj1
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2722 arg3
= (int)SWIG_As_int(obj2
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2724 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2742 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2745 PyObject
* obj0
= 0 ;
2747 (char *) "self", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2770 wxGridCellEditor
*result
;
2771 PyObject
* obj0
= 0 ;
2773 (char *) "self", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2787 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
2795 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2803 (char *) "self",(char *) "rect", NULL
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2811 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 (arg1
)->SetSize((wxRect
const &)*arg2
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2820 Py_INCREF(Py_None
); resultobj
= Py_None
;
2827 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2829 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2831 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2832 PyObject
* obj0
= 0 ;
2833 PyObject
* obj1
= 0 ;
2834 PyObject
* obj2
= 0 ;
2836 (char *) "self",(char *) "show",(char *) "attr", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2842 arg2
= (bool)SWIG_As_bool(obj1
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 (arg1
)->Show(arg2
,arg3
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 Py_INCREF(Py_None
); resultobj
= Py_None
;
2862 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2866 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2868 PyObject
* obj0
= 0 ;
2869 PyObject
* obj1
= 0 ;
2870 PyObject
* obj2
= 0 ;
2872 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2882 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2901 wxKeyEvent
*arg2
= 0 ;
2903 PyObject
* obj0
= 0 ;
2904 PyObject
* obj1
= 0 ;
2906 (char *) "self",(char *) "event", NULL
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2916 PyErr_SetString(PyExc_TypeError
,"null reference");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2935 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2938 wxKeyEvent
*arg2
= 0 ;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2942 (char *) "self",(char *) "event", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2952 PyErr_SetString(PyExc_TypeError
,"null reference");
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 (arg1
)->StartingKey(*arg2
);
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) SWIG_fail
;
2962 Py_INCREF(Py_None
); resultobj
= Py_None
;
2969 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
*resultobj
;
2971 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 (arg1
)->StartingClick();
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 Py_INCREF(Py_None
); resultobj
= Py_None
;
2994 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2997 wxKeyEvent
*arg2
= 0 ;
2998 PyObject
* obj0
= 0 ;
2999 PyObject
* obj1
= 0 ;
3001 (char *) "self",(char *) "event", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
3006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3011 PyErr_SetString(PyExc_TypeError
,"null reference");
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 (arg1
)->HandleReturn(*arg2
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 Py_INCREF(Py_None
); resultobj
= Py_None
;
3028 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "self", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
3038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3046 Py_INCREF(Py_None
); resultobj
= Py_None
;
3053 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
3055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3056 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
3058 return Py_BuildValue((char *)"");
3060 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxPyGridCellEditor
*result
;
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
3082 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3085 PyObject
*arg2
= (PyObject
*) 0 ;
3086 PyObject
*arg3
= (PyObject
*) 0 ;
3087 PyObject
* obj0
= 0 ;
3088 PyObject
* obj1
= 0 ;
3089 PyObject
* obj2
= 0 ;
3091 (char *) "self",(char *) "self",(char *) "_class", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3106 Py_INCREF(Py_None
); resultobj
= Py_None
;
3113 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
*resultobj
;
3115 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "rect", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3129 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3138 Py_INCREF(Py_None
); resultobj
= Py_None
;
3145 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3149 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3150 PyObject
* obj0
= 0 ;
3151 PyObject
* obj1
= 0 ;
3152 PyObject
* obj2
= 0 ;
3154 (char *) "self",(char *) "show",(char *) "attr", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3160 arg2
= (bool)SWIG_As_bool(obj1
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3163 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 (arg1
)->base_Show(arg2
,arg3
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3173 Py_INCREF(Py_None
); resultobj
= Py_None
;
3180 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3184 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3186 PyObject
* obj0
= 0 ;
3187 PyObject
* obj1
= 0 ;
3188 PyObject
* obj2
= 0 ;
3190 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3198 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3200 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 Py_INCREF(Py_None
); resultobj
= Py_None
;
3216 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3219 wxKeyEvent
*arg2
= 0 ;
3221 PyObject
* obj0
= 0 ;
3222 PyObject
* obj1
= 0 ;
3224 (char *) "self",(char *) "event", NULL
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3234 PyErr_SetString(PyExc_TypeError
,"null reference");
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3253 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
*resultobj
;
3255 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3256 wxKeyEvent
*arg2
= 0 ;
3257 PyObject
* obj0
= 0 ;
3258 PyObject
* obj1
= 0 ;
3260 (char *) "self",(char *) "event", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3270 PyErr_SetString(PyExc_TypeError
,"null reference");
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 (arg1
)->base_StartingKey(*arg2
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 Py_INCREF(Py_None
); resultobj
= Py_None
;
3287 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 (arg1
)->base_StartingClick();
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3315 wxKeyEvent
*arg2
= 0 ;
3316 PyObject
* obj0
= 0 ;
3317 PyObject
* obj1
= 0 ;
3319 (char *) "self",(char *) "event", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3329 PyErr_SetString(PyExc_TypeError
,"null reference");
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 (arg1
)->base_HandleReturn(*arg2
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3348 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 (arg1
)->base_Destroy();
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3374 wxString
*arg2
= 0 ;
3375 bool temp2
= False
;
3376 PyObject
* obj0
= 0 ;
3377 PyObject
* obj1
= 0 ;
3379 (char *) "self",(char *) "params", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 arg2
= wxString_in_helper(obj1
);
3387 if (arg2
== NULL
) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 Py_INCREF(Py_None
); resultobj
= Py_None
;
3412 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
3414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3415 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3417 return Py_BuildValue((char *)"");
3419 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxGridCellTextEditor
*result
;
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
3441 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
*resultobj
;
3443 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3445 PyObject
* obj0
= 0 ;
3447 (char *) "self", NULL
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
,
3452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 result
= (arg1
)->GetValue();
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3473 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
3475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3476 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3478 return Py_BuildValue((char *)"");
3480 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 int arg1
= (int) -1 ;
3483 int arg2
= (int) -1 ;
3484 wxGridCellNumberEditor
*result
;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 (char *) "min",(char *) "max", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3493 arg1
= (int)SWIG_As_int(obj0
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3497 arg2
= (int)SWIG_As_int(obj1
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3514 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
,
3525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (arg1
)->GetValue();
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3546 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
3548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3549 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3551 return Py_BuildValue((char *)"");
3553 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
;
3555 int arg1
= (int) -1 ;
3556 int arg2
= (int) -1 ;
3557 wxGridCellFloatEditor
*result
;
3558 PyObject
* obj0
= 0 ;
3559 PyObject
* obj1
= 0 ;
3561 (char *) "width",(char *) "precision", NULL
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3566 arg1
= (int)SWIG_As_int(obj0
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 arg2
= (int)SWIG_As_int(obj1
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3587 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (arg1
)->GetValue();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3619 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
3621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3622 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3624 return Py_BuildValue((char *)"");
3626 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxGridCellBoolEditor
*result
;
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3648 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3654 (char *) "self", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= (arg1
)->GetValue();
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3680 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
3682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3683 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3685 return Py_BuildValue((char *)"");
3687 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 int arg1
= (int) 0 ;
3690 wxString
*arg2
= (wxString
*) NULL
;
3691 bool arg3
= (bool) False
;
3692 wxGridCellChoiceEditor
*result
;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3696 (char *) "choices",(char *) "allowOthers", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3702 arg1
= PyList_Size(obj0
);
3703 arg2
= wxString_LIST_helper(obj0
);
3704 if (arg2
== NULL
) SWIG_fail
;
3708 arg3
= (bool)SWIG_As_bool(obj1
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3720 if (arg2
) delete [] arg2
;
3725 if (arg2
) delete [] arg2
;
3731 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3735 PyObject
* obj0
= 0 ;
3737 (char *) "self", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
,
3742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= (arg1
)->GetValue();
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3763 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
3765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3766 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3768 return Py_BuildValue((char *)"");
3770 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3773 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3774 wxGridCellEnumEditor
*result
;
3775 bool temp1
= False
;
3776 PyObject
* obj0
= 0 ;
3778 (char *) "choices", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3784 arg1
= wxString_in_helper(obj0
);
3785 if (arg1
== NULL
) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3811 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3817 (char *) "self", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (arg1
)->GetValue();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3843 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
3845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3846 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3848 return Py_BuildValue((char *)"");
3850 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxGridCellAutoWrapStringEditor
*result
;
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3872 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3878 (char *) "self", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,
3883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (arg1
)->GetValue();
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3904 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
3906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3907 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3909 return Py_BuildValue((char *)"");
3911 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
*resultobj
;
3913 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3914 PyObject
*arg2
= (PyObject
*) 0 ;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3918 (char *) "self",(char *) "_self", NULL
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 Py_INCREF(Py_None
); resultobj
= Py_None
;
3939 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3942 wxGridCellAttr
*result
;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "attrDefault", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= wxPyMake_wxGridCellAttr(result
, 1);
3969 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3972 wxGridCellAttr
*result
;
3973 PyObject
* obj0
= 0 ;
3975 (char *) "self", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
3997 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4000 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4004 (char *) "self",(char *) "mergefrom", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 (arg1
)->MergeWith(arg2
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4031 (char *) "self", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4051 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "self", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4079 wxColour
*arg2
= 0 ;
4081 PyObject
* obj0
= 0 ;
4082 PyObject
* obj1
= 0 ;
4084 (char *) "self",(char *) "colText", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 Py_INCREF(Py_None
); resultobj
= Py_None
;
4108 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4111 wxColour
*arg2
= 0 ;
4113 PyObject
* obj0
= 0 ;
4114 PyObject
* obj1
= 0 ;
4116 (char *) "self",(char *) "colBack", NULL
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 Py_INCREF(Py_None
); resultobj
= Py_None
;
4140 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4147 (char *) "self",(char *) "font", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
4151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
4154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4157 PyErr_SetString(PyExc_TypeError
,"null reference");
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 (arg1
)->SetFont((wxFont
const &)*arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 PyObject
* obj2
= 0 ;
4183 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 arg2
= (int)SWIG_As_int(obj1
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4191 arg3
= (int)SWIG_As_int(obj2
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 (arg1
)->SetAlignment(arg2
,arg3
);
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 Py_INCREF(Py_None
); resultobj
= Py_None
;
4207 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
;
4209 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4214 PyObject
* obj2
= 0 ;
4216 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 arg2
= (int)SWIG_As_int(obj1
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4224 arg3
= (int)SWIG_As_int(obj2
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 (arg1
)->SetSize(arg2
,arg3
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 Py_INCREF(Py_None
); resultobj
= Py_None
;
4240 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4243 bool arg2
= (bool) True
;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "allow", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4254 arg2
= (bool)SWIG_As_bool(obj1
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 (arg1
)->SetOverflow(arg2
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 Py_INCREF(Py_None
); resultobj
= Py_None
;
4271 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4273 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4274 bool arg2
= (bool) True
;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4278 (char *) "self",(char *) "isReadOnly", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4285 arg2
= (bool)SWIG_As_bool(obj1
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 (arg1
)->SetReadOnly(arg2
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 Py_INCREF(Py_None
); resultobj
= Py_None
;
4302 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4305 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
4306 PyObject
* obj0
= 0 ;
4307 PyObject
* obj1
= 0 ;
4309 (char *) "self",(char *) "renderer", NULL
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
4313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
4316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 (arg1
)->SetRenderer(arg2
);
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 Py_INCREF(Py_None
); resultobj
= Py_None
;
4331 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4334 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
4335 PyObject
* obj0
= 0 ;
4336 PyObject
* obj1
= 0 ;
4338 (char *) "self",(char *) "editor", NULL
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
4345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 (arg1
)->SetEditor(arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 Py_INCREF(Py_None
); resultobj
= Py_None
;
4360 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "self",(char *) "kind", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4373 arg2
= (int)SWIG_As_int(obj1
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 Py_INCREF(Py_None
); resultobj
= Py_None
;
4389 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
;
4391 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4395 (char *) "self", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4417 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4423 (char *) "self", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4445 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
;
4447 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4451 (char *) "self", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4473 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4479 (char *) "self", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4501 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4507 (char *) "self", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4529 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4535 (char *) "self", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4557 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4563 (char *) "self", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4585 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
;
4587 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4589 PyObject
* obj0
= 0 ;
4591 (char *) "self", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4613 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4617 PyObject
* obj0
= 0 ;
4619 (char *) "self", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4633 wxColour
* resultptr
;
4634 resultptr
= new wxColour((wxColour
&) result
);
4635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4643 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4647 PyObject
* obj0
= 0 ;
4649 (char *) "self", NULL
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4663 wxColour
* resultptr
;
4664 resultptr
= new wxColour((wxColour
&) result
);
4665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4673 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4679 (char *) "self", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4694 resultptr
= new wxFont((wxFont
&) result
);
4695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
4703 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
;
4705 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4706 int *arg2
= (int *) 0 ;
4707 int *arg3
= (int *) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4717 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4718 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4730 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4731 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4732 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4733 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4740 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4743 int *arg2
= (int *) 0 ;
4744 int *arg3
= (int *) 0 ;
4749 PyObject
* obj0
= 0 ;
4751 (char *) "self", NULL
4754 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4755 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 Py_INCREF(Py_None
); resultobj
= Py_None
;
4767 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4768 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4769 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4770 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4777 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4779 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4781 PyObject
* obj0
= 0 ;
4783 (char *) "self", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4805 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4808 wxGrid
*arg2
= (wxGrid
*) 0 ;
4811 wxGridCellRenderer
*result
;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4814 PyObject
* obj2
= 0 ;
4815 PyObject
* obj3
= 0 ;
4817 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4825 arg3
= (int)SWIG_As_int(obj2
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4827 arg4
= (int)SWIG_As_int(obj3
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
4845 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4848 wxGrid
*arg2
= (wxGrid
*) 0 ;
4851 wxGridCellEditor
*result
;
4852 PyObject
* obj0
= 0 ;
4853 PyObject
* obj1
= 0 ;
4854 PyObject
* obj2
= 0 ;
4855 PyObject
* obj3
= 0 ;
4857 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4865 arg3
= (int)SWIG_As_int(obj2
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4867 arg4
= (int)SWIG_As_int(obj3
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
4885 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "self", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4913 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4917 PyObject
* obj0
= 0 ;
4919 (char *) "self", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (int)(arg1
)->GetKind();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_From_int((int)result
);
4939 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4942 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4944 PyObject
* obj1
= 0 ;
4946 (char *) "self",(char *) "defAttr", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 (arg1
)->SetDefAttr(arg2
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
4970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4971 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4973 return Py_BuildValue((char *)"");
4975 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxGridCellAttrProvider
*result
;
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 1);
4999 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5002 PyObject
*arg2
= (PyObject
*) 0 ;
5003 PyObject
* obj0
= 0 ;
5004 PyObject
* obj1
= 0 ;
5006 (char *) "self",(char *) "_self", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5033 wxGridCellAttr
*result
;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5036 PyObject
* obj2
= 0 ;
5037 PyObject
* obj3
= 0 ;
5039 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 arg2
= (int)SWIG_As_int(obj1
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5047 arg3
= (int)SWIG_As_int(obj2
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5049 arg4
= (int)SWIG_As_int(obj3
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
5067 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5070 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 PyObject
* obj2
= 0 ;
5076 PyObject
* obj3
= 0 ;
5078 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5086 arg3
= (int)SWIG_As_int(obj2
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5088 arg4
= (int)SWIG_As_int(obj3
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 Py_INCREF(Py_None
); resultobj
= Py_None
;
5104 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5107 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5111 PyObject
* obj2
= 0 ;
5113 (char *) "self",(char *) "attr",(char *) "row", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 arg3
= (int)SWIG_As_int(obj2
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 (arg1
)->SetRowAttr(arg2
,arg3
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 Py_INCREF(Py_None
); resultobj
= Py_None
;
5137 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
*resultobj
;
5139 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5140 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5143 PyObject
* obj1
= 0 ;
5144 PyObject
* obj2
= 0 ;
5146 (char *) "self",(char *) "attr",(char *) "col", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5154 arg3
= (int)SWIG_As_int(obj2
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetColAttr(arg2
,arg3
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 Py_INCREF(Py_None
); resultobj
= Py_None
;
5170 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5175 PyObject
* obj0
= 0 ;
5176 PyObject
* obj1
= 0 ;
5177 PyObject
* obj2
= 0 ;
5179 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5187 arg3
= (int)SWIG_As_int(obj2
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 (arg1
)->UpdateAttrRows(arg2
,arg3
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 Py_INCREF(Py_None
); resultobj
= Py_None
;
5203 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5210 PyObject
* obj2
= 0 ;
5212 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5220 arg3
= (int)SWIG_As_int(obj2
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->UpdateAttrCols(arg2
,arg3
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 Py_INCREF(Py_None
); resultobj
= Py_None
;
5236 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
5238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5239 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
5241 return Py_BuildValue((char *)"");
5243 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxPyGridCellAttrProvider
*result
;
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
5265 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5268 PyObject
*arg2
= (PyObject
*) 0 ;
5269 PyObject
*arg3
= (PyObject
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 PyObject
* obj2
= 0 ;
5274 (char *) "self",(char *) "self",(char *) "_class", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 Py_INCREF(Py_None
); resultobj
= Py_None
;
5296 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5302 wxGridCellAttr
*result
;
5303 PyObject
* obj0
= 0 ;
5304 PyObject
* obj1
= 0 ;
5305 PyObject
* obj2
= 0 ;
5306 PyObject
* obj3
= 0 ;
5308 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5314 arg2
= (int)SWIG_As_int(obj1
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5316 arg3
= (int)SWIG_As_int(obj2
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5318 arg4
= (int)SWIG_As_int(obj3
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
5336 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5339 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5344 PyObject
* obj2
= 0 ;
5345 PyObject
* obj3
= 0 ;
5347 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 arg3
= (int)SWIG_As_int(obj2
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5357 arg4
= (int)SWIG_As_int(obj3
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5376 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5380 PyObject
* obj2
= 0 ;
5382 (char *) "self",(char *) "attr",(char *) "row", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5390 arg3
= (int)SWIG_As_int(obj2
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5409 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5413 PyObject
* obj2
= 0 ;
5415 (char *) "self",(char *) "attr",(char *) "col", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5423 arg3
= (int)SWIG_As_int(obj2
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->base_SetColAttr(arg2
,arg3
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 Py_INCREF(Py_None
); resultobj
= Py_None
;
5439 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
5441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5442 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5444 return Py_BuildValue((char *)"");
5446 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5449 PyObject
*arg2
= (PyObject
*) 0 ;
5450 PyObject
* obj0
= 0 ;
5451 PyObject
* obj1
= 0 ;
5453 (char *) "self",(char *) "_self", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 wxGridTableBase__setOORInfo(arg1
,arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 Py_INCREF(Py_None
); resultobj
= Py_None
;
5474 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5477 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "attrProvider", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
,
5488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 (arg1
)->SetAttrProvider(arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5506 wxGridCellAttrProvider
*result
;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 0);
5531 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5534 wxGrid
*arg2
= (wxGrid
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5536 PyObject
* obj1
= 0 ;
5538 (char *) "self",(char *) "grid", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 (arg1
)->SetView(arg2
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 Py_INCREF(Py_None
); resultobj
= Py_None
;
5560 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5566 (char *) "self", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= wxPyMake_wxObject(result
, 0);
5588 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5594 (char *) "self", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 result
= (int)(arg1
)->GetNumberRows();
5604 wxPyEndAllowThreads(__tstate
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= SWIG_From_int((int)result
);
5614 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
;
5616 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5620 (char *) "self", NULL
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (int)(arg1
)->GetNumberCols();
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= SWIG_From_int((int)result
);
5640 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 PyObject
* obj2
= 0 ;
5650 (char *) "self",(char *) "row",(char *) "col", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5656 arg2
= (int)SWIG_As_int(obj1
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5658 arg3
= (int)SWIG_As_int(obj2
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5676 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5682 PyObject
* obj0
= 0 ;
5683 PyObject
* obj1
= 0 ;
5684 PyObject
* obj2
= 0 ;
5686 (char *) "self",(char *) "row",(char *) "col", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5692 arg2
= (int)SWIG_As_int(obj1
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5694 arg3
= (int)SWIG_As_int(obj2
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (arg1
)->GetValue(arg2
,arg3
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5716 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5721 wxString
*arg4
= 0 ;
5722 bool temp4
= False
;
5723 PyObject
* obj0
= 0 ;
5724 PyObject
* obj1
= 0 ;
5725 PyObject
* obj2
= 0 ;
5726 PyObject
* obj3
= 0 ;
5728 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 arg2
= (int)SWIG_As_int(obj1
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5736 arg3
= (int)SWIG_As_int(obj2
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 arg4
= wxString_in_helper(obj3
);
5740 if (arg4
== NULL
) SWIG_fail
;
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 Py_INCREF(Py_None
); resultobj
= Py_None
;
5765 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5771 PyObject
* obj0
= 0 ;
5772 PyObject
* obj1
= 0 ;
5773 PyObject
* obj2
= 0 ;
5775 (char *) "self",(char *) "row",(char *) "col", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5781 arg2
= (int)SWIG_As_int(obj1
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5783 arg3
= (int)SWIG_As_int(obj2
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5805 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5810 wxString
*arg4
= 0 ;
5812 bool temp4
= False
;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5815 PyObject
* obj2
= 0 ;
5816 PyObject
* obj3
= 0 ;
5818 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5824 arg2
= (int)SWIG_As_int(obj1
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5826 arg3
= (int)SWIG_As_int(obj2
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 arg4
= wxString_in_helper(obj3
);
5830 if (arg4
== NULL
) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5857 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5862 wxString
*arg4
= 0 ;
5864 bool temp4
= False
;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 PyObject
* obj2
= 0 ;
5868 PyObject
* obj3
= 0 ;
5870 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 arg2
= (int)SWIG_As_int(obj1
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5878 arg3
= (int)SWIG_As_int(obj2
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 arg4
= wxString_in_helper(obj3
);
5882 if (arg4
== NULL
) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5909 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5917 PyObject
* obj2
= 0 ;
5919 (char *) "self",(char *) "row",(char *) "col", NULL
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5925 arg2
= (int)SWIG_As_int(obj1
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5927 arg3
= (int)SWIG_As_int(obj2
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_From_long((long)result
);
5943 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
;
5945 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5950 PyObject
* obj1
= 0 ;
5951 PyObject
* obj2
= 0 ;
5953 (char *) "self",(char *) "row",(char *) "col", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5959 arg2
= (int)SWIG_As_int(obj1
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5961 arg3
= (int)SWIG_As_int(obj2
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_From_double((double)result
);
5977 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5983 PyObject
* obj0
= 0 ;
5984 PyObject
* obj1
= 0 ;
5985 PyObject
* obj2
= 0 ;
5987 (char *) "self",(char *) "row",(char *) "col", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 arg2
= (int)SWIG_As_int(obj1
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5995 arg3
= (int)SWIG_As_int(obj2
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6013 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 PyObject
* obj2
= 0 ;
6022 PyObject
* obj3
= 0 ;
6024 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 arg2
= (int)SWIG_As_int(obj1
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6032 arg3
= (int)SWIG_As_int(obj2
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6034 arg4
= (long)SWIG_As_long(obj3
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6056 PyObject
* obj0
= 0 ;
6057 PyObject
* obj1
= 0 ;
6058 PyObject
* obj2
= 0 ;
6059 PyObject
* obj3
= 0 ;
6061 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6067 arg2
= (int)SWIG_As_int(obj1
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6069 arg3
= (int)SWIG_As_int(obj2
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6071 arg4
= (double)SWIG_As_double(obj3
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 Py_INCREF(Py_None
); resultobj
= Py_None
;
6087 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
;
6089 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6093 PyObject
* obj0
= 0 ;
6094 PyObject
* obj1
= 0 ;
6095 PyObject
* obj2
= 0 ;
6096 PyObject
* obj3
= 0 ;
6098 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 arg2
= (int)SWIG_As_int(obj1
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6106 arg3
= (int)SWIG_As_int(obj2
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6108 arg4
= (bool)SWIG_As_bool(obj3
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6124 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6127 PyObject
* obj0
= 0 ;
6129 (char *) "self", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
6133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 Py_INCREF(Py_None
); resultobj
= Py_None
;
6149 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6152 size_t arg2
= (size_t) 0 ;
6153 size_t arg3
= (size_t) 1 ;
6155 PyObject
* obj0
= 0 ;
6156 PyObject
* obj1
= 0 ;
6157 PyObject
* obj2
= 0 ;
6159 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6166 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6170 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6189 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
;
6191 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6192 size_t arg2
= (size_t) 1 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6197 (char *) "self",(char *) "numRows", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (bool)(arg1
)->AppendRows(arg2
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6223 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6226 size_t arg2
= (size_t) 0 ;
6227 size_t arg3
= (size_t) 1 ;
6229 PyObject
* obj0
= 0 ;
6230 PyObject
* obj1
= 0 ;
6231 PyObject
* obj2
= 0 ;
6233 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6244 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6263 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6266 size_t arg2
= (size_t) 0 ;
6267 size_t arg3
= (size_t) 1 ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6271 PyObject
* obj2
= 0 ;
6273 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6284 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6303 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6306 size_t arg2
= (size_t) 1 ;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6311 (char *) "self",(char *) "numCols", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6318 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (bool)(arg1
)->AppendCols(arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6337 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6340 size_t arg2
= (size_t) 0 ;
6341 size_t arg3
= (size_t) 1 ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6345 PyObject
* obj2
= 0 ;
6347 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6354 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6358 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6377 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6382 PyObject
* obj0
= 0 ;
6383 PyObject
* obj1
= 0 ;
6385 (char *) "self",(char *) "row", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6391 arg2
= (int)SWIG_As_int(obj1
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (arg1
)->GetRowLabelValue(arg2
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6413 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6418 PyObject
* obj0
= 0 ;
6419 PyObject
* obj1
= 0 ;
6421 (char *) "self",(char *) "col", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 arg2
= (int)SWIG_As_int(obj1
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (arg1
)->GetColLabelValue(arg2
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6449 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6453 wxString
*arg3
= 0 ;
6454 bool temp3
= False
;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6457 PyObject
* obj2
= 0 ;
6459 (char *) "self",(char *) "row",(char *) "value", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6465 arg2
= (int)SWIG_As_int(obj1
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 arg3
= wxString_in_helper(obj2
);
6469 if (arg3
== NULL
) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6494 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6498 wxString
*arg3
= 0 ;
6499 bool temp3
= False
;
6500 PyObject
* obj0
= 0 ;
6501 PyObject
* obj1
= 0 ;
6502 PyObject
* obj2
= 0 ;
6504 (char *) "self",(char *) "col",(char *) "value", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 arg2
= (int)SWIG_As_int(obj1
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 arg3
= wxString_in_helper(obj2
);
6514 if (arg3
== NULL
) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 Py_INCREF(Py_None
); resultobj
= Py_None
;
6539 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (bool)(arg1
)->CanHaveAttributes();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6567 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6573 wxGridCellAttr
*result
;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 PyObject
* obj2
= 0 ;
6577 PyObject
* obj3
= 0 ;
6579 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 arg2
= (int)SWIG_As_int(obj1
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6587 arg3
= (int)SWIG_As_int(obj2
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6589 arg4
= (int)SWIG_As_int(obj3
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6607 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6610 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 PyObject
* obj2
= 0 ;
6616 PyObject
* obj3
= 0 ;
6618 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6626 arg3
= (int)SWIG_As_int(obj2
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6628 arg4
= (int)SWIG_As_int(obj3
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 Py_INCREF(Py_None
); resultobj
= Py_None
;
6644 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
;
6646 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6647 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 PyObject
* obj2
= 0 ;
6653 (char *) "self",(char *) "attr",(char *) "row", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6661 arg3
= (int)SWIG_As_int(obj2
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 (arg1
)->SetRowAttr(arg2
,arg3
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 Py_INCREF(Py_None
); resultobj
= Py_None
;
6677 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6680 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 PyObject
* obj2
= 0 ;
6686 (char *) "self",(char *) "attr",(char *) "col", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6694 arg3
= (int)SWIG_As_int(obj2
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->SetColAttr(arg2
,arg3
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 Py_INCREF(Py_None
); resultobj
= Py_None
;
6710 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
6712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6713 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6715 return Py_BuildValue((char *)"");
6717 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxPyGridTableBase
*result
;
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
6739 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6742 PyObject
*arg2
= (PyObject
*) 0 ;
6743 PyObject
*arg3
= (PyObject
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6745 PyObject
* obj1
= 0 ;
6746 PyObject
* obj2
= 0 ;
6748 (char *) "self",(char *) "self",(char *) "_class", NULL
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 Py_INCREF(Py_None
); resultobj
= Py_None
;
6770 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6773 PyObject
* obj0
= 0 ;
6775 (char *) "self", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 wxPyGridTableBase_Destroy(arg1
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 Py_INCREF(Py_None
); resultobj
= Py_None
;
6795 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6805 (char *) "self",(char *) "row",(char *) "col", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 arg2
= (int)SWIG_As_int(obj1
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6813 arg3
= (int)SWIG_As_int(obj2
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6835 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
;
6837 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6840 wxString
*arg4
= 0 ;
6842 bool temp4
= False
;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6845 PyObject
* obj2
= 0 ;
6846 PyObject
* obj3
= 0 ;
6848 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 arg2
= (int)SWIG_As_int(obj1
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6856 arg3
= (int)SWIG_As_int(obj2
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 arg4
= wxString_in_helper(obj3
);
6860 if (arg4
== NULL
) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6887 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
;
6889 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6892 wxString
*arg4
= 0 ;
6894 bool temp4
= False
;
6895 PyObject
* obj0
= 0 ;
6896 PyObject
* obj1
= 0 ;
6897 PyObject
* obj2
= 0 ;
6898 PyObject
* obj3
= 0 ;
6900 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6906 arg2
= (int)SWIG_As_int(obj1
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6908 arg3
= (int)SWIG_As_int(obj2
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 arg4
= wxString_in_helper(obj3
);
6912 if (arg4
== NULL
) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6939 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 (arg1
)->base_Clear();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 Py_INCREF(Py_None
); resultobj
= Py_None
;
6964 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6967 size_t arg2
= (size_t) 0 ;
6968 size_t arg3
= (size_t) 1 ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 PyObject
* obj2
= 0 ;
6974 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7004 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7007 size_t arg2
= (size_t) 1 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7012 (char *) "self",(char *) "numRows", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
7016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7019 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (bool)(arg1
)->base_AppendRows(arg2
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7038 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7041 size_t arg2
= (size_t) 0 ;
7042 size_t arg3
= (size_t) 1 ;
7044 PyObject
* obj0
= 0 ;
7045 PyObject
* obj1
= 0 ;
7046 PyObject
* obj2
= 0 ;
7048 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7055 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7059 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7078 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7081 size_t arg2
= (size_t) 0 ;
7082 size_t arg3
= (size_t) 1 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7086 PyObject
* obj2
= 0 ;
7088 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7095 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7099 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7118 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7121 size_t arg2
= (size_t) 1 ;
7123 PyObject
* obj0
= 0 ;
7124 PyObject
* obj1
= 0 ;
7126 (char *) "self",(char *) "numCols", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7133 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (bool)(arg1
)->base_AppendCols(arg2
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7152 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
;
7154 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7155 size_t arg2
= (size_t) 0 ;
7156 size_t arg3
= (size_t) 1 ;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7160 PyObject
* obj2
= 0 ;
7162 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7169 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7173 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7192 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7200 (char *) "self",(char *) "row", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7206 arg2
= (int)SWIG_As_int(obj1
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (arg1
)->base_GetRowLabelValue(arg2
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7228 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7236 (char *) "self",(char *) "col", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7242 arg2
= (int)SWIG_As_int(obj1
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (arg1
)->base_GetColLabelValue(arg2
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7264 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7268 wxString
*arg3
= 0 ;
7269 bool temp3
= False
;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7272 PyObject
* obj2
= 0 ;
7274 (char *) "self",(char *) "row",(char *) "value", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7280 arg2
= (int)SWIG_As_int(obj1
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 arg3
= wxString_in_helper(obj2
);
7284 if (arg3
== NULL
) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 Py_INCREF(Py_None
); resultobj
= Py_None
;
7309 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
*resultobj
;
7311 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7313 wxString
*arg3
= 0 ;
7314 bool temp3
= False
;
7315 PyObject
* obj0
= 0 ;
7316 PyObject
* obj1
= 0 ;
7317 PyObject
* obj2
= 0 ;
7319 (char *) "self",(char *) "col",(char *) "value", NULL
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7325 arg2
= (int)SWIG_As_int(obj1
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 arg3
= wxString_in_helper(obj2
);
7329 if (arg3
== NULL
) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7354 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7358 PyObject
* obj0
= 0 ;
7360 (char *) "self", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (bool)(arg1
)->base_CanHaveAttributes();
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7382 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7388 wxGridCellAttr
*result
;
7389 PyObject
* obj0
= 0 ;
7390 PyObject
* obj1
= 0 ;
7391 PyObject
* obj2
= 0 ;
7392 PyObject
* obj3
= 0 ;
7394 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7400 arg2
= (int)SWIG_As_int(obj1
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7402 arg3
= (int)SWIG_As_int(obj2
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7404 arg4
= (int)SWIG_As_int(obj3
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
7422 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7425 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7430 PyObject
* obj2
= 0 ;
7431 PyObject
* obj3
= 0 ;
7433 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7441 arg3
= (int)SWIG_As_int(obj2
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7443 arg4
= (int)SWIG_As_int(obj3
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 Py_INCREF(Py_None
); resultobj
= Py_None
;
7459 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7462 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7466 PyObject
* obj2
= 0 ;
7468 (char *) "self",(char *) "attr",(char *) "row", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7476 arg3
= (int)SWIG_As_int(obj2
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 Py_INCREF(Py_None
); resultobj
= Py_None
;
7492 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7495 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7498 PyObject
* obj1
= 0 ;
7499 PyObject
* obj2
= 0 ;
7501 (char *) "self",(char *) "attr",(char *) "col", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 arg3
= (int)SWIG_As_int(obj2
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 (arg1
)->base_SetColAttr(arg2
,arg3
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 Py_INCREF(Py_None
); resultobj
= Py_None
;
7525 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
7527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7528 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7530 return Py_BuildValue((char *)"");
7532 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 int arg1
= (int) 0 ;
7535 int arg2
= (int) 0 ;
7536 wxGridStringTable
*result
;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7540 (char *) "numRows",(char *) "numCols", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7545 arg1
= (int)SWIG_As_int(obj0
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 arg2
= (int)SWIG_As_int(obj1
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
7566 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
7568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7569 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7571 return Py_BuildValue((char *)"");
7573 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
;
7575 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7577 int arg3
= (int) -1 ;
7578 int arg4
= (int) -1 ;
7579 wxGridTableMessage
*result
;
7580 PyObject
* obj0
= 0 ;
7581 PyObject
* obj1
= 0 ;
7582 PyObject
* obj2
= 0 ;
7583 PyObject
* obj3
= 0 ;
7585 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
7590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7591 arg2
= (int)SWIG_As_int(obj1
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 arg3
= (int)SWIG_As_int(obj2
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7598 arg4
= (int)SWIG_As_int(obj3
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
7615 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7618 PyObject
* obj0
= 0 ;
7620 (char *) "self", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 Py_INCREF(Py_None
); resultobj
= Py_None
;
7640 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7643 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7647 (char *) "self",(char *) "table", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
7654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 (arg1
)->SetTableObject(arg2
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 Py_INCREF(Py_None
); resultobj
= Py_None
;
7669 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7672 wxGridTableBase
*result
;
7673 PyObject
* obj0
= 0 ;
7675 (char *) "self", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
7697 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7702 PyObject
* obj1
= 0 ;
7704 (char *) "self",(char *) "id", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 arg2
= (int)SWIG_As_int(obj1
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 (arg1
)->SetId(arg2
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 Py_INCREF(Py_None
); resultobj
= Py_None
;
7726 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7732 (char *) "self", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= (int)(arg1
)->GetId();
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_From_int((int)result
);
7752 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7759 (char *) "self",(char *) "comInt1", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 arg2
= (int)SWIG_As_int(obj1
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 (arg1
)->SetCommandInt(arg2
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 Py_INCREF(Py_None
); resultobj
= Py_None
;
7781 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (int)(arg1
)->GetCommandInt();
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_From_int((int)result
);
7807 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "comInt2", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7820 arg2
= (int)SWIG_As_int(obj1
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 (arg1
)->SetCommandInt2(arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 Py_INCREF(Py_None
); resultobj
= Py_None
;
7836 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7840 PyObject
* obj0
= 0 ;
7842 (char *) "self", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (int)(arg1
)->GetCommandInt2();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_From_int((int)result
);
7862 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
7864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7865 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7867 return Py_BuildValue((char *)"");
7869 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 int arg1
= (int) -1 ;
7872 int arg2
= (int) -1 ;
7873 wxGridCellCoords
*result
;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7877 (char *) "r",(char *) "c", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7882 arg1
= (int)SWIG_As_int(obj0
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 arg2
= (int)SWIG_As_int(obj1
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
7903 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 Py_INCREF(Py_None
); resultobj
= Py_None
;
7928 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_From_int((int)result
);
7954 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7959 PyObject
* obj1
= 0 ;
7961 (char *) "self",(char *) "n", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 arg2
= (int)SWIG_As_int(obj1
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 (arg1
)->SetRow(arg2
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_From_int((int)result
);
8009 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8014 PyObject
* obj1
= 0 ;
8016 (char *) "self",(char *) "n", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 arg2
= (int)SWIG_As_int(obj1
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 (arg1
)->SetCol(arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 Py_INCREF(Py_None
); resultobj
= Py_None
;
8038 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8045 PyObject
* obj2
= 0 ;
8047 (char *) "self",(char *) "row",(char *) "col", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8053 arg2
= (int)SWIG_As_int(obj1
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8055 arg3
= (int)SWIG_As_int(obj2
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 (arg1
)->Set(arg2
,arg3
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 Py_INCREF(Py_None
); resultobj
= Py_None
;
8071 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8074 wxGridCellCoords
*arg2
= 0 ;
8076 wxGridCellCoords temp2
;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8080 (char *) "self",(char *) "other", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8088 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8106 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8109 wxGridCellCoords
*arg2
= 0 ;
8111 wxGridCellCoords temp2
;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8115 (char *) "self",(char *) "other", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8141 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8145 PyObject
* obj0
= 0 ;
8147 (char *) "self", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
8151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8167 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
8169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8170 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
8172 return Py_BuildValue((char *)"");
8174 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxWindow
*arg1
= (wxWindow
*) 0 ;
8177 int arg2
= (int) -1 ;
8178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8182 long arg5
= (long) wxWANTS_CHARS
;
8183 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8184 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8188 bool temp6
= False
;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8191 PyObject
* obj2
= 0 ;
8192 PyObject
* obj3
= 0 ;
8193 PyObject
* obj4
= 0 ;
8194 PyObject
* obj5
= 0 ;
8196 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 arg2
= (int)SWIG_As_int(obj1
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8219 arg5
= (long)SWIG_As_long(obj4
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8224 arg6
= wxString_in_helper(obj5
);
8225 if (arg6
== NULL
) SWIG_fail
;
8230 if (!wxPyCheckForApp()) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
8252 static PyObject
*_wrap_new_PreGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
8261 if (!wxPyCheckForApp()) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (wxGrid
*)new wxGrid();
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
8275 static PyObject
*_wrap_Grid_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxGrid
*arg1
= (wxGrid
*) 0 ;
8278 wxWindow
*arg2
= (wxWindow
*) 0 ;
8279 int arg3
= (int) -1 ;
8280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8284 long arg6
= (long) wxWANTS_CHARS
;
8285 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8286 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8290 bool temp7
= False
;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8293 PyObject
* obj2
= 0 ;
8294 PyObject
* obj3
= 0 ;
8295 PyObject
* obj4
= 0 ;
8296 PyObject
* obj5
= 0 ;
8297 PyObject
* obj6
= 0 ;
8299 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8308 arg3
= (int)SWIG_As_int(obj2
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8320 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8324 arg6
= (long)SWIG_As_long(obj5
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8329 arg7
= wxString_in_helper(obj6
);
8330 if (arg7
== NULL
) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8358 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxGrid
*arg1
= (wxGrid
*) 0 ;
8363 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 PyObject
* obj2
= 0 ;
8368 PyObject
* obj3
= 0 ;
8370 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8376 arg2
= (int)SWIG_As_int(obj1
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8378 arg3
= (int)SWIG_As_int(obj2
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 arg4
= (WXGRIDSELECTIONMODES
)SWIG_As_int(obj3
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8400 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxGrid
*arg1
= (wxGrid
*) 0 ;
8403 WXGRIDSELECTIONMODES arg2
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self",(char *) "selmode", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 arg2
= (WXGRIDSELECTIONMODES
)SWIG_As_int(obj1
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 (arg1
)->SetSelectionMode(arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 Py_INCREF(Py_None
); resultobj
= Py_None
;
8429 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxGrid
*arg1
= (wxGrid
*) 0 ;
8432 WXGRIDSELECTIONMODES result
;
8433 PyObject
* obj0
= 0 ;
8435 (char *) "self", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_From_int((int)result
);
8455 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxGrid
*arg1
= (wxGrid
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (int)(arg1
)->GetNumberRows();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_From_int((int)result
);
8481 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxGrid
*arg1
= (wxGrid
*) 0 ;
8485 PyObject
* obj0
= 0 ;
8487 (char *) "self", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (int)(arg1
)->GetNumberCols();
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= SWIG_From_int((int)result
);
8507 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxGrid
*arg1
= (wxGrid
*) 0 ;
8510 wxGridTableMessage
*arg2
= 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8515 (char *) "self","arg2", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
,
8522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8525 PyErr_SetString(PyExc_TypeError
,"null reference");
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8544 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxGrid
*arg1
= (wxGrid
*) 0 ;
8547 wxGridTableBase
*result
;
8548 PyObject
* obj0
= 0 ;
8550 (char *) "self", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
8572 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxGrid
*arg1
= (wxGrid
*) 0 ;
8575 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8576 bool arg3
= (bool) False
;
8577 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8581 PyObject
* obj2
= 0 ;
8582 PyObject
* obj3
= 0 ;
8584 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8593 arg3
= (bool)SWIG_As_bool(obj2
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8597 arg4
= (WXGRIDSELECTIONMODES
)SWIG_As_int(obj3
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8616 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxGrid
*arg1
= (wxGrid
*) 0 ;
8619 PyObject
* obj0
= 0 ;
8621 (char *) "self", NULL
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->ClearGrid();
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 Py_INCREF(Py_None
); resultobj
= Py_None
;
8641 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxGrid
*arg1
= (wxGrid
*) 0 ;
8644 int arg2
= (int) 0 ;
8645 int arg3
= (int) 1 ;
8646 bool arg4
= (bool) True
;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8650 PyObject
* obj2
= 0 ;
8651 PyObject
* obj3
= 0 ;
8653 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 arg2
= (int)SWIG_As_int(obj1
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8664 arg3
= (int)SWIG_As_int(obj2
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8668 arg4
= (bool)SWIG_As_bool(obj3
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8687 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
;
8689 wxGrid
*arg1
= (wxGrid
*) 0 ;
8690 int arg2
= (int) 1 ;
8691 bool arg3
= (bool) True
;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8695 PyObject
* obj2
= 0 ;
8697 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8704 arg2
= (int)SWIG_As_int(obj1
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8708 arg3
= (bool)SWIG_As_bool(obj2
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8727 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxGrid
*arg1
= (wxGrid
*) 0 ;
8730 int arg2
= (int) 0 ;
8731 int arg3
= (int) 1 ;
8732 bool arg4
= (bool) True
;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8736 PyObject
* obj2
= 0 ;
8737 PyObject
* obj3
= 0 ;
8739 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8746 arg2
= (int)SWIG_As_int(obj1
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 arg3
= (int)SWIG_As_int(obj2
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8754 arg4
= (bool)SWIG_As_bool(obj3
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8773 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxGrid
*arg1
= (wxGrid
*) 0 ;
8776 int arg2
= (int) 0 ;
8777 int arg3
= (int) 1 ;
8778 bool arg4
= (bool) True
;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8783 PyObject
* obj3
= 0 ;
8785 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8792 arg2
= (int)SWIG_As_int(obj1
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 arg3
= (int)SWIG_As_int(obj2
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8800 arg4
= (bool)SWIG_As_bool(obj3
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8819 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxGrid
*arg1
= (wxGrid
*) 0 ;
8822 int arg2
= (int) 1 ;
8823 bool arg3
= (bool) True
;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8827 PyObject
* obj2
= 0 ;
8829 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 arg2
= (int)SWIG_As_int(obj1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8840 arg3
= (bool)SWIG_As_bool(obj2
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8859 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxGrid
*arg1
= (wxGrid
*) 0 ;
8862 int arg2
= (int) 0 ;
8863 int arg3
= (int) 1 ;
8864 bool arg4
= (bool) True
;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 PyObject
* obj2
= 0 ;
8869 PyObject
* obj3
= 0 ;
8871 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 arg2
= (int)SWIG_As_int(obj1
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8882 arg3
= (int)SWIG_As_int(obj2
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8886 arg4
= (bool)SWIG_As_bool(obj3
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8905 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxGrid
*arg1
= (wxGrid
*) 0 ;
8909 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8912 PyObject
* obj2
= 0 ;
8914 (char *) "self",(char *) "dc",(char *) "attr", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8924 PyErr_SetString(PyExc_TypeError
,"null reference");
8927 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 Py_INCREF(Py_None
); resultobj
= Py_None
;
8943 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxGrid
*arg1
= (wxGrid
*) 0 ;
8947 wxString
*arg3
= 0 ;
8949 int arg5
= (int) wxLEFT
;
8950 int arg6
= (int) wxTOP
;
8951 int arg7
= (int) wxHORIZONTAL
;
8952 bool temp3
= False
;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8956 PyObject
* obj2
= 0 ;
8957 PyObject
* obj3
= 0 ;
8958 PyObject
* obj4
= 0 ;
8959 PyObject
* obj5
= 0 ;
8960 PyObject
* obj6
= 0 ;
8962 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8972 PyErr_SetString(PyExc_TypeError
,"null reference");
8976 arg3
= wxString_in_helper(obj2
);
8977 if (arg3
== NULL
) SWIG_fail
;
8982 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8985 arg5
= (int)SWIG_As_int(obj4
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 arg6
= (int)SWIG_As_int(obj5
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8993 arg7
= (int)SWIG_As_int(obj6
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxGrid
*arg1
= (wxGrid
*) 0 ;
9022 wxArrayString
*arg3
= 0 ;
9023 long *arg4
= (long *) 0 ;
9024 long *arg5
= (long *) 0 ;
9025 bool temp3
= False
;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9032 PyObject
* obj2
= 0 ;
9034 (char *) "self",(char *) "dc",(char *) "lines", NULL
9037 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9038 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9046 PyErr_SetString(PyExc_TypeError
,"null reference");
9050 if (! PySequence_Check(obj2
)) {
9051 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9054 arg3
= new wxArrayString
;
9056 int i
, len
=PySequence_Length(obj2
);
9057 for (i
=0; i
<len
; i
++) {
9058 PyObject
* item
= PySequence_GetItem(obj2
, i
);
9060 PyObject
* str
= PyObject_Unicode(item
);
9062 PyObject
* str
= PyObject_Str(item
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9065 arg3
->Add(Py2wxString(str
));
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 Py_INCREF(Py_None
); resultobj
= Py_None
;
9078 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9079 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9080 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
9081 SWIG_From_long((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, 0)));
9083 if (temp3
) delete arg3
;
9088 if (temp3
) delete arg3
;
9094 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxGrid
*arg1
= (wxGrid
*) 0 ;
9097 PyObject
* obj0
= 0 ;
9099 (char *) "self", NULL
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
9103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 (arg1
)->BeginBatch();
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 Py_INCREF(Py_None
); resultobj
= Py_None
;
9119 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxGrid
*arg1
= (wxGrid
*) 0 ;
9122 PyObject
* obj0
= 0 ;
9124 (char *) "self", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxGrid
*arg1
= (wxGrid
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (int)(arg1
)->GetBatchCount();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_From_int((int)result
);
9170 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxGrid
*arg1
= (wxGrid
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9175 (char *) "self", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 (arg1
)->ForceRefresh();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 Py_INCREF(Py_None
); resultobj
= Py_None
;
9195 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, 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_IsEditable",kwnames
,&obj0
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (bool)(arg1
)->IsEditable();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9223 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxGrid
*arg1
= (wxGrid
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9230 (char *) "self",(char *) "edit", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 arg2
= (bool)SWIG_As_bool(obj1
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 (arg1
)->EnableEditing(arg2
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 Py_INCREF(Py_None
); resultobj
= Py_None
;
9252 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxGrid
*arg1
= (wxGrid
*) 0 ;
9255 bool arg2
= (bool) True
;
9256 PyObject
* obj0
= 0 ;
9257 PyObject
* obj1
= 0 ;
9259 (char *) "self",(char *) "enable", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 arg2
= (bool)SWIG_As_bool(obj1
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 (arg1
)->EnableCellEditControl(arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 Py_INCREF(Py_None
); resultobj
= Py_None
;
9283 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
;
9285 wxGrid
*arg1
= (wxGrid
*) 0 ;
9286 PyObject
* obj0
= 0 ;
9288 (char *) "self", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 (arg1
)->DisableCellEditControl();
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 Py_INCREF(Py_None
); resultobj
= Py_None
;
9308 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxGrid
*arg1
= (wxGrid
*) 0 ;
9312 PyObject
* obj0
= 0 ;
9314 (char *) "self", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9336 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxGrid
*arg1
= (wxGrid
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9364 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxGrid
*arg1
= (wxGrid
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "self", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9392 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxGrid
*arg1
= (wxGrid
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9398 (char *) "self", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
9402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9420 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxGrid
*arg1
= (wxGrid
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9425 (char *) "self", NULL
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 (arg1
)->ShowCellEditControl();
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 Py_INCREF(Py_None
); resultobj
= Py_None
;
9445 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxGrid
*arg1
= (wxGrid
*) 0 ;
9448 PyObject
* obj0
= 0 ;
9450 (char *) "self", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 (arg1
)->HideCellEditControl();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 Py_INCREF(Py_None
); resultobj
= Py_None
;
9470 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxGrid
*arg1
= (wxGrid
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9475 (char *) "self", NULL
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 (arg1
)->SaveEditControlValue();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 Py_INCREF(Py_None
); resultobj
= Py_None
;
9495 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxGrid
*arg1
= (wxGrid
*) 0 ;
9500 wxGridCellCoords result
;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9503 PyObject
* obj2
= 0 ;
9505 (char *) "self",(char *) "x",(char *) "y", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 arg2
= (int)SWIG_As_int(obj1
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9513 arg3
= (int)SWIG_As_int(obj2
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9523 wxGridCellCoords
* resultptr
;
9524 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
9533 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxGrid
*arg1
= (wxGrid
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9541 (char *) "self",(char *) "y", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 arg2
= (int)SWIG_As_int(obj1
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (int)(arg1
)->YToRow(arg2
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= SWIG_From_int((int)result
);
9563 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxGrid
*arg1
= (wxGrid
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9571 (char *) "self",(char *) "x", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 arg2
= (int)SWIG_As_int(obj1
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (int)(arg1
)->XToCol(arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= SWIG_From_int((int)result
);
9593 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxGrid
*arg1
= (wxGrid
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9601 (char *) "self",(char *) "y", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= (int)SWIG_As_int(obj1
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_From_int((int)result
);
9623 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxGrid
*arg1
= (wxGrid
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9631 (char *) "self",(char *) "x", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 arg2
= (int)SWIG_As_int(obj1
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_From_int((int)result
);
9653 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxGrid
*arg1
= (wxGrid
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 PyObject
* obj2
= 0 ;
9663 (char *) "self",(char *) "row",(char *) "col", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 arg2
= (int)SWIG_As_int(obj1
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9671 arg3
= (int)SWIG_As_int(obj2
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (arg1
)->CellToRect(arg2
,arg3
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9682 resultptr
= new wxRect((wxRect
&) result
);
9683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9691 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxGrid
*arg1
= (wxGrid
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9697 (char *) "self", NULL
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (int)(arg1
)->GetGridCursorRow();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= SWIG_From_int((int)result
);
9717 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxGrid
*arg1
= (wxGrid
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (int)(arg1
)->GetGridCursorCol();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_From_int((int)result
);
9743 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxGrid
*arg1
= (wxGrid
*) 0 ;
9748 bool arg4
= (bool) True
;
9750 PyObject
* obj0
= 0 ;
9751 PyObject
* obj1
= 0 ;
9752 PyObject
* obj2
= 0 ;
9753 PyObject
* obj3
= 0 ;
9755 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9761 arg2
= (int)SWIG_As_int(obj1
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9763 arg3
= (int)SWIG_As_int(obj2
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 arg4
= (bool)SWIG_As_bool(obj3
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9785 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxGrid
*arg1
= (wxGrid
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9792 PyObject
* obj2
= 0 ;
9794 (char *) "self",(char *) "row",(char *) "col", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9800 arg2
= (int)SWIG_As_int(obj1
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9802 arg3
= (int)SWIG_As_int(obj2
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 (arg1
)->MakeCellVisible(arg2
,arg3
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 Py_INCREF(Py_None
); resultobj
= Py_None
;
9818 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxGrid
*arg1
= (wxGrid
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9827 (char *) "self",(char *) "row",(char *) "col", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 arg2
= (int)SWIG_As_int(obj1
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9835 arg3
= (int)SWIG_As_int(obj2
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 (arg1
)->SetGridCursor(arg2
,arg3
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 Py_INCREF(Py_None
); resultobj
= Py_None
;
9851 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxGrid
*arg1
= (wxGrid
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9859 (char *) "self",(char *) "expandSelection", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9865 arg2
= (bool)SWIG_As_bool(obj1
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9883 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxGrid
*arg1
= (wxGrid
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9891 (char *) "self",(char *) "expandSelection", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 arg2
= (bool)SWIG_As_bool(obj1
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9915 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 wxGrid
*arg1
= (wxGrid
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9923 (char *) "self",(char *) "expandSelection", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 arg2
= (bool)SWIG_As_bool(obj1
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9947 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxGrid
*arg1
= (wxGrid
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9955 (char *) "self",(char *) "expandSelection", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 arg2
= (bool)SWIG_As_bool(obj1
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9979 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxGrid
*arg1
= (wxGrid
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (bool)(arg1
)->MovePageDown();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10007 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxGrid
*arg1
= (wxGrid
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (bool)(arg1
)->MovePageUp();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10035 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxGrid
*arg1
= (wxGrid
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self",(char *) "expandSelection", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10049 arg2
= (bool)SWIG_As_bool(obj1
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10067 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxGrid
*arg1
= (wxGrid
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 PyObject
* obj1
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self",(char *) "expandSelection", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10081 arg2
= (bool)SWIG_As_bool(obj1
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10099 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxGrid
*arg1
= (wxGrid
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self",(char *) "expandSelection", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 arg2
= (bool)SWIG_As_bool(obj1
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10131 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxGrid
*arg1
= (wxGrid
*) 0 ;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self",(char *) "expandSelection", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 arg2
= (bool)SWIG_As_bool(obj1
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10163 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxGrid
*arg1
= (wxGrid
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (int)(arg1
)->GetDefaultRowLabelSize();
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_From_int((int)result
);
10189 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxGrid
*arg1
= (wxGrid
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (int)(arg1
)->GetRowLabelSize();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_From_int((int)result
);
10215 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxGrid
*arg1
= (wxGrid
*) 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (int)(arg1
)->GetDefaultColLabelSize();
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_From_int((int)result
);
10241 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxGrid
*arg1
= (wxGrid
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)(arg1
)->GetColLabelSize();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_From_int((int)result
);
10267 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxGrid
*arg1
= (wxGrid
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (arg1
)->GetLabelBackgroundColour();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10287 wxColour
* resultptr
;
10288 resultptr
= new wxColour((wxColour
&) result
);
10289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10297 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxGrid
*arg1
= (wxGrid
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (arg1
)->GetLabelTextColour();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10317 wxColour
* resultptr
;
10318 resultptr
= new wxColour((wxColour
&) result
);
10319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10327 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
;
10329 wxGrid
*arg1
= (wxGrid
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
10337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (arg1
)->GetLabelFont();
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10347 wxFont
* resultptr
;
10348 resultptr
= new wxFont((wxFont
&) result
);
10349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
10357 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxGrid
*arg1
= (wxGrid
*) 0 ;
10360 int *arg2
= (int *) 0 ;
10361 int *arg3
= (int *) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self", NULL
10371 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10372 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 Py_INCREF(Py_None
); resultobj
= Py_None
;
10384 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10385 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
10386 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10387 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
10394 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxGrid
*arg1
= (wxGrid
*) 0 ;
10397 int *arg2
= (int *) 0 ;
10398 int *arg3
= (int *) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10409 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 Py_INCREF(Py_None
); resultobj
= Py_None
;
10421 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10422 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
10423 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10424 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
10431 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxGrid
*arg1
= (wxGrid
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (int)(arg1
)->GetColLabelTextOrientation();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_From_int((int)result
);
10457 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxGrid
*arg1
= (wxGrid
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 PyObject
* obj1
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "row", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 arg2
= (int)SWIG_As_int(obj1
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (arg1
)->GetRowLabelValue(arg2
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10493 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxGrid
*arg1
= (wxGrid
*) 0 ;
10498 PyObject
* obj0
= 0 ;
10499 PyObject
* obj1
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self",(char *) "col", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10507 arg2
= (int)SWIG_As_int(obj1
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (arg1
)->GetColLabelValue(arg2
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10529 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxGrid
*arg1
= (wxGrid
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (arg1
)->GetGridLineColour();
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10549 wxColour
* resultptr
;
10550 resultptr
= new wxColour((wxColour
&) result
);
10551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10559 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxGrid
*arg1
= (wxGrid
*) 0 ;
10563 PyObject
* obj0
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (arg1
)->GetCellHighlightColour();
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 wxColour
* resultptr
;
10580 resultptr
= new wxColour((wxColour
&) result
);
10581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10589 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxGrid
*arg1
= (wxGrid
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_From_int((int)result
);
10615 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxGrid
*arg1
= (wxGrid
*) 0 ;
10619 PyObject
* obj0
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_From_int((int)result
);
10641 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxGrid
*arg1
= (wxGrid
*) 0 ;
10645 PyObject
* obj0
= 0 ;
10646 PyObject
* obj1
= 0 ;
10647 char *kwnames
[] = {
10648 (char *) "self",(char *) "width", NULL
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10654 arg2
= (int)SWIG_As_int(obj1
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 (arg1
)->SetRowLabelSize(arg2
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 Py_INCREF(Py_None
); resultobj
= Py_None
;
10670 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxGrid
*arg1
= (wxGrid
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "height", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 arg2
= (int)SWIG_As_int(obj1
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->SetColLabelSize(arg2
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxGrid
*arg1
= (wxGrid
*) 0 ;
10702 wxColour
*arg2
= 0 ;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self","arg2", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10715 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 Py_INCREF(Py_None
); resultobj
= Py_None
;
10731 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxGrid
*arg1
= (wxGrid
*) 0 ;
10734 wxColour
*arg2
= 0 ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self","arg2", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 Py_INCREF(Py_None
); resultobj
= Py_None
;
10763 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxGrid
*arg1
= (wxGrid
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self","arg2", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10779 if (arg2
== NULL
) {
10780 PyErr_SetString(PyExc_TypeError
,"null reference");
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxGrid
*arg1
= (wxGrid
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 PyObject
* obj2
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (int)SWIG_As_int(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg3
= (int)SWIG_As_int(obj2
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxGrid
*arg1
= (wxGrid
*) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 PyObject
* obj2
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10845 arg2
= (int)SWIG_As_int(obj1
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10847 arg3
= (int)SWIG_As_int(obj2
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 Py_INCREF(Py_None
); resultobj
= Py_None
;
10863 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxGrid
*arg1
= (wxGrid
*) 0 ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "self",(char *) "textOrientation", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10876 arg2
= (int)SWIG_As_int(obj1
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 (arg1
)->SetColLabelTextOrientation(arg2
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxGrid
*arg1
= (wxGrid
*) 0 ;
10896 wxString
*arg3
= 0 ;
10897 bool temp3
= False
;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 PyObject
* obj2
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self",(char *) "row","arg3", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= (int)SWIG_As_int(obj1
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 arg3
= wxString_in_helper(obj2
);
10912 if (arg3
== NULL
) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxGrid
*arg1
= (wxGrid
*) 0 ;
10941 wxString
*arg3
= 0 ;
10942 bool temp3
= False
;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 PyObject
* obj2
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "col","arg3", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 arg2
= (int)SWIG_As_int(obj1
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10956 arg3
= wxString_in_helper(obj2
);
10957 if (arg3
== NULL
) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10982 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxGrid
*arg1
= (wxGrid
*) 0 ;
10985 wxColour
*arg2
= 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self","arg2", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxGrid
*arg1
= (wxGrid
*) 0 ;
11017 wxColour
*arg2
= 0 ;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self","arg2", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 Py_INCREF(Py_None
); resultobj
= Py_None
;
11046 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxGrid
*arg1
= (wxGrid
*) 0 ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self",(char *) "width", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
11057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11059 arg2
= (int)SWIG_As_int(obj1
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 (arg1
)->SetCellHighlightPenWidth(arg2
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 Py_INCREF(Py_None
); resultobj
= Py_None
;
11075 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
;
11077 wxGrid
*arg1
= (wxGrid
*) 0 ;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 char *kwnames
[] = {
11082 (char *) "self",(char *) "width", NULL
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
11086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11088 arg2
= (int)SWIG_As_int(obj1
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 (arg1
)->SetCellHighlightROPenWidth(arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 Py_INCREF(Py_None
); resultobj
= Py_None
;
11104 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxGrid
*arg1
= (wxGrid
*) 0 ;
11107 bool arg2
= (bool) True
;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self",(char *) "enable", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11118 arg2
= (bool)SWIG_As_bool(obj1
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 (arg1
)->EnableDragRowSize(arg2
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxGrid
*arg1
= (wxGrid
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
11144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->DisableDragRowSize();
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxGrid
*arg1
= (wxGrid
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
11170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)(arg1
)->CanDragRowSize();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxGrid
*arg1
= (wxGrid
*) 0 ;
11191 bool arg2
= (bool) True
;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self",(char *) "enable", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11202 arg2
= (bool)SWIG_As_bool(obj1
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->EnableDragColSize(arg2
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxGrid
*arg1
= (wxGrid
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 (arg1
)->DisableDragColSize();
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11244 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxGrid
*arg1
= (wxGrid
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
11254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (bool)(arg1
)->CanDragColSize();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11272 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxGrid
*arg1
= (wxGrid
*) 0 ;
11275 bool arg2
= (bool) True
;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "enable", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 arg2
= (bool)SWIG_As_bool(obj1
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->EnableDragGridSize(arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxGrid
*arg1
= (wxGrid
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->DisableDragGridSize();
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxGrid
*arg1
= (wxGrid
*) 0 ;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (bool)(arg1
)->CanDragGridSize();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11356 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxGrid
*arg1
= (wxGrid
*) 0 ;
11359 bool arg2
= (bool) True
;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self",(char *) "enable", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11370 arg2
= (bool)SWIG_As_bool(obj1
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 (arg1
)->EnableDragCell(arg2
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 Py_INCREF(Py_None
); resultobj
= Py_None
;
11387 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxGrid
*arg1
= (wxGrid
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
11396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 (arg1
)->DisableDragCell();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 Py_INCREF(Py_None
); resultobj
= Py_None
;
11412 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxGrid
*arg1
= (wxGrid
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (bool)(arg1
)->CanDragCell();
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11440 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxGrid
*arg1
= (wxGrid
*) 0 ;
11445 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 PyObject
* obj2
= 0 ;
11449 PyObject
* obj3
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11457 arg2
= (int)SWIG_As_int(obj1
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11459 arg3
= (int)SWIG_As_int(obj2
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11461 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 Py_INCREF(Py_None
); resultobj
= Py_None
;
11477 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxGrid
*arg1
= (wxGrid
*) 0 ;
11481 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 PyObject
* obj2
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "row",(char *) "attr", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11492 arg2
= (int)SWIG_As_int(obj1
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11494 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 (arg1
)->SetRowAttr(arg2
,arg3
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxGrid
*arg1
= (wxGrid
*) 0 ;
11514 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 PyObject
* obj2
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self",(char *) "col",(char *) "attr", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11525 arg2
= (int)SWIG_As_int(obj1
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11527 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->SetColAttr(arg2
,arg3
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxGrid
*arg1
= (wxGrid
*) 0 ;
11548 wxGridCellAttr
*result
;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 PyObject
* obj2
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self",(char *) "row",(char *) "col", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11559 arg2
= (int)SWIG_As_int(obj1
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11561 arg3
= (int)SWIG_As_int(obj2
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
11579 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxGrid
*arg1
= (wxGrid
*) 0 ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self",(char *) "col", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11592 arg2
= (int)SWIG_As_int(obj1
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 (arg1
)->SetColFormatBool(arg2
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 Py_INCREF(Py_None
); resultobj
= Py_None
;
11608 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 wxGrid
*arg1
= (wxGrid
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 PyObject
* obj1
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self",(char *) "col", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11621 arg2
= (int)SWIG_As_int(obj1
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 (arg1
)->SetColFormatNumber(arg2
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 Py_INCREF(Py_None
); resultobj
= Py_None
;
11637 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxGrid
*arg1
= (wxGrid
*) 0 ;
11641 int arg3
= (int) -1 ;
11642 int arg4
= (int) -1 ;
11643 PyObject
* obj0
= 0 ;
11644 PyObject
* obj1
= 0 ;
11645 PyObject
* obj2
= 0 ;
11646 PyObject
* obj3
= 0 ;
11647 char *kwnames
[] = {
11648 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 arg2
= (int)SWIG_As_int(obj1
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 arg3
= (int)SWIG_As_int(obj2
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11661 arg4
= (int)SWIG_As_int(obj3
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 Py_INCREF(Py_None
); resultobj
= Py_None
;
11678 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxGrid
*arg1
= (wxGrid
*) 0 ;
11682 wxString
*arg3
= 0 ;
11683 bool temp3
= False
;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "col",(char *) "typeName", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11694 arg2
= (int)SWIG_As_int(obj1
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 arg3
= wxString_in_helper(obj2
);
11698 if (arg3
== NULL
) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 Py_INCREF(Py_None
); resultobj
= Py_None
;
11723 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxGrid
*arg1
= (wxGrid
*) 0 ;
11726 bool arg2
= (bool) True
;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 char *kwnames
[] = {
11730 (char *) "self",(char *) "enable", NULL
11733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11737 arg2
= (bool)SWIG_As_bool(obj1
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 (arg1
)->EnableGridLines(arg2
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 Py_INCREF(Py_None
); resultobj
= Py_None
;
11754 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxGrid
*arg1
= (wxGrid
*) 0 ;
11758 PyObject
* obj0
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)(arg1
)->GridLinesEnabled();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxGrid
*arg1
= (wxGrid
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (int)(arg1
)->GetDefaultRowSize();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_From_int((int)result
);
11808 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxGrid
*arg1
= (wxGrid
*) 0 ;
11813 PyObject
* obj0
= 0 ;
11814 PyObject
* obj1
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self",(char *) "row", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11822 arg2
= (int)SWIG_As_int(obj1
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (int)(arg1
)->GetRowSize(arg2
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_From_int((int)result
);
11838 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxGrid
*arg1
= (wxGrid
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 char *kwnames
[] = {
11844 (char *) "self", NULL
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (int)(arg1
)->GetDefaultColSize();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_From_int((int)result
);
11864 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxGrid
*arg1
= (wxGrid
*) 0 ;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self",(char *) "col", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11878 arg2
= (int)SWIG_As_int(obj1
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (int)(arg1
)->GetColSize(arg2
);
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_From_int((int)result
);
11894 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxGrid
*arg1
= (wxGrid
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "self", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (arg1
)->GetDefaultCellBackgroundColour();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 wxColour
* resultptr
;
11915 resultptr
= new wxColour((wxColour
&) result
);
11916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11924 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxGrid
*arg1
= (wxGrid
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 PyObject
* obj2
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self",(char *) "row",(char *) "col", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11940 arg2
= (int)SWIG_As_int(obj1
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11942 arg3
= (int)SWIG_As_int(obj2
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11952 wxColour
* resultptr
;
11953 resultptr
= new wxColour((wxColour
&) result
);
11954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11962 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxGrid
*arg1
= (wxGrid
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 char *kwnames
[] = {
11968 (char *) "self", NULL
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (arg1
)->GetDefaultCellTextColour();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 wxColour
* resultptr
;
11983 resultptr
= new wxColour((wxColour
&) result
);
11984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11992 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxGrid
*arg1
= (wxGrid
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 PyObject
* obj2
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self",(char *) "row",(char *) "col", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12008 arg2
= (int)SWIG_As_int(obj1
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12010 arg3
= (int)SWIG_As_int(obj2
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12020 wxColour
* resultptr
;
12021 resultptr
= new wxColour((wxColour
&) result
);
12022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12030 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxGrid
*arg1
= (wxGrid
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (arg1
)->GetDefaultCellFont();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 wxFont
* resultptr
;
12051 resultptr
= new wxFont((wxFont
&) result
);
12052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12060 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxGrid
*arg1
= (wxGrid
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 PyObject
* obj2
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self",(char *) "row",(char *) "col", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12076 arg2
= (int)SWIG_As_int(obj1
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12078 arg3
= (int)SWIG_As_int(obj2
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (arg1
)->GetCellFont(arg2
,arg3
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 wxFont
* resultptr
;
12089 resultptr
= new wxFont((wxFont
&) result
);
12090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12098 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxGrid
*arg1
= (wxGrid
*) 0 ;
12101 int *arg2
= (int *) 0 ;
12102 int *arg3
= (int *) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12113 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 Py_INCREF(Py_None
); resultobj
= Py_None
;
12125 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12126 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12127 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12128 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12135 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxGrid
*arg1
= (wxGrid
*) 0 ;
12140 int *arg4
= (int *) 0 ;
12141 int *arg5
= (int *) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 PyObject
* obj2
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "row",(char *) "col", NULL
12153 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12154 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12158 arg2
= (int)SWIG_As_int(obj1
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12160 arg3
= (int)SWIG_As_int(obj2
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 Py_INCREF(Py_None
); resultobj
= Py_None
;
12170 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12171 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
12172 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
12173 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
12180 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxGrid
*arg1
= (wxGrid
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (bool)(arg1
)->GetDefaultCellOverflow();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12208 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxGrid
*arg1
= (wxGrid
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 PyObject
* obj2
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self",(char *) "row",(char *) "col", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12224 arg2
= (int)SWIG_As_int(obj1
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12226 arg3
= (int)SWIG_As_int(obj2
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12244 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxGrid
*arg1
= (wxGrid
*) 0 ;
12249 int *arg4
= (int *) 0 ;
12250 int *arg5
= (int *) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 PyObject
* obj1
= 0 ;
12257 PyObject
* obj2
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self",(char *) "row",(char *) "col", NULL
12262 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12263 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12267 arg2
= (int)SWIG_As_int(obj1
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12269 arg3
= (int)SWIG_As_int(obj2
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12280 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
12281 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
12282 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
12289 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxGrid
*arg1
= (wxGrid
*) 0 ;
12293 bool arg3
= (bool) False
;
12294 PyObject
* obj0
= 0 ;
12295 PyObject
* obj1
= 0 ;
12296 PyObject
* obj2
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12304 arg2
= (int)SWIG_As_int(obj1
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 arg3
= (bool)SWIG_As_bool(obj2
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 Py_INCREF(Py_None
); resultobj
= Py_None
;
12324 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
;
12326 wxGrid
*arg1
= (wxGrid
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 PyObject
* obj2
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self",(char *) "row",(char *) "height", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 arg2
= (int)SWIG_As_int(obj1
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12341 arg3
= (int)SWIG_As_int(obj2
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetRowSize(arg2
,arg3
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxGrid
*arg1
= (wxGrid
*) 0 ;
12361 bool arg3
= (bool) False
;
12362 PyObject
* obj0
= 0 ;
12363 PyObject
* obj1
= 0 ;
12364 PyObject
* obj2
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 arg2
= (int)SWIG_As_int(obj1
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 arg3
= (bool)SWIG_As_bool(obj2
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetDefaultColSize(arg2
,arg3
);
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 Py_INCREF(Py_None
); resultobj
= Py_None
;
12392 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxGrid
*arg1
= (wxGrid
*) 0 ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 PyObject
* obj2
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self",(char *) "col",(char *) "width", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 arg2
= (int)SWIG_As_int(obj1
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12409 arg3
= (int)SWIG_As_int(obj2
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->SetColSize(arg2
,arg3
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 Py_INCREF(Py_None
); resultobj
= Py_None
;
12425 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxGrid
*arg1
= (wxGrid
*) 0 ;
12429 bool arg3
= (bool) True
;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 PyObject
* obj2
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12440 arg2
= (int)SWIG_As_int(obj1
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 arg3
= (bool)SWIG_As_bool(obj2
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->AutoSizeColumn(arg2
,arg3
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxGrid
*arg1
= (wxGrid
*) 0 ;
12464 bool arg3
= (bool) True
;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 PyObject
* obj2
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 arg2
= (int)SWIG_As_int(obj1
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 arg3
= (bool)SWIG_As_bool(obj2
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->AutoSizeRow(arg2
,arg3
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 Py_INCREF(Py_None
); resultobj
= Py_None
;
12495 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxGrid
*arg1
= (wxGrid
*) 0 ;
12498 bool arg2
= (bool) True
;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self",(char *) "setAsMin", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12509 arg2
= (bool)SWIG_As_bool(obj1
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->AutoSizeColumns(arg2
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 Py_INCREF(Py_None
); resultobj
= Py_None
;
12526 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxGrid
*arg1
= (wxGrid
*) 0 ;
12529 bool arg2
= (bool) True
;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "setAsMin", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 arg2
= (bool)SWIG_As_bool(obj1
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->AutoSizeRows(arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxGrid
*arg1
= (wxGrid
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 (arg1
)->AutoSize();
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 Py_INCREF(Py_None
); resultobj
= Py_None
;
12582 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxGrid
*arg1
= (wxGrid
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 PyObject
* obj1
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self",(char *) "row", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12595 arg2
= (int)SWIG_As_int(obj1
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->AutoSizeRowLabelSize(arg2
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxGrid
*arg1
= (wxGrid
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self",(char *) "col", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12624 arg2
= (int)SWIG_As_int(obj1
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->AutoSizeColLabelSize(arg2
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 Py_INCREF(Py_None
); resultobj
= Py_None
;
12640 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
;
12642 wxGrid
*arg1
= (wxGrid
*) 0 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 PyObject
* obj2
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self",(char *) "col",(char *) "width", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 arg2
= (int)SWIG_As_int(obj1
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12657 arg3
= (int)SWIG_As_int(obj2
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxGrid
*arg1
= (wxGrid
*) 0 ;
12678 PyObject
* obj0
= 0 ;
12679 PyObject
* obj1
= 0 ;
12680 PyObject
* obj2
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self",(char *) "row",(char *) "width", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12688 arg2
= (int)SWIG_As_int(obj1
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12690 arg3
= (int)SWIG_As_int(obj2
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12706 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxGrid
*arg1
= (wxGrid
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 PyObject
* obj1
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self",(char *) "width", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12719 arg2
= (int)SWIG_As_int(obj1
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 Py_INCREF(Py_None
); resultobj
= Py_None
;
12735 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxGrid
*arg1
= (wxGrid
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 PyObject
* obj1
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self",(char *) "width", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12748 arg2
= (int)SWIG_As_int(obj1
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 Py_INCREF(Py_None
); resultobj
= Py_None
;
12764 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxGrid
*arg1
= (wxGrid
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_From_int((int)result
);
12790 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxGrid
*arg1
= (wxGrid
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 resultobj
= SWIG_From_int((int)result
);
12816 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxGrid
*arg1
= (wxGrid
*) 0 ;
12819 wxColour
*arg2
= 0 ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self","arg2", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 Py_INCREF(Py_None
); resultobj
= Py_None
;
12848 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxGrid
*arg1
= (wxGrid
*) 0 ;
12853 wxColour
*arg4
= 0 ;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 PyObject
* obj2
= 0 ;
12858 PyObject
* obj3
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12866 arg2
= (int)SWIG_As_int(obj1
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12868 arg3
= (int)SWIG_As_int(obj2
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12872 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 Py_INCREF(Py_None
); resultobj
= Py_None
;
12888 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxGrid
*arg1
= (wxGrid
*) 0 ;
12891 wxColour
*arg2
= 0 ;
12893 PyObject
* obj0
= 0 ;
12894 PyObject
* obj1
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self","arg2", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12904 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 Py_INCREF(Py_None
); resultobj
= Py_None
;
12920 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxGrid
*arg1
= (wxGrid
*) 0 ;
12925 wxColour
*arg4
= 0 ;
12927 PyObject
* obj0
= 0 ;
12928 PyObject
* obj1
= 0 ;
12929 PyObject
* obj2
= 0 ;
12930 PyObject
* obj3
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12938 arg2
= (int)SWIG_As_int(obj1
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12940 arg3
= (int)SWIG_As_int(obj2
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12944 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 Py_INCREF(Py_None
); resultobj
= Py_None
;
12960 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxGrid
*arg1
= (wxGrid
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self","arg2", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12976 if (arg2
== NULL
) {
12977 PyErr_SetString(PyExc_TypeError
,"null reference");
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 Py_INCREF(Py_None
); resultobj
= Py_None
;
12994 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxGrid
*arg1
= (wxGrid
*) 0 ;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 PyObject
* obj2
= 0 ;
13003 PyObject
* obj3
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 arg2
= (int)SWIG_As_int(obj1
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13013 arg3
= (int)SWIG_As_int(obj2
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13015 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13018 if (arg4
== NULL
) {
13019 PyErr_SetString(PyExc_TypeError
,"null reference");
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 Py_INCREF(Py_None
); resultobj
= Py_None
;
13036 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13038 wxGrid
*arg1
= (wxGrid
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 PyObject
* obj2
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 arg2
= (int)SWIG_As_int(obj1
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13053 arg3
= (int)SWIG_As_int(obj2
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 Py_INCREF(Py_None
); resultobj
= Py_None
;
13069 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxGrid
*arg1
= (wxGrid
*) 0 ;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 PyObject
* obj2
= 0 ;
13079 PyObject
* obj3
= 0 ;
13080 PyObject
* obj4
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13088 arg2
= (int)SWIG_As_int(obj1
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13090 arg3
= (int)SWIG_As_int(obj2
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13092 arg4
= (int)SWIG_As_int(obj3
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13094 arg5
= (int)SWIG_As_int(obj4
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 Py_INCREF(Py_None
); resultobj
= Py_None
;
13110 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxGrid
*arg1
= (wxGrid
*) 0 ;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self",(char *) "allow", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13123 arg2
= (bool)SWIG_As_bool(obj1
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 (arg1
)->SetDefaultCellOverflow(arg2
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 Py_INCREF(Py_None
); resultobj
= Py_None
;
13139 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxGrid
*arg1
= (wxGrid
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 PyObject
* obj2
= 0 ;
13148 PyObject
* obj3
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 arg2
= (int)SWIG_As_int(obj1
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13158 arg3
= (int)SWIG_As_int(obj2
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13160 arg4
= (bool)SWIG_As_bool(obj3
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 Py_INCREF(Py_None
); resultobj
= Py_None
;
13176 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxGrid
*arg1
= (wxGrid
*) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 PyObject
* obj2
= 0 ;
13186 PyObject
* obj3
= 0 ;
13187 PyObject
* obj4
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13195 arg2
= (int)SWIG_As_int(obj1
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13197 arg3
= (int)SWIG_As_int(obj2
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13199 arg4
= (int)SWIG_As_int(obj3
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13201 arg5
= (int)SWIG_As_int(obj4
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 Py_INCREF(Py_None
); resultobj
= Py_None
;
13217 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxGrid
*arg1
= (wxGrid
*) 0 ;
13220 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "renderer", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
13231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->SetDefaultRenderer(arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxGrid
*arg1
= (wxGrid
*) 0 ;
13251 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 PyObject
* obj2
= 0 ;
13255 PyObject
* obj3
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13263 arg2
= (int)SWIG_As_int(obj1
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13265 arg3
= (int)SWIG_As_int(obj2
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13267 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
,
13268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxGrid
*arg1
= (wxGrid
*) 0 ;
13286 wxGridCellRenderer
*result
;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
13311 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxGrid
*arg1
= (wxGrid
*) 0 ;
13316 wxGridCellRenderer
*result
;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 PyObject
* obj2
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "row",(char *) "col", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13327 arg2
= (int)SWIG_As_int(obj1
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13329 arg3
= (int)SWIG_As_int(obj2
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
13347 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxGrid
*arg1
= (wxGrid
*) 0 ;
13350 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self",(char *) "editor", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
13361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 (arg1
)->SetDefaultEditor(arg2
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 Py_INCREF(Py_None
); resultobj
= Py_None
;
13376 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxGrid
*arg1
= (wxGrid
*) 0 ;
13381 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 PyObject
* obj2
= 0 ;
13385 PyObject
* obj3
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13393 arg2
= (int)SWIG_As_int(obj1
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13395 arg3
= (int)SWIG_As_int(obj2
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13397 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 Py_INCREF(Py_None
); resultobj
= Py_None
;
13413 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxGrid
*arg1
= (wxGrid
*) 0 ;
13416 wxGridCellEditor
*result
;
13417 PyObject
* obj0
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
13441 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxGrid
*arg1
= (wxGrid
*) 0 ;
13446 wxGridCellEditor
*result
;
13447 PyObject
* obj0
= 0 ;
13448 PyObject
* obj1
= 0 ;
13449 PyObject
* obj2
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "row",(char *) "col", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 arg2
= (int)SWIG_As_int(obj1
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13459 arg3
= (int)SWIG_As_int(obj2
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
13477 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxGrid
*arg1
= (wxGrid
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 PyObject
* obj1
= 0 ;
13485 PyObject
* obj2
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self",(char *) "row",(char *) "col", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13493 arg2
= (int)SWIG_As_int(obj1
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13495 arg3
= (int)SWIG_As_int(obj2
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13517 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
;
13519 wxGrid
*arg1
= (wxGrid
*) 0 ;
13522 wxString
*arg4
= 0 ;
13523 bool temp4
= False
;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 PyObject
* obj2
= 0 ;
13527 PyObject
* obj3
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13535 arg2
= (int)SWIG_As_int(obj1
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13537 arg3
= (int)SWIG_As_int(obj2
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 arg4
= wxString_in_helper(obj3
);
13541 if (arg4
== NULL
) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 Py_INCREF(Py_None
); resultobj
= Py_None
;
13566 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxGrid
*arg1
= (wxGrid
*) 0 ;
13572 PyObject
* obj0
= 0 ;
13573 PyObject
* obj1
= 0 ;
13574 PyObject
* obj2
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self",(char *) "row",(char *) "col", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13582 arg2
= (int)SWIG_As_int(obj1
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13584 arg3
= (int)SWIG_As_int(obj2
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13602 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxGrid
*arg1
= (wxGrid
*) 0 ;
13607 bool arg4
= (bool) True
;
13608 PyObject
* obj0
= 0 ;
13609 PyObject
* obj1
= 0 ;
13610 PyObject
* obj2
= 0 ;
13611 PyObject
* obj3
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13619 arg2
= (int)SWIG_As_int(obj1
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13621 arg3
= (int)SWIG_As_int(obj2
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 arg4
= (bool)SWIG_As_bool(obj3
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 Py_INCREF(Py_None
); resultobj
= Py_None
;
13641 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxGrid
*arg1
= (wxGrid
*) 0 ;
13645 bool arg3
= (bool) False
;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 PyObject
* obj2
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 arg2
= (int)SWIG_As_int(obj1
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 arg3
= (bool)SWIG_As_bool(obj2
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 (arg1
)->SelectRow(arg2
,arg3
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 Py_INCREF(Py_None
); resultobj
= Py_None
;
13676 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxGrid
*arg1
= (wxGrid
*) 0 ;
13680 bool arg3
= (bool) False
;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 PyObject
* obj2
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 arg2
= (int)SWIG_As_int(obj1
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 arg3
= (bool)SWIG_As_bool(obj2
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 (arg1
)->SelectCol(arg2
,arg3
);
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13704 Py_INCREF(Py_None
); resultobj
= Py_None
;
13711 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxGrid
*arg1
= (wxGrid
*) 0 ;
13718 bool arg6
= (bool) False
;
13719 PyObject
* obj0
= 0 ;
13720 PyObject
* obj1
= 0 ;
13721 PyObject
* obj2
= 0 ;
13722 PyObject
* obj3
= 0 ;
13723 PyObject
* obj4
= 0 ;
13724 PyObject
* obj5
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13732 arg2
= (int)SWIG_As_int(obj1
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13734 arg3
= (int)SWIG_As_int(obj2
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13736 arg4
= (int)SWIG_As_int(obj3
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13738 arg5
= (int)SWIG_As_int(obj4
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 arg6
= (bool)SWIG_As_bool(obj5
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 Py_INCREF(Py_None
); resultobj
= Py_None
;
13758 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxGrid
*arg1
= (wxGrid
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 (arg1
)->SelectAll();
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 Py_INCREF(Py_None
); resultobj
= Py_None
;
13783 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxGrid
*arg1
= (wxGrid
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (bool)(arg1
)->IsSelection();
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13811 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxGrid
*arg1
= (wxGrid
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 (arg1
)->ClearSelection();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 Py_INCREF(Py_None
); resultobj
= Py_None
;
13836 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxGrid
*arg1
= (wxGrid
*) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 PyObject
* obj2
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self",(char *) "row",(char *) "col", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13852 arg2
= (int)SWIG_As_int(obj1
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13854 arg3
= (int)SWIG_As_int(obj2
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13872 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxGrid
*arg1
= (wxGrid
*) 0 ;
13875 wxGridCellCoordsArray result
;
13876 PyObject
* obj0
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= wxGridCellCoordsArray_helper(result
);
13900 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxGrid
*arg1
= (wxGrid
*) 0 ;
13903 wxGridCellCoordsArray result
;
13904 PyObject
* obj0
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= wxGridCellCoordsArray_helper(result
);
13928 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxGrid
*arg1
= (wxGrid
*) 0 ;
13931 wxGridCellCoordsArray result
;
13932 PyObject
* obj0
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "self", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= wxGridCellCoordsArray_helper(result
);
13956 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxGrid
*arg1
= (wxGrid
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13976 resultobj
= PyList_New(0);
13978 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13979 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13980 PyList_Append(resultobj
, val
);
13990 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxGrid
*arg1
= (wxGrid
*) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= PyList_New(0);
14012 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
14013 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
14014 PyList_Append(resultobj
, val
);
14024 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxGrid
*arg1
= (wxGrid
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self",(char *) "row", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 arg2
= (int)SWIG_As_int(obj1
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 (arg1
)->DeselectRow(arg2
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 Py_INCREF(Py_None
); resultobj
= Py_None
;
14053 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxGrid
*arg1
= (wxGrid
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "col", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14066 arg2
= (int)SWIG_As_int(obj1
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 (arg1
)->DeselectCol(arg2
);
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 Py_INCREF(Py_None
); resultobj
= Py_None
;
14082 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxGrid
*arg1
= (wxGrid
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 PyObject
* obj2
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self",(char *) "row",(char *) "col", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14097 arg2
= (int)SWIG_As_int(obj1
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14099 arg3
= (int)SWIG_As_int(obj2
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 (arg1
)->DeselectCell(arg2
,arg3
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 Py_INCREF(Py_None
); resultobj
= Py_None
;
14115 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxGrid
*arg1
= (wxGrid
*) 0 ;
14118 wxGridCellCoords
*arg2
= 0 ;
14119 wxGridCellCoords
*arg3
= 0 ;
14121 wxGridCellCoords temp2
;
14122 wxGridCellCoords temp3
;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 PyObject
* obj2
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
14139 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 wxRect
* resultptr
;
14150 resultptr
= new wxRect((wxRect
&) result
);
14151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14159 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 wxGrid
*arg1
= (wxGrid
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
14169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 wxColour
* resultptr
;
14180 resultptr
= new wxColour((wxColour
&) result
);
14181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
14189 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxGrid
*arg1
= (wxGrid
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 wxColour
* resultptr
;
14210 resultptr
= new wxColour((wxColour
&) result
);
14211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
14219 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxGrid
*arg1
= (wxGrid
*) 0 ;
14222 wxColour
*arg2
= 0 ;
14224 PyObject
* obj0
= 0 ;
14225 PyObject
* obj1
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self",(char *) "c", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 Py_INCREF(Py_None
); resultobj
= Py_None
;
14251 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14252 PyObject
*resultobj
;
14253 wxGrid
*arg1
= (wxGrid
*) 0 ;
14254 wxColour
*arg2
= 0 ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self",(char *) "c", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 Py_INCREF(Py_None
); resultobj
= Py_None
;
14283 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxGrid
*arg1
= (wxGrid
*) 0 ;
14286 wxString
*arg2
= 0 ;
14287 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
14288 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
14289 bool temp2
= False
;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 PyObject
* obj2
= 0 ;
14293 PyObject
* obj3
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14302 arg2
= wxString_in_helper(obj1
);
14303 if (arg2
== NULL
) SWIG_fail
;
14306 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
,
14307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
14309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 Py_INCREF(Py_None
); resultobj
= Py_None
;
14332 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxGrid
*arg1
= (wxGrid
*) 0 ;
14337 wxGridCellEditor
*result
;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "row",(char *) "col", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14348 arg2
= (int)SWIG_As_int(obj1
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14350 arg3
= (int)SWIG_As_int(obj2
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
14368 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxGrid
*arg1
= (wxGrid
*) 0 ;
14373 wxGridCellRenderer
*result
;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 PyObject
* obj2
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self",(char *) "row",(char *) "col", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 arg2
= (int)SWIG_As_int(obj1
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14386 arg3
= (int)SWIG_As_int(obj2
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
14404 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxGrid
*arg1
= (wxGrid
*) 0 ;
14407 wxString
*arg2
= 0 ;
14408 wxGridCellEditor
*result
;
14409 bool temp2
= False
;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self",(char *) "typeName", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14420 arg2
= wxString_in_helper(obj1
);
14421 if (arg2
== NULL
) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
14448 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxGrid
*arg1
= (wxGrid
*) 0 ;
14451 wxString
*arg2
= 0 ;
14452 wxGridCellRenderer
*result
;
14453 bool temp2
= False
;
14454 PyObject
* obj0
= 0 ;
14455 PyObject
* obj1
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "typeName", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14464 arg2
= wxString_in_helper(obj1
);
14465 if (arg2
== NULL
) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
14492 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxGrid
*arg1
= (wxGrid
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 PyObject
* obj2
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 arg2
= (int)SWIG_As_int(obj1
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14509 arg3
= (int)SWIG_As_int(obj2
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 (arg1
)->SetMargins(arg2
,arg3
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 Py_INCREF(Py_None
); resultobj
= Py_None
;
14525 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxGrid
*arg1
= (wxGrid
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= wxPyMake_wxObject(result
, 0);
14553 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxGrid
*arg1
= (wxGrid
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= wxPyMake_wxObject(result
, 0);
14581 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxGrid
*arg1
= (wxGrid
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= wxPyMake_wxObject(result
, 0);
14609 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxGrid
*arg1
= (wxGrid
*) 0 ;
14613 PyObject
* obj0
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= wxPyMake_wxObject(result
, 0);
14637 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14640 wxVisualAttributes result
;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "variant", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14648 arg1
= (int)SWIG_As_int(obj0
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 if (!wxPyCheckForApp()) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= wxGrid::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 wxVisualAttributes
* resultptr
;
14661 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14670 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
14672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14673 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14675 return Py_BuildValue((char *)"");
14677 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14681 wxGrid
*arg3
= (wxGrid
*) 0 ;
14682 int arg4
= (int) -1 ;
14683 int arg5
= (int) -1 ;
14684 int arg6
= (int) -1 ;
14685 int arg7
= (int) -1 ;
14686 bool arg8
= (bool) True
;
14687 bool arg9
= (bool) False
;
14688 bool arg10
= (bool) False
;
14689 bool arg11
= (bool) False
;
14690 bool arg12
= (bool) False
;
14691 wxGridEvent
*result
;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 PyObject
* obj2
= 0 ;
14695 PyObject
* obj3
= 0 ;
14696 PyObject
* obj4
= 0 ;
14697 PyObject
* obj5
= 0 ;
14698 PyObject
* obj6
= 0 ;
14699 PyObject
* obj7
= 0 ;
14700 PyObject
* obj8
= 0 ;
14701 PyObject
* obj9
= 0 ;
14702 PyObject
* obj10
= 0 ;
14703 PyObject
* obj11
= 0 ;
14704 char *kwnames
[] = {
14705 (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
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
14709 arg1
= (int)SWIG_As_int(obj0
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14711 arg2
= (wxEventType
)SWIG_As_int(obj1
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14713 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 arg4
= (int)SWIG_As_int(obj3
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14720 arg5
= (int)SWIG_As_int(obj4
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14724 arg6
= (int)SWIG_As_int(obj5
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 arg7
= (int)SWIG_As_int(obj6
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 arg8
= (bool)SWIG_As_bool(obj7
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 arg9
= (bool)SWIG_As_bool(obj8
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 arg10
= (bool)SWIG_As_bool(obj9
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14744 arg11
= (bool)SWIG_As_bool(obj10
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14748 arg12
= (bool)SWIG_As_bool(obj11
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
14765 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (int)(arg1
)->GetRow();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_From_int((int)result
);
14791 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (int)(arg1
)->GetCol();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_From_int((int)result
);
14817 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (arg1
)->GetPosition();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14837 wxPoint
* resultptr
;
14838 resultptr
= new wxPoint((wxPoint
&) result
);
14839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14847 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (bool)(arg1
)->Selecting();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14875 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (bool)(arg1
)->ControlDown();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14903 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14907 PyObject
* obj0
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (bool)(arg1
)->MetaDown();
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14931 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (bool)(arg1
)->ShiftDown();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14959 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (bool)(arg1
)->AltDown();
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14987 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
14989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14990 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
14992 return Py_BuildValue((char *)"");
14994 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14998 wxGrid
*arg3
= (wxGrid
*) 0 ;
14999 int arg4
= (int) -1 ;
15000 int arg5
= (int) -1 ;
15001 int arg6
= (int) -1 ;
15002 bool arg7
= (bool) False
;
15003 bool arg8
= (bool) False
;
15004 bool arg9
= (bool) False
;
15005 bool arg10
= (bool) False
;
15006 wxGridSizeEvent
*result
;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 PyObject
* obj2
= 0 ;
15010 PyObject
* obj3
= 0 ;
15011 PyObject
* obj4
= 0 ;
15012 PyObject
* obj5
= 0 ;
15013 PyObject
* obj6
= 0 ;
15014 PyObject
* obj7
= 0 ;
15015 PyObject
* obj8
= 0 ;
15016 PyObject
* obj9
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15022 arg1
= (int)SWIG_As_int(obj0
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15024 arg2
= (wxEventType
)SWIG_As_int(obj1
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15026 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 arg4
= (int)SWIG_As_int(obj3
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15033 arg5
= (int)SWIG_As_int(obj4
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15037 arg6
= (int)SWIG_As_int(obj5
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 arg7
= (bool)SWIG_As_bool(obj6
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 arg8
= (bool)SWIG_As_bool(obj7
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15049 arg9
= (bool)SWIG_As_bool(obj8
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15053 arg10
= (bool)SWIG_As_bool(obj9
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
15070 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
;
15072 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15084 result
= (int)(arg1
)->GetRowOrCol();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_From_int((int)result
);
15096 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (arg1
)->GetPosition();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15116 wxPoint
* resultptr
;
15117 resultptr
= new wxPoint((wxPoint
&) result
);
15118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15126 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 result
= (bool)(arg1
)->ControlDown();
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15154 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15158 PyObject
* obj0
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (bool)(arg1
)->MetaDown();
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15182 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (bool)(arg1
)->ShiftDown();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15210 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 char *kwnames
[] = {
15216 (char *) "self", NULL
15219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= (bool)(arg1
)->AltDown();
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15238 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
15240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15241 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
15243 return Py_BuildValue((char *)"");
15245 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15249 wxGrid
*arg3
= (wxGrid
*) 0 ;
15250 wxGridCellCoords
*arg4
= 0 ;
15251 wxGridCellCoords
*arg5
= 0 ;
15252 bool arg6
= (bool) True
;
15253 bool arg7
= (bool) False
;
15254 bool arg8
= (bool) False
;
15255 bool arg9
= (bool) False
;
15256 bool arg10
= (bool) False
;
15257 wxGridRangeSelectEvent
*result
;
15258 wxGridCellCoords temp4
;
15259 wxGridCellCoords temp5
;
15260 PyObject
* obj0
= 0 ;
15261 PyObject
* obj1
= 0 ;
15262 PyObject
* obj2
= 0 ;
15263 PyObject
* obj3
= 0 ;
15264 PyObject
* obj4
= 0 ;
15265 PyObject
* obj5
= 0 ;
15266 PyObject
* obj6
= 0 ;
15267 PyObject
* obj7
= 0 ;
15268 PyObject
* obj8
= 0 ;
15269 PyObject
* obj9
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15275 arg1
= (int)SWIG_As_int(obj0
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15277 arg2
= (wxEventType
)SWIG_As_int(obj1
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15279 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15283 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
15287 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
15290 arg6
= (bool)SWIG_As_bool(obj5
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 arg7
= (bool)SWIG_As_bool(obj6
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15298 arg8
= (bool)SWIG_As_bool(obj7
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15302 arg9
= (bool)SWIG_As_bool(obj8
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 arg10
= (bool)SWIG_As_bool(obj9
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
15323 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15326 wxGridCellCoords result
;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (arg1
)->GetTopLeftCoords();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 wxGridCellCoords
* resultptr
;
15344 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15353 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15356 wxGridCellCoords result
;
15357 PyObject
* obj0
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
15363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (arg1
)->GetBottomRightCoords();
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15373 wxGridCellCoords
* resultptr
;
15374 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15383 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
15393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (int)(arg1
)->GetTopRow();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= SWIG_From_int((int)result
);
15409 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 result
= (int)(arg1
)->GetBottomRow();
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_From_int((int)result
);
15435 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (int)(arg1
)->GetLeftCol();
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_From_int((int)result
);
15461 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 char *kwnames
[] = {
15467 (char *) "self", NULL
15470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
15471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (int)(arg1
)->GetRightCol();
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_From_int((int)result
);
15487 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (bool)(arg1
)->Selecting();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15515 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (bool)(arg1
)->ControlDown();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15543 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)(arg1
)->MetaDown();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (bool)(arg1
)->ShiftDown();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (bool)(arg1
)->AltDown();
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15627 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
15629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15630 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15632 return Py_BuildValue((char *)"");
15634 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15638 wxObject
*arg3
= (wxObject
*) 0 ;
15641 wxControl
*arg6
= (wxControl
*) 0 ;
15642 wxGridEditorCreatedEvent
*result
;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 PyObject
* obj2
= 0 ;
15646 PyObject
* obj3
= 0 ;
15647 PyObject
* obj4
= 0 ;
15648 PyObject
* obj5
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15654 arg1
= (int)SWIG_As_int(obj0
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15656 arg2
= (wxEventType
)SWIG_As_int(obj1
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15658 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
,
15659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 arg4
= (int)SWIG_As_int(obj3
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15662 arg5
= (int)SWIG_As_int(obj4
);
15663 if (PyErr_Occurred()) SWIG_fail
;
15664 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15680 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= (int)(arg1
)->GetRow();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_From_int((int)result
);
15706 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (int)(arg1
)->GetCol();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_From_int((int)result
);
15732 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15736 PyObject
* obj0
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (wxControl
*)(arg1
)->GetControl();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= wxPyMake_wxObject(result
, 0);
15760 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
;
15762 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "row", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 arg2
= (int)SWIG_As_int(obj1
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 (arg1
)->SetRow(arg2
);
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 Py_INCREF(Py_None
); resultobj
= Py_None
;
15789 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "col", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 arg2
= (int)SWIG_As_int(obj1
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 (arg1
)->SetCol(arg2
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 Py_INCREF(Py_None
); resultobj
= Py_None
;
15818 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15821 wxControl
*arg2
= (wxControl
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 PyObject
* obj1
= 0 ;
15824 char *kwnames
[] = {
15825 (char *) "self",(char *) "ctrl", NULL
15828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 (arg1
)->SetControl(arg2
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 Py_INCREF(Py_None
); resultobj
= Py_None
;
15847 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
15849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15850 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
15852 return Py_BuildValue((char *)"");
15854 static PyMethodDef SwigMethods
[] = {
15855 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15856 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15857 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15858 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15859 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15860 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15861 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15862 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
15863 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15864 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15865 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15866 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
15867 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15868 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
15869 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15870 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
15871 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15872 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15873 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15874 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15875 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15876 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
15877 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15878 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
15879 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15880 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
15881 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15882 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
15883 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15884 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
15885 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15886 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15887 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15888 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15889 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15890 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15891 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15892 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15893 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15894 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15895 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15896 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15897 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15898 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15899 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15900 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15901 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15902 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15903 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15904 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15905 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15906 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15907 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
15908 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15909 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15910 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15911 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15912 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15913 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15914 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15915 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15916 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15917 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15918 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15919 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
15920 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15921 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15922 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
15923 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15924 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15925 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
15926 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15927 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15928 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
15929 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15930 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15931 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
15932 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15933 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15934 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
15935 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15936 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15937 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
15938 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15939 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15940 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
15941 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15942 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15943 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15944 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15945 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15946 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15947 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15948 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15949 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15950 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15951 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15952 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15953 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15954 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15955 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15956 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15957 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15958 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15959 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15960 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15961 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15962 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15963 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15964 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15965 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15966 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15967 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15968 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15969 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15970 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15971 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15972 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15973 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15974 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15975 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15976 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
15977 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15978 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15979 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15980 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15981 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15982 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15983 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15984 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15985 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
15986 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15987 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15988 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15989 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15990 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15991 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15992 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
15993 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15994 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15995 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15996 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15997 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15998 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
15999 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16000 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16001 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16002 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16003 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16004 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16005 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16006 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16007 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16008 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16009 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16010 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16011 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16012 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16013 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16014 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16015 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16016 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16017 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16018 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16019 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16020 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16021 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16022 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16023 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16024 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16025 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16026 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16027 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16028 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
16029 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16030 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16031 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16032 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16033 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16034 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16035 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16036 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16037 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16038 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16039 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16040 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16041 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16042 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16043 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16044 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16045 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16046 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16047 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16048 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16049 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16050 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16051 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
16052 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16053 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
16054 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16055 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16056 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16057 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16058 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16059 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16060 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16061 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16062 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16063 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16064 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
16065 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16066 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16067 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16068 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16069 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16070 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16071 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16072 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16073 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16074 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16075 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
16076 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16077 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16078 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16079 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16080 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16081 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16082 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16083 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16084 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16085 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16086 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16087 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16088 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16089 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16090 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16091 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16092 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16093 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16094 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16095 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16096 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16097 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16098 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16099 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16100 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16101 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16102 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16103 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16104 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16105 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16106 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16107 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16108 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16109 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16110 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16111 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16112 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16113 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16114 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16115 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16116 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16117 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16118 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16119 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16120 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16121 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16122 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16123 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16124 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16125 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16126 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16127 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16128 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16129 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16130 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16131 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16132 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16133 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16134 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16135 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16136 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16137 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16138 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16139 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16140 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16141 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16142 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16143 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16144 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16145 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16146 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16147 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16148 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16149 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16150 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16151 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16152 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16153 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16154 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16155 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16156 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16157 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16158 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16159 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16160 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16161 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16162 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16163 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16164 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16165 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16166 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16167 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16168 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16169 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16170 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16171 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16172 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16173 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16174 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16175 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16176 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16177 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16178 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16179 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16180 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16181 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16182 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16183 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16184 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16185 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16186 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16187 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16188 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16189 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16190 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16191 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16192 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16193 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16194 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16195 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16196 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16197 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16198 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16199 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16200 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16201 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16202 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16203 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16204 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16205 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16206 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16207 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16208 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16209 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16210 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16211 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16212 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16213 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16214 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16215 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16216 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16217 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16218 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16219 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16220 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16221 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16222 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16223 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16224 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16225 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16226 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16227 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16228 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16229 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16230 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16231 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16232 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16233 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16234 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16235 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16236 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16237 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16238 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16239 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16240 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16241 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16242 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16243 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16244 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16245 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16246 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16247 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16248 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16249 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16250 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16251 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16252 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16253 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16254 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16255 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16256 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16257 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16258 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16259 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16260 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16261 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16262 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16263 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16264 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16265 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16266 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16267 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16268 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16269 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16270 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16271 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
16272 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16273 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16274 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16275 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16276 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16277 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16278 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16279 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16280 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16281 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
16282 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16283 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16284 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16285 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16286 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16287 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16288 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16289 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
16290 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16291 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16292 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16293 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16294 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16295 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16296 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16297 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16298 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16299 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16300 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16301 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16302 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
16303 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16304 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16305 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16306 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16307 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16308 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16309 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16310 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
16311 { NULL
, NULL
, 0, NULL
}
16315 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16317 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
16318 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
16320 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
16321 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
16323 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
16324 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16326 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
16327 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16329 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
16330 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
16332 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
16333 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16335 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
16336 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16338 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
16339 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16341 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
16342 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16344 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
16345 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16347 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
16348 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16350 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
16351 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16353 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
16354 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16356 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
16357 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
16359 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
16360 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16362 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
16363 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16365 static void *_p_wxGridTo_p_wxPanel(void *x
) {
16366 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
16368 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
16369 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16371 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
16372 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16374 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
16375 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
16377 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
16378 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16380 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
16381 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
16383 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
16384 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16386 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
16387 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16389 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
16390 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16392 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
16393 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16395 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
16396 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
16398 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
16399 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16401 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
16402 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
16404 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
16405 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16407 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
16408 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16410 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
16411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16413 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
16414 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
16416 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16417 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16419 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
16420 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16422 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
16423 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16425 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
16426 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16428 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
16429 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16431 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
16432 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16434 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
16435 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16437 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
16438 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16440 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
16441 return (void *)((wxWindow
*) ((wxPanel
*) x
));
16443 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
16444 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
16446 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
16447 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
16449 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
16450 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16452 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
16453 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16455 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
16456 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16458 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
16459 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
16461 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
16462 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16464 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
16465 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
16467 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
16468 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
16470 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
16471 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
16473 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
16474 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
16476 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
16477 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
16479 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
16480 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16482 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16483 return (void *)((wxWindow
*) ((wxControl
*) x
));
16485 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
16486 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16488 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
16489 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16491 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
16492 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16494 static void *_p_wxGridTo_p_wxWindow(void *x
) {
16495 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16497 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16498 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16500 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
16501 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
16503 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
16504 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16506 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16507 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16509 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16510 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16512 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16513 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16515 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16516 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16518 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16519 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16521 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16522 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16524 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16525 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16527 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16528 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16530 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16531 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16533 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16534 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16536 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16537 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16539 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16540 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16542 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16543 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16545 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16546 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16548 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16549 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16551 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16552 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16554 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16555 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16557 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16558 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16560 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16561 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16563 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16564 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16566 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16567 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16569 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16570 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16572 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16573 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16575 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16576 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16578 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16579 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16581 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16582 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16584 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16585 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16587 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16588 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16590 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16591 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16593 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16594 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16596 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16597 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16599 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16600 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16602 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16603 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16605 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16606 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16608 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16609 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16611 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16612 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16614 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16615 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16617 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16618 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16620 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16621 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16623 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16624 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16626 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16627 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16629 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16630 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16632 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16633 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16635 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16636 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16638 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16639 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16641 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16642 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16644 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16645 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16647 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16650 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16651 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16653 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16654 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16656 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16657 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16659 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16660 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16662 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16665 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16666 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16668 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16669 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16671 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16672 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16674 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16675 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16677 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16678 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16680 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16681 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16683 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16684 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16686 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16689 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16692 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16693 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16695 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16696 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16698 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16701 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16702 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16704 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16705 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16707 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16708 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16710 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16711 return (void *)((wxObject
*) ((wxSizer
*) x
));
16713 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16714 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16716 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16717 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16719 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16722 static void *_p_wxEventTo_p_wxObject(void *x
) {
16723 return (void *)((wxObject
*) ((wxEvent
*) x
));
16725 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16726 return (void *)((wxObject
*) ((wxFontData
*) x
));
16728 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16729 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16731 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16732 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16734 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16735 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16737 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16738 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16740 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16741 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16743 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
16744 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
16746 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16749 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16750 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16752 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16753 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16755 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16756 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16758 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16759 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16761 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16762 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16764 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16765 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16767 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16768 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16770 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16773 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16776 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16779 static void *_p_wxControlTo_p_wxObject(void *x
) {
16780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16782 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16783 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16785 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16788 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16789 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16791 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16792 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16794 static void *_p_wxGridTo_p_wxObject(void *x
) {
16795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16797 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16798 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16800 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16803 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16804 return (void *)((wxObject
*) ((wxColourData
*) x
));
16806 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16807 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16809 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16810 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16812 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16815 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16818 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16821 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
16822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16824 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
16825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16827 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
16828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16830 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
16831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16833 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
16834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16836 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
16837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16839 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16840 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16842 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
16843 return (void *)((wxObject
*) ((wxPrinter
*) x
));
16845 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16846 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16848 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16849 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16851 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16854 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16855 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16857 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16858 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16860 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16861 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16863 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16864 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16866 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16867 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16869 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16870 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16872 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
16873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16875 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16878 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16881 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16884 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16885 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16887 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16890 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16891 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16893 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16894 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16896 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16897 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16899 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16900 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16902 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16903 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16905 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16906 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16908 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16909 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16911 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16912 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16914 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
16915 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16917 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
16918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16920 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
16921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16923 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
16924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16926 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16927 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16929 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
16930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16932 static void *_p_wxImageTo_p_wxObject(void *x
) {
16933 return (void *)((wxObject
*) ((wxImage
*) x
));
16935 static void *_p_wxFrameTo_p_wxObject(void *x
) {
16936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
16938 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
16939 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
16941 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16942 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16944 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
16945 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16947 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
16948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
16950 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
16951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16953 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16956 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16957 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16959 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16960 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16962 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16963 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16965 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16966 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16968 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16971 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
16972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
16974 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
16975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
16977 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
16978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
16980 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
16981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
16983 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
16984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
16986 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
16987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16989 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
16990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
16992 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
16993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16995 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
16996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
16998 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
16999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
17001 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
17002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
17004 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
17005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
17007 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
17008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
17010 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
17011 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
17013 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
17014 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
17016 static void *_p_wxPanelTo_p_wxObject(void *x
) {
17017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
17019 static void *_p_wxDialogTo_p_wxObject(void *x
) {
17020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
17022 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
17023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
17025 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
17026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
17028 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
17029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
17031 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
17032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
17034 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
17035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
17037 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
17038 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
17040 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
17041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17043 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
17044 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
17046 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
17047 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
17049 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
17050 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
17052 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
17053 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
17055 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
17056 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
17058 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
17059 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
17061 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
17062 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
17064 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
17065 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17067 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
17068 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
17070 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
17071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
17073 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
17074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
17076 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
17077 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
17079 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
17080 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
17082 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
17083 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17085 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
17086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
17088 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
17089 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
17091 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
17092 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
17094 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
17095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
17097 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
17098 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
17100 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
17101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
17103 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
17104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
17106 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
17107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
17109 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
17110 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
17112 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
17113 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
17115 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
17116 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
17118 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
17119 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
17121 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
17122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
17124 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
17125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
17127 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
17128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
17130 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
17131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
17133 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
17134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
17136 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
17137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
17139 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
17140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
17142 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
17143 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
17145 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
17146 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
17148 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
17149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
17151 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
17152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
17154 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
17155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
17157 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
17158 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
17160 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
17161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
17163 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
17164 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
17166 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
17167 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
17169 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
17170 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
17172 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
17173 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
17175 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
17176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
17178 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
17179 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
17181 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
17182 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
17184 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
17185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
17187 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
17188 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
17190 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
17191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
17193 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
17194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
17196 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
17197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
17199 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
17200 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
17202 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
17203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
17205 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
17206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
17208 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
17209 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
17211 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
17212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
17214 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
17215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
17217 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
17218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
17220 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
17221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
17223 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
17224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
17226 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
17227 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
17229 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
17230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
17232 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
17233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
17235 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
17236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
17238 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
17239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
17241 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
17242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
17244 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
17245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
17247 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
17248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
17250 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
17251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
17253 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
17254 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
17256 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
17257 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
17259 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
17260 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
17262 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
17263 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
17265 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
17266 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17268 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
17269 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17271 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
17272 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
17274 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
17275 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
17277 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
17278 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17280 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
17281 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17283 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
17284 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17286 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
17287 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17289 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
17290 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17292 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
17293 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
17295 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
17296 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17298 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
17299 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17301 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
17302 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
17304 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
17305 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17307 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
17308 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17310 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
17311 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17313 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
17314 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
17316 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
17317 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
17319 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
17320 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17322 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
17323 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
17325 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
17326 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
17328 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
17329 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17331 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
17332 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17334 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
17335 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17337 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
17338 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
17340 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
17341 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17343 static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer
[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17344 static swig_type_info _swigt__p_wxGridCellEnumRenderer
[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17345 static swig_type_info _swigt__p_wxGridCellDateTimeRenderer
[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17346 static swig_type_info _swigt__p_wxGridCellBoolRenderer
[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17347 static swig_type_info _swigt__p_wxGridCellFloatRenderer
[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17348 static swig_type_info _swigt__p_wxGridCellNumberRenderer
[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17349 static swig_type_info _swigt__p_wxPyGridCellRenderer
[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17350 static swig_type_info _swigt__p_wxGridCellRenderer
[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0, 0, 0, 0},{"_p_wxGridCellRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17351 static swig_type_info _swigt__p_wxGridCellStringRenderer
[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17352 static swig_type_info _swigt__p_wxGridCellAttr
[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0, 0, 0, 0},{"_p_wxGridCellAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17353 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17354 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17355 static swig_type_info _swigt__p_wxGridTableMessage
[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17356 static swig_type_info _swigt__p_wxGrid
[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17357 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17358 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17359 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17360 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17361 static swig_type_info _swigt__p_wxGridRangeSelectEvent
[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17362 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17363 static swig_type_info _swigt__p_wxGridCellCoords
[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0, 0, 0, 0},{"_p_wxGridCellCoords", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17364 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17365 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17366 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17367 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17368 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17369 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17370 static swig_type_info _swigt__p_wxGridSizeEvent
[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17371 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17372 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17373 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17374 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17375 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17376 static swig_type_info _swigt__p_wxGridEvent
[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0, 0, 0, 0},{"_p_wxGridEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17377 static swig_type_info _swigt__p_wxGridEditorCreatedEvent
[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17378 static swig_type_info _swigt__p_wxGridTableBase
[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase
, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17379 static swig_type_info _swigt__p_wxGridCellNumberEditor
[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17380 static swig_type_info _swigt__p_wxPyGridCellEditor
[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0, 0, 0, 0},{"_p_wxPyGridCellEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17381 static swig_type_info _swigt__p_wxGridCellEditor
[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0, 0, 0, 0},{"_p_wxGridCellEditor", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17382 static swig_type_info _swigt__p_wxGridCellTextEditor
[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0, 0, 0, 0},{"_p_wxGridCellTextEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17383 static swig_type_info _swigt__p_wxGridCellFloatEditor
[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17384 static swig_type_info _swigt__p_wxGridCellBoolEditor
[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17385 static swig_type_info _swigt__p_wxPyGridTableBase
[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0, 0, 0, 0},{"_p_wxPyGridTableBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17386 static swig_type_info _swigt__p_wxGridStringTable
[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0, 0, 0, 0},{"_p_wxGridStringTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17387 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17388 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17389 static swig_type_info _swigt__p_wxGridCellAttrProvider
[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17390 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17391 static swig_type_info _swigt__p_wxGridCellChoiceEditor
[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17392 static swig_type_info _swigt__p_wxGridCellEnumEditor
[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17393 static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor
[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17394 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17395 static swig_type_info _swigt__p_wxPyGridCellAttrProvider
[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17397 static swig_type_info
*swig_types_initial
[] = {
17398 _swigt__p_wxGridCellAutoWrapStringRenderer
,
17399 _swigt__p_wxGridCellEnumRenderer
,
17400 _swigt__p_wxGridCellDateTimeRenderer
,
17401 _swigt__p_wxGridCellBoolRenderer
,
17402 _swigt__p_wxGridCellFloatRenderer
,
17403 _swigt__p_wxGridCellNumberRenderer
,
17404 _swigt__p_wxPyGridCellRenderer
,
17405 _swigt__p_wxGridCellRenderer
,
17406 _swigt__p_wxGridCellStringRenderer
,
17407 _swigt__p_wxGridCellAttr
,
17408 _swigt__p_wxColour
,
17410 _swigt__p_wxGridTableMessage
,
17412 _swigt__p_wxVisualAttributes
,
17415 _swigt__p_wxNotifyEvent
,
17416 _swigt__p_wxGridRangeSelectEvent
,
17418 _swigt__p_wxGridCellCoords
,
17419 _swigt__p_wxScrolledWindow
,
17420 _swigt__p_wxWindow
,
17422 _swigt__p_wxControl
,
17424 _swigt__p_wxObject
,
17425 _swigt__p_wxGridSizeEvent
,
17428 _swigt__p_wxString
,
17429 _swigt__p_wxEvtHandler
,
17431 _swigt__p_wxGridEvent
,
17432 _swigt__p_wxGridEditorCreatedEvent
,
17433 _swigt__p_wxGridTableBase
,
17434 _swigt__p_wxGridCellNumberEditor
,
17435 _swigt__p_wxPyGridCellEditor
,
17436 _swigt__p_wxGridCellEditor
,
17437 _swigt__p_wxGridCellTextEditor
,
17438 _swigt__p_wxGridCellFloatEditor
,
17439 _swigt__p_wxGridCellBoolEditor
,
17440 _swigt__p_wxPyGridTableBase
,
17441 _swigt__p_wxGridStringTable
,
17442 _swigt__p_wxArrayString
,
17443 _swigt__p_wxCommandEvent
,
17444 _swigt__p_wxGridCellAttrProvider
,
17445 _swigt__p_wxKeyEvent
,
17446 _swigt__p_wxGridCellChoiceEditor
,
17447 _swigt__p_wxGridCellEnumEditor
,
17448 _swigt__p_wxGridCellAutoWrapStringEditor
,
17450 _swigt__p_wxPyGridCellAttrProvider
,
17455 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17457 static swig_const_info swig_const_table
[] = {
17458 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17459 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
17460 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17461 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
17462 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
17463 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17464 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17465 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
17466 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
17467 {0, 0, 0, 0.0, 0, 0}};
17476 SWIGEXPORT(void) SWIG_init(void) {
17477 static PyObject
*SWIG_globals
= 0;
17478 static int typeinit
= 0;
17481 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17482 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17483 d
= PyModule_GetDict(m
);
17486 for (i
= 0; swig_types_initial
[i
]; i
++) {
17487 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17491 SWIG_InstallConstants(d
,swig_const_table
);
17493 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17494 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
17495 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17496 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17497 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17498 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17499 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17500 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17501 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17502 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17503 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17504 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
17505 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
17506 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)wxGRID_DEFAULT_NUMBER_ROWS
));
17507 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)wxGRID_DEFAULT_NUMBER_COLS
));
17508 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)wxGRID_DEFAULT_ROW_HEIGHT
));
17509 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_COL_WIDTH
));
17510 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)wxGRID_DEFAULT_COL_LABEL_HEIGHT
));
17511 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_ROW_LABEL_WIDTH
));
17512 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)wxGRID_LABEL_EDGE_ZONE
));
17513 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)wxGRID_MIN_ROW_HEIGHT
));
17514 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)wxGRID_MIN_COL_WIDTH
));
17515 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_SCROLLBAR_WIDTH
));
17516 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_From_int((int)wxGridCellAttr::Any
));
17517 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_From_int((int)wxGridCellAttr::Default
));
17518 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_From_int((int)wxGridCellAttr::Cell
));
17519 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_From_int((int)wxGridCellAttr::Row
));
17520 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_From_int((int)wxGridCellAttr::Col
));
17521 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_From_int((int)wxGridCellAttr::Merged
));
17522 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
17523 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
17524 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
17525 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
17526 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
17527 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
17528 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
17529 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
17530 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_From_int((int)wxGrid::wxGridSelectCells
));
17531 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_From_int((int)wxGrid::wxGridSelectRows
));
17532 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_From_int((int)wxGrid::wxGridSelectColumns
));
17533 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17534 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17535 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17536 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17537 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17538 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17539 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17540 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17541 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17542 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17543 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17544 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17545 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17546 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17547 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17548 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
17549 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));