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
) {
1207 if (!PyTuple_Check(target
)) {
1209 target
= PyTuple_New(1);
1210 PyTuple_SetItem(target
, 0, o2
);
1212 o3
= PyTuple_New(1);
1213 PyTuple_SetItem(o3
, 0, o
);
1216 target
= PySequence_Concat(o2
, o3
);
1224 void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
*_self
){
1225 if (!self
->GetClientObject())
1226 self
->SetClientObject(new wxPyOORClientData(_self
));
1229 // See my_fragments.i
1230 SWIGSTATICINLINE(int)
1231 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1234 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1235 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1239 *val
= (unsigned long)v
;
1244 SWIGSTATICINLINE(unsigned long)
1245 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1248 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1250 this is needed to make valgrind/purify happier. the other
1251 solution is throw an exception, but since this code should work
1254 memset((void*)&v
, 0, sizeof(unsigned long));
1260 SWIGSTATICINLINE(int)
1261 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1263 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1267 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
1270 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
1272 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
1273 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
1274 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
1275 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
1280 void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
*_self
){
1281 if (!self
->GetClientObject())
1282 self
->SetClientObject(new wxPyOORClientData(_self
));
1285 SWIGSTATICINLINE(long)
1286 SWIG_As_long(PyObject
* obj
)
1289 if (!SWIG_AsVal_long(obj
, &v
)) {
1291 this is needed to make valgrind/purify happier. the other
1292 solution is throw an exception, but since this code should work
1295 memset((void*)&v
, 0, sizeof(long));
1301 SWIGSTATICINLINE(int)
1302 SWIG_Check_long(PyObject
* obj
)
1304 return SWIG_AsVal_long(obj
, (long*)0);
1308 // See my_fragments.i
1309 SWIGSTATICINLINE(int)
1310 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1312 if (PyNumber_Check(obj
)) {
1313 if (val
) *val
= PyFloat_AsDouble(obj
);
1317 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1318 obj
->ob_type
->tp_name
);
1319 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1326 SWIGSTATICINLINE(double)
1327 SWIG_As_double(PyObject
* obj
)
1330 if (!SWIG_AsVal_double(obj
, &v
)) {
1332 this is needed to make valgrind/purify happier. the other
1333 solution is throw an exception, but since this code should work
1336 memset((void*)&v
, 0, sizeof(double));
1342 SWIGSTATICINLINE(int)
1343 SWIG_Check_double(PyObject
* obj
)
1345 return SWIG_AsVal_double(obj
, (double*)0);
1349 class wxPyGridTableBase
: public wxGridTableBase
1352 wxPyGridTableBase() : wxGridTableBase() {}
1354 PYCALLBACK_INT__pure(GetNumberRows
);
1355 PYCALLBACK_INT__pure(GetNumberCols
);
1356 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
1357 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
1358 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
1359 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
1360 PYCALLBACK__(wxGridTableBase
, Clear
);
1361 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
1362 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
1363 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
1364 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
1365 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
1366 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
1367 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
1368 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
1369 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
1370 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
1371 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
1372 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
1373 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
1374 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
1375 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
1378 wxString
GetValue(int row
, int col
) {
1379 bool blocked
= wxPyBeginBlockThreads();
1381 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1383 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
1385 if (!PyString_Check(ro
) && !PyUnicode_Check(ro
)) {
1387 ro
= PyObject_Str(ro
);
1390 rval
= Py2wxString(ro
);
1394 wxPyEndBlockThreads(blocked
);
1398 void SetValue(int row
, int col
, const wxString
& val
) {
1399 bool blocked
= wxPyBeginBlockThreads();
1400 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1401 PyObject
* s
= wx2PyString(val
);
1402 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
1405 wxPyEndBlockThreads(blocked
);
1409 // Map the Get/Set methods for the standard non-string types to
1410 // the GetValue and SetValue python methods.
1411 long GetValueAsLong( int row
, int col
) {
1413 bool blocked
= wxPyBeginBlockThreads();
1414 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1417 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1418 if (ro
&& PyNumber_Check(ro
)) {
1419 num
= PyNumber_Int(ro
);
1421 rval
= PyInt_AsLong(num
);
1427 wxPyEndBlockThreads(blocked
);
1431 double GetValueAsDouble( int row
, int col
) {
1433 bool blocked
= wxPyBeginBlockThreads();
1434 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
1437 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
1438 if (ro
&& PyNumber_Check(ro
)) {
1439 num
= PyNumber_Float(ro
);
1441 rval
= PyFloat_AsDouble(num
);
1447 wxPyEndBlockThreads(blocked
);
1451 bool GetValueAsBool( int row
, int col
) {
1452 return (bool)GetValueAsLong(row
, col
);
1455 void SetValueAsLong( int row
, int col
, long value
) {
1456 bool blocked
= wxPyBeginBlockThreads();
1457 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1458 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
1460 wxPyEndBlockThreads(blocked
);
1463 void SetValueAsDouble( int row
, int col
, double value
) {
1464 bool blocked
= wxPyBeginBlockThreads();
1465 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
1466 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
1468 wxPyEndBlockThreads(blocked
);
1471 void SetValueAsBool( int row
, int col
, bool value
) {
1472 SetValueAsLong( row
, col
, (long)value
);
1479 void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
){ delete self
; }
1481 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
1483 if (source
== Py_None
) {
1484 **obj
= wxGridCellCoords(-1,-1);
1488 // If source is an object instance then it may already be the right type
1489 if (wxPySwigInstance_Check(source
)) {
1490 wxGridCellCoords
* ptr
;
1491 if (! wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1496 // otherwise a 2-tuple of integers is expected
1497 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
1498 PyObject
* o1
= PySequence_GetItem(source
, 0);
1499 PyObject
* o2
= PySequence_GetItem(source
, 1);
1500 if (!PyNumber_Check(o1
) || !PyNumber_Check(o2
)) {
1505 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
1512 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
1517 bool wxGridCellCoords_typecheck(PyObject
* source
) {
1520 if (wxPySwigInstance_Check(source
) &&
1521 wxPyConvertSwigPtr(source
, (void **)&ptr
, wxT("wxGridCellCoords")))
1525 if (PySequence_Check(source
) && PySequence_Length(source
) == 2)
1532 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
& source
)
1534 PyObject
* list
= PyList_New(0);
1536 for (idx
= 0; idx
< source
.GetCount(); idx
+= 1) {
1537 wxGridCellCoords
& coord
= source
.Item(idx
);
1538 PyObject
* tup
= PyTuple_New(2);
1539 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
1540 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
1541 PyList_Append(list
, tup
);
1547 PyObject
*wxGridCellCoords_Get(wxGridCellCoords
*self
){
1548 PyObject
* tup
= PyTuple_New(2);
1549 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1550 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1554 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
1557 wxGridCellCoords
wxGrid_XYToCell(wxGrid
*self
,int x
,int y
){
1558 wxGridCellCoords rv
;
1559 self
->XYToCell(x
, y
, rv
);
1565 static int _wrap_DateTimeFormatStr_set(PyObject
*) {
1566 PyErr_SetString(PyExc_TypeError
,"Variable DateTimeFormatStr is read-only.");
1571 static PyObject
*_wrap_DateTimeFormatStr_get() {
1576 pyobj
= PyUnicode_FromWideChar((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1578 pyobj
= PyString_FromStringAndSize((&wxPyDateTimeFormatStr
)->c_str(), (&wxPyDateTimeFormatStr
)->Len());
1585 static int _wrap_GridNoCellCoords_set(PyObject
*) {
1586 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellCoords is read-only.");
1591 static PyObject
*_wrap_GridNoCellCoords_get() {
1594 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellCoords
), SWIGTYPE_p_wxGridCellCoords
, 0);
1599 static int _wrap_GridNoCellRect_set(PyObject
*) {
1600 PyErr_SetString(PyExc_TypeError
,"Variable GridNoCellRect is read-only.");
1605 static PyObject
*_wrap_GridNoCellRect_get() {
1608 pyobj
= SWIG_NewPointerObj((void *)(&wxGridNoCellRect
), SWIGTYPE_p_wxRect
, 0);
1613 static PyObject
*_wrap_GridCellRenderer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1616 PyObject
*arg2
= (PyObject
*) 0 ;
1617 PyObject
* obj0
= 0 ;
1618 PyObject
* obj1
= 0 ;
1620 (char *) "self",(char *) "_self", NULL
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
1624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 wxGridCellRenderer__setOORInfo(arg1
,arg2
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 Py_INCREF(Py_None
); resultobj
= Py_None
;
1641 static PyObject
*_wrap_GridCellRenderer_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1643 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1644 wxString
*arg2
= 0 ;
1645 bool temp2
= false ;
1646 PyObject
* obj0
= 0 ;
1647 PyObject
* obj1
= 0 ;
1649 (char *) "self",(char *) "params", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellRenderer_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1656 arg2
= wxString_in_helper(obj1
);
1657 if (arg2
== NULL
) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 (arg1
)->SetParameters((wxString
const &)*arg2
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 Py_INCREF(Py_None
); resultobj
= Py_None
;
1682 static PyObject
*_wrap_GridCellRenderer_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1685 PyObject
* obj0
= 0 ;
1687 (char *) "self", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_IncRef",kwnames
,&obj0
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1700 Py_INCREF(Py_None
); resultobj
= Py_None
;
1707 static PyObject
*_wrap_GridCellRenderer_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1709 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1710 PyObject
* obj0
= 0 ;
1712 (char *) "self", NULL
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_DecRef",kwnames
,&obj0
)) goto fail
;
1716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1725 Py_INCREF(Py_None
); resultobj
= Py_None
;
1732 static PyObject
*_wrap_GridCellRenderer_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1734 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1736 wxGridCellAttr
*arg3
= 0 ;
1743 PyObject
* obj0
= 0 ;
1744 PyObject
* obj1
= 0 ;
1745 PyObject
* obj2
= 0 ;
1746 PyObject
* obj3
= 0 ;
1747 PyObject
* obj4
= 0 ;
1748 PyObject
* obj5
= 0 ;
1749 PyObject
* obj6
= 0 ;
1750 PyObject
* obj7
= 0 ;
1752 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "rect",(char *) "row",(char *) "col",(char *) "isSelected", NULL
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GridCellRenderer_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1762 PyErr_SetString(PyExc_TypeError
,"null reference");
1765 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1769 PyErr_SetString(PyExc_TypeError
,"null reference");
1772 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1776 PyErr_SetString(PyExc_TypeError
,"null reference");
1781 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
1783 arg6
= (int)SWIG_As_int(obj5
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1785 arg7
= (int)SWIG_As_int(obj6
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1787 arg8
= (bool)SWIG_As_bool(obj7
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 (arg1
)->Draw(*arg2
,*arg3
,*arg4
,(wxRect
const &)*arg5
,arg6
,arg7
,arg8
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1796 Py_INCREF(Py_None
); resultobj
= Py_None
;
1803 static PyObject
*_wrap_GridCellRenderer_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1807 wxGridCellAttr
*arg3
= 0 ;
1812 PyObject
* obj0
= 0 ;
1813 PyObject
* obj1
= 0 ;
1814 PyObject
* obj2
= 0 ;
1815 PyObject
* obj3
= 0 ;
1816 PyObject
* obj4
= 0 ;
1817 PyObject
* obj5
= 0 ;
1819 (char *) "self",(char *) "grid",(char *) "attr",(char *) "dc",(char *) "row",(char *) "col", NULL
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GridCellRenderer_GetBestSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1829 PyErr_SetString(PyExc_TypeError
,"null reference");
1832 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
1833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1836 PyErr_SetString(PyExc_TypeError
,"null reference");
1839 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
1840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1843 PyErr_SetString(PyExc_TypeError
,"null reference");
1846 arg5
= (int)SWIG_As_int(obj4
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1848 arg6
= (int)SWIG_As_int(obj5
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 result
= (arg1
)->GetBestSize(*arg2
,*arg3
,*arg4
,arg5
,arg6
);
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1859 resultptr
= new wxSize((wxSize
&) result
);
1860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1868 static PyObject
*_wrap_GridCellRenderer_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxGridCellRenderer
*arg1
= (wxGridCellRenderer
*) 0 ;
1871 wxGridCellRenderer
*result
;
1872 PyObject
* obj0
= 0 ;
1874 (char *) "self", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellRenderer_Clone",kwnames
,&obj0
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellRenderer
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 result
= (wxGridCellRenderer
*)((wxGridCellRenderer
const *)arg1
)->Clone();
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1888 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
1896 static PyObject
* GridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
1898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1899 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellRenderer
, obj
);
1901 return Py_BuildValue((char *)"");
1903 static PyObject
*_wrap_new_PyGridCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1905 wxPyGridCellRenderer
*result
;
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellRenderer",kwnames
)) goto fail
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 result
= (wxPyGridCellRenderer
*)new wxPyGridCellRenderer();
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellRenderer
, 1);
1925 static PyObject
*_wrap_PyGridCellRenderer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1928 PyObject
*arg2
= (PyObject
*) 0 ;
1929 PyObject
*arg3
= (PyObject
*) 0 ;
1930 PyObject
* obj0
= 0 ;
1931 PyObject
* obj1
= 0 ;
1932 PyObject
* obj2
= 0 ;
1934 (char *) "self",(char *) "self",(char *) "_class", NULL
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellRenderer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 (arg1
)->_setCallbackInfo(arg2
,arg3
);
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1949 Py_INCREF(Py_None
); resultobj
= Py_None
;
1956 static PyObject
*_wrap_PyGridCellRenderer_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
*resultobj
;
1958 wxPyGridCellRenderer
*arg1
= (wxPyGridCellRenderer
*) 0 ;
1959 wxString
*arg2
= 0 ;
1960 bool temp2
= false ;
1961 PyObject
* obj0
= 0 ;
1962 PyObject
* obj1
= 0 ;
1964 (char *) "self",(char *) "params", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellRenderer_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellRenderer
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1971 arg2
= wxString_in_helper(obj1
);
1972 if (arg2
== NULL
) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 Py_INCREF(Py_None
); resultobj
= Py_None
;
1997 static PyObject
* PyGridCellRenderer_swigregister(PyObject
*, PyObject
*args
) {
1999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2000 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellRenderer
, obj
);
2002 return Py_BuildValue((char *)"");
2004 static PyObject
*_wrap_new_GridCellStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
*resultobj
;
2006 wxGridCellStringRenderer
*result
;
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellStringRenderer",kwnames
)) goto fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 result
= (wxGridCellStringRenderer
*)new wxGridCellStringRenderer();
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellStringRenderer
, 1);
2026 static PyObject
* GridCellStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
2028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2029 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellStringRenderer
, obj
);
2031 return Py_BuildValue((char *)"");
2033 static PyObject
*_wrap_new_GridCellNumberRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxGridCellNumberRenderer
*result
;
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellNumberRenderer",kwnames
)) goto fail
;
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 result
= (wxGridCellNumberRenderer
*)new wxGridCellNumberRenderer();
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) SWIG_fail
;
2048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberRenderer
, 1);
2055 static PyObject
* GridCellNumberRenderer_swigregister(PyObject
*, PyObject
*args
) {
2057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2058 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberRenderer
, obj
);
2060 return Py_BuildValue((char *)"");
2062 static PyObject
*_wrap_new_GridCellFloatRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 int arg1
= (int) -1 ;
2065 int arg2
= (int) -1 ;
2066 wxGridCellFloatRenderer
*result
;
2067 PyObject
* obj0
= 0 ;
2068 PyObject
* obj1
= 0 ;
2070 (char *) "width",(char *) "precision", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2075 arg1
= (int)SWIG_As_int(obj0
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2079 arg2
= (int)SWIG_As_int(obj1
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 result
= (wxGridCellFloatRenderer
*)new wxGridCellFloatRenderer(arg1
,arg2
);
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatRenderer
, 1);
2096 static PyObject
*_wrap_GridCellFloatRenderer_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2100 PyObject
* obj0
= 0 ;
2102 (char *) "self", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetWidth",kwnames
,&obj0
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetWidth();
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 resultobj
= SWIG_From_int((int)result
);
2122 static PyObject
*_wrap_GridCellFloatRenderer_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2124 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2126 PyObject
* obj0
= 0 ;
2127 PyObject
* obj1
= 0 ;
2129 (char *) "self",(char *) "width", NULL
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2135 arg2
= (int)SWIG_As_int(obj1
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 (arg1
)->SetWidth(arg2
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 Py_INCREF(Py_None
); resultobj
= Py_None
;
2151 static PyObject
*_wrap_GridCellFloatRenderer_GetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatRenderer_GetPrecision",kwnames
,&obj0
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (int)((wxGridCellFloatRenderer
const *)arg1
)->GetPrecision();
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2170 resultobj
= SWIG_From_int((int)result
);
2177 static PyObject
*_wrap_GridCellFloatRenderer_SetPrecision(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
*resultobj
;
2179 wxGridCellFloatRenderer
*arg1
= (wxGridCellFloatRenderer
*) 0 ;
2181 PyObject
* obj0
= 0 ;
2182 PyObject
* obj1
= 0 ;
2184 (char *) "self",(char *) "precision", NULL
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellFloatRenderer_SetPrecision",kwnames
,&obj0
,&obj1
)) goto fail
;
2188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatRenderer
,
2189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2190 arg2
= (int)SWIG_As_int(obj1
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 (arg1
)->SetPrecision(arg2
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2199 Py_INCREF(Py_None
); resultobj
= Py_None
;
2206 static PyObject
* GridCellFloatRenderer_swigregister(PyObject
*, PyObject
*args
) {
2208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2209 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatRenderer
, obj
);
2211 return Py_BuildValue((char *)"");
2213 static PyObject
*_wrap_new_GridCellBoolRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxGridCellBoolRenderer
*result
;
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolRenderer",kwnames
)) goto fail
;
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 result
= (wxGridCellBoolRenderer
*)new wxGridCellBoolRenderer();
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolRenderer
, 1);
2235 static PyObject
* GridCellBoolRenderer_swigregister(PyObject
*, PyObject
*args
) {
2237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2238 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolRenderer
, obj
);
2240 return Py_BuildValue((char *)"");
2242 static PyObject
*_wrap_new_GridCellDateTimeRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxString arg1
= (wxString
) wxPyDateTimeFormatStr
;
2245 wxString arg2
= (wxString
) wxPyDateTimeFormatStr
;
2246 wxGridCellDateTimeRenderer
*result
;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj1
= 0 ;
2250 (char *) "outformat",(char *) "informat", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellDateTimeRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 wxString
* sptr
= wxString_in_helper(obj0
);
2257 if (sptr
== NULL
) SWIG_fail
;
2264 wxString
* sptr
= wxString_in_helper(obj1
);
2265 if (sptr
== NULL
) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= (wxGridCellDateTimeRenderer
*)new wxGridCellDateTimeRenderer(arg1
,arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellDateTimeRenderer
, 1);
2284 static PyObject
* GridCellDateTimeRenderer_swigregister(PyObject
*, PyObject
*args
) {
2286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2287 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellDateTimeRenderer
, obj
);
2289 return Py_BuildValue((char *)"");
2291 static PyObject
*_wrap_new_GridCellEnumRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2294 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2295 wxGridCellEnumRenderer
*result
;
2296 bool temp1
= false ;
2297 PyObject
* obj0
= 0 ;
2299 (char *) "choices", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumRenderer",kwnames
,&obj0
)) goto fail
;
2305 arg1
= wxString_in_helper(obj0
);
2306 if (arg1
== NULL
) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (wxGridCellEnumRenderer
*)new wxGridCellEnumRenderer((wxString
const &)*arg1
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumRenderer
, 1);
2332 static PyObject
* GridCellEnumRenderer_swigregister(PyObject
*, PyObject
*args
) {
2334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2335 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumRenderer
, obj
);
2337 return Py_BuildValue((char *)"");
2339 static PyObject
*_wrap_new_GridCellAutoWrapStringRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxGridCellAutoWrapStringRenderer
*result
;
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringRenderer",kwnames
)) goto fail
;
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 result
= (wxGridCellAutoWrapStringRenderer
*)new wxGridCellAutoWrapStringRenderer();
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, 1);
2361 static PyObject
* GridCellAutoWrapStringRenderer_swigregister(PyObject
*, PyObject
*args
) {
2363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2364 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringRenderer
, obj
);
2366 return Py_BuildValue((char *)"");
2368 static PyObject
*_wrap_GridCellEditor__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2370 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2371 PyObject
*arg2
= (PyObject
*) 0 ;
2372 PyObject
* obj0
= 0 ;
2373 PyObject
* obj1
= 0 ;
2375 (char *) "self",(char *) "_self", NULL
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
2379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 wxGridCellEditor__setOORInfo(arg1
,arg2
);
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2389 Py_INCREF(Py_None
); resultobj
= Py_None
;
2396 static PyObject
*_wrap_GridCellEditor_IsCreated(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2400 PyObject
* obj0
= 0 ;
2402 (char *) "self", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IsCreated",kwnames
,&obj0
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= (bool)(arg1
)->IsCreated();
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2424 static PyObject
*_wrap_GridCellEditor_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2428 PyObject
* obj0
= 0 ;
2430 (char *) "self", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetControl",kwnames
,&obj0
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 result
= (wxControl
*)(arg1
)->GetControl();
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2444 resultobj
= wxPyMake_wxObject(result
, 0);
2452 static PyObject
*_wrap_GridCellEditor_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2455 wxControl
*arg2
= (wxControl
*) 0 ;
2456 PyObject
* obj0
= 0 ;
2457 PyObject
* obj1
= 0 ;
2459 (char *) "self",(char *) "control", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
2463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
2466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 (arg1
)->SetControl(arg2
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 Py_INCREF(Py_None
); resultobj
= Py_None
;
2481 static PyObject
*_wrap_GridCellEditor_GetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2484 wxGridCellAttr
*result
;
2485 PyObject
* obj0
= 0 ;
2487 (char *) "self", NULL
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_GetCellAttr",kwnames
,&obj0
)) goto fail
;
2491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 result
= (wxGridCellAttr
*)(arg1
)->GetCellAttr();
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2501 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
2509 static PyObject
*_wrap_GridCellEditor_SetCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
*resultobj
;
2511 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2512 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
2513 PyObject
* obj0
= 0 ;
2514 PyObject
* obj1
= 0 ;
2516 (char *) "self",(char *) "attr", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetCellAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
2523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 (arg1
)->SetCellAttr(arg2
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2531 Py_INCREF(Py_None
); resultobj
= Py_None
;
2538 static PyObject
*_wrap_GridCellEditor_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2541 wxString
*arg2
= 0 ;
2542 bool temp2
= false ;
2543 PyObject
* obj0
= 0 ;
2544 PyObject
* obj1
= 0 ;
2546 (char *) "self",(char *) "params", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
2550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2553 arg2
= wxString_in_helper(obj1
);
2554 if (arg2
== NULL
) SWIG_fail
;
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 (arg1
)->SetParameters((wxString
const &)*arg2
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) SWIG_fail
;
2564 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
*_wrap_GridCellEditor_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "self", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_IncRef",kwnames
,&obj0
)) goto fail
;
2588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 Py_INCREF(Py_None
); resultobj
= Py_None
;
2604 static PyObject
*_wrap_GridCellEditor_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2607 PyObject
* obj0
= 0 ;
2609 (char *) "self", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_DecRef",kwnames
,&obj0
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2622 Py_INCREF(Py_None
); resultobj
= Py_None
;
2629 static PyObject
*_wrap_GridCellEditor_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2632 wxWindow
*arg2
= (wxWindow
*) 0 ;
2634 wxEvtHandler
*arg4
= (wxEvtHandler
*) 0 ;
2635 PyObject
* obj0
= 0 ;
2636 PyObject
* obj1
= 0 ;
2637 PyObject
* obj2
= 0 ;
2638 PyObject
* obj3
= 0 ;
2640 (char *) "self",(char *) "parent",(char *) "id",(char *) "evtHandler", NULL
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2648 arg3
= (int)SWIG_As_int(obj2
);
2649 if (PyErr_Occurred()) SWIG_fail
;
2650 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxEvtHandler
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 (arg1
)->Create(arg2
,arg3
,arg4
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 Py_INCREF(Py_None
); resultobj
= Py_None
;
2666 static PyObject
*_wrap_GridCellEditor_BeginEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2671 wxGrid
*arg4
= (wxGrid
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2673 PyObject
* obj1
= 0 ;
2674 PyObject
* obj2
= 0 ;
2675 PyObject
* obj3
= 0 ;
2677 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_BeginEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2683 arg2
= (int)SWIG_As_int(obj1
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2685 arg3
= (int)SWIG_As_int(obj2
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2687 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 (arg1
)->BeginEdit(arg2
,arg3
,arg4
);
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2696 Py_INCREF(Py_None
); resultobj
= Py_None
;
2703 static PyObject
*_wrap_GridCellEditor_EndEdit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
;
2705 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2708 wxGrid
*arg4
= (wxGrid
*) 0 ;
2710 PyObject
* obj0
= 0 ;
2711 PyObject
* obj1
= 0 ;
2712 PyObject
* obj2
= 0 ;
2713 PyObject
* obj3
= 0 ;
2715 (char *) "self",(char *) "row",(char *) "col",(char *) "grid", NULL
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellEditor_EndEdit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2721 arg2
= (int)SWIG_As_int(obj1
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2723 arg3
= (int)SWIG_As_int(obj2
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2725 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGrid
,
2726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 result
= (bool)(arg1
)->EndEdit(arg2
,arg3
,arg4
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2743 static PyObject
*_wrap_GridCellEditor_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2746 PyObject
* obj0
= 0 ;
2748 (char *) "self", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Reset",kwnames
,&obj0
)) goto fail
;
2752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2761 Py_INCREF(Py_None
); resultobj
= Py_None
;
2768 static PyObject
*_wrap_GridCellEditor_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
*resultobj
;
2770 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2771 wxGridCellEditor
*result
;
2772 PyObject
* obj0
= 0 ;
2774 (char *) "self", NULL
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Clone",kwnames
,&obj0
)) goto fail
;
2778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= (wxGridCellEditor
*)((wxGridCellEditor
const *)arg1
)->Clone();
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2788 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
2796 static PyObject
*_wrap_GridCellEditor_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2801 PyObject
* obj0
= 0 ;
2802 PyObject
* obj1
= 0 ;
2804 (char *) "self",(char *) "rect", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2812 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 (arg1
)->SetSize((wxRect
const &)*arg2
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 Py_INCREF(Py_None
); resultobj
= Py_None
;
2828 static PyObject
*_wrap_GridCellEditor_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2832 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
2833 PyObject
* obj0
= 0 ;
2834 PyObject
* obj1
= 0 ;
2835 PyObject
* obj2
= 0 ;
2837 (char *) "self",(char *) "show",(char *) "attr", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridCellEditor_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2843 arg2
= (bool)SWIG_As_bool(obj1
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 (arg1
)->Show(arg2
,arg3
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2863 static PyObject
*_wrap_GridCellEditor_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2867 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj1
= 0 ;
2871 PyObject
* obj2
= 0 ;
2873 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellEditor_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2881 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2883 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
2884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2887 (arg1
)->PaintBackground((wxRect
const &)*arg2
,arg3
);
2889 wxPyEndAllowThreads(__tstate
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2892 Py_INCREF(Py_None
); resultobj
= Py_None
;
2899 static PyObject
*_wrap_GridCellEditor_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2902 wxKeyEvent
*arg2
= 0 ;
2904 PyObject
* obj0
= 0 ;
2905 PyObject
* obj1
= 0 ;
2907 (char *) "self",(char *) "event", NULL
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2917 PyErr_SetString(PyExc_TypeError
,"null reference");
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 result
= (bool)(arg1
)->IsAcceptedKey(*arg2
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) SWIG_fail
;
2928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2936 static PyObject
*_wrap_GridCellEditor_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2938 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2939 wxKeyEvent
*arg2
= 0 ;
2940 PyObject
* obj0
= 0 ;
2941 PyObject
* obj1
= 0 ;
2943 (char *) "self",(char *) "event", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
2950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2953 PyErr_SetString(PyExc_TypeError
,"null reference");
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 (arg1
)->StartingKey(*arg2
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2963 Py_INCREF(Py_None
); resultobj
= Py_None
;
2970 static PyObject
*_wrap_GridCellEditor_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
*resultobj
;
2972 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2973 PyObject
* obj0
= 0 ;
2975 (char *) "self", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_StartingClick",kwnames
,&obj0
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 (arg1
)->StartingClick();
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2988 Py_INCREF(Py_None
); resultobj
= Py_None
;
2995 static PyObject
*_wrap_GridCellEditor_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
2998 wxKeyEvent
*arg2
= 0 ;
2999 PyObject
* obj0
= 0 ;
3000 PyObject
* obj1
= 0 ;
3002 (char *) "self",(char *) "event", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellEditor_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
3007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3012 PyErr_SetString(PyExc_TypeError
,"null reference");
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 (arg1
)->HandleReturn(*arg2
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3022 Py_INCREF(Py_None
); resultobj
= Py_None
;
3029 static PyObject
*_wrap_GridCellEditor_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxGridCellEditor
*arg1
= (wxGridCellEditor
*) 0 ;
3032 PyObject
* obj0
= 0 ;
3034 (char *) "self", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEditor_Destroy",kwnames
,&obj0
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEditor
,
3039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3047 Py_INCREF(Py_None
); resultobj
= Py_None
;
3054 static PyObject
* GridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
3056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3057 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEditor
, obj
);
3059 return Py_BuildValue((char *)"");
3061 static PyObject
*_wrap_new_PyGridCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxPyGridCellEditor
*result
;
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellEditor",kwnames
)) goto fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 result
= (wxPyGridCellEditor
*)new wxPyGridCellEditor();
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellEditor
, 1);
3083 static PyObject
*_wrap_PyGridCellEditor__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3086 PyObject
*arg2
= (PyObject
*) 0 ;
3087 PyObject
*arg3
= (PyObject
*) 0 ;
3088 PyObject
* obj0
= 0 ;
3089 PyObject
* obj1
= 0 ;
3090 PyObject
* obj2
= 0 ;
3092 (char *) "self",(char *) "self",(char *) "_class", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 (arg1
)->_setCallbackInfo(arg2
,arg3
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 Py_INCREF(Py_None
); resultobj
= Py_None
;
3114 static PyObject
*_wrap_PyGridCellEditor_base_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3119 PyObject
* obj0
= 0 ;
3120 PyObject
* obj1
= 0 ;
3122 (char *) "self",(char *) "rect", NULL
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 (arg1
)->base_SetSize((wxRect
const &)*arg2
);
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 Py_INCREF(Py_None
); resultobj
= Py_None
;
3146 static PyObject
*_wrap_PyGridCellEditor_base_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3150 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) NULL
;
3151 PyObject
* obj0
= 0 ;
3152 PyObject
* obj1
= 0 ;
3153 PyObject
* obj2
= 0 ;
3155 (char *) "self",(char *) "show",(char *) "attr", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyGridCellEditor_base_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3161 arg2
= (bool)SWIG_As_bool(obj1
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 (arg1
)->base_Show(arg2
,arg3
);
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3181 static PyObject
*_wrap_PyGridCellEditor_base_PaintBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3185 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3189 PyObject
* obj2
= 0 ;
3191 (char *) "self",(char *) "rectCell",(char *) "attr", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellEditor_base_PaintBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3199 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3201 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 (arg1
)->base_PaintBackground((wxRect
const &)*arg2
,arg3
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3210 Py_INCREF(Py_None
); resultobj
= Py_None
;
3217 static PyObject
*_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3219 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3220 wxKeyEvent
*arg2
= 0 ;
3222 PyObject
* obj0
= 0 ;
3223 PyObject
* obj1
= 0 ;
3225 (char *) "self",(char *) "event", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_IsAcceptedKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3235 PyErr_SetString(PyExc_TypeError
,"null reference");
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 result
= (bool)(arg1
)->base_IsAcceptedKey(*arg2
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3254 static PyObject
*_wrap_PyGridCellEditor_base_StartingKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3257 wxKeyEvent
*arg2
= 0 ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 (char *) "self",(char *) "event", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_StartingKey",kwnames
,&obj0
,&obj1
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3271 PyErr_SetString(PyExc_TypeError
,"null reference");
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 (arg1
)->base_StartingKey(*arg2
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3281 Py_INCREF(Py_None
); resultobj
= Py_None
;
3288 static PyObject
*_wrap_PyGridCellEditor_base_StartingClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3291 PyObject
* obj0
= 0 ;
3293 (char *) "self", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_StartingClick",kwnames
,&obj0
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 (arg1
)->base_StartingClick();
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_PyGridCellEditor_base_HandleReturn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3316 wxKeyEvent
*arg2
= 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3320 (char *) "self",(char *) "event", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_HandleReturn",kwnames
,&obj0
,&obj1
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
3327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3330 PyErr_SetString(PyExc_TypeError
,"null reference");
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 (arg1
)->base_HandleReturn(*arg2
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 Py_INCREF(Py_None
); resultobj
= Py_None
;
3347 static PyObject
*_wrap_PyGridCellEditor_base_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3350 PyObject
* obj0
= 0 ;
3352 (char *) "self", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridCellEditor_base_Destroy",kwnames
,&obj0
)) goto fail
;
3356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 (arg1
)->base_Destroy();
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3365 Py_INCREF(Py_None
); resultobj
= Py_None
;
3372 static PyObject
*_wrap_PyGridCellEditor_base_SetParameters(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxPyGridCellEditor
*arg1
= (wxPyGridCellEditor
*) 0 ;
3375 wxString
*arg2
= 0 ;
3376 bool temp2
= false ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3380 (char *) "self",(char *) "params", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridCellEditor_base_SetParameters",kwnames
,&obj0
,&obj1
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellEditor
,
3385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 arg2
= wxString_in_helper(obj1
);
3388 if (arg2
== NULL
) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 (arg1
)->base_SetParameters((wxString
const &)*arg2
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 Py_INCREF(Py_None
); resultobj
= Py_None
;
3413 static PyObject
* PyGridCellEditor_swigregister(PyObject
*, PyObject
*args
) {
3415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3416 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellEditor
, obj
);
3418 return Py_BuildValue((char *)"");
3420 static PyObject
*_wrap_new_GridCellTextEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxGridCellTextEditor
*result
;
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellTextEditor",kwnames
)) goto fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 result
= (wxGridCellTextEditor
*)new wxGridCellTextEditor();
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellTextEditor
, 1);
3442 static PyObject
*_wrap_GridCellTextEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxGridCellTextEditor
*arg1
= (wxGridCellTextEditor
*) 0 ;
3446 PyObject
* obj0
= 0 ;
3448 (char *) "self", NULL
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellTextEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellTextEditor
,
3453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 result
= (arg1
)->GetValue();
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3474 static PyObject
* GridCellTextEditor_swigregister(PyObject
*, PyObject
*args
) {
3476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3477 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellTextEditor
, obj
);
3479 return Py_BuildValue((char *)"");
3481 static PyObject
*_wrap_new_GridCellNumberEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 int arg1
= (int) -1 ;
3484 int arg2
= (int) -1 ;
3485 wxGridCellNumberEditor
*result
;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3489 (char *) "min",(char *) "max", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellNumberEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3494 arg1
= (int)SWIG_As_int(obj0
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3498 arg2
= (int)SWIG_As_int(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (wxGridCellNumberEditor
*)new wxGridCellNumberEditor(arg1
,arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellNumberEditor
, 1);
3515 static PyObject
*_wrap_GridCellNumberEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxGridCellNumberEditor
*arg1
= (wxGridCellNumberEditor
*) 0 ;
3519 PyObject
* obj0
= 0 ;
3521 (char *) "self", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellNumberEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellNumberEditor
,
3526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 result
= (arg1
)->GetValue();
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3547 static PyObject
* GridCellNumberEditor_swigregister(PyObject
*, PyObject
*args
) {
3549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3550 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellNumberEditor
, obj
);
3552 return Py_BuildValue((char *)"");
3554 static PyObject
*_wrap_new_GridCellFloatEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 int arg1
= (int) -1 ;
3557 int arg2
= (int) -1 ;
3558 wxGridCellFloatEditor
*result
;
3559 PyObject
* obj0
= 0 ;
3560 PyObject
* obj1
= 0 ;
3562 (char *) "width",(char *) "precision", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellFloatEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3567 arg1
= (int)SWIG_As_int(obj0
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3571 arg2
= (int)SWIG_As_int(obj1
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (wxGridCellFloatEditor
*)new wxGridCellFloatEditor(arg1
,arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellFloatEditor
, 1);
3588 static PyObject
*_wrap_GridCellFloatEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxGridCellFloatEditor
*arg1
= (wxGridCellFloatEditor
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3594 (char *) "self", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellFloatEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellFloatEditor
,
3599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (arg1
)->GetValue();
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3620 static PyObject
* GridCellFloatEditor_swigregister(PyObject
*, PyObject
*args
) {
3622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3623 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellFloatEditor
, obj
);
3625 return Py_BuildValue((char *)"");
3627 static PyObject
*_wrap_new_GridCellBoolEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxGridCellBoolEditor
*result
;
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellBoolEditor",kwnames
)) goto fail
;
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 result
= (wxGridCellBoolEditor
*)new wxGridCellBoolEditor();
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellBoolEditor
, 1);
3649 static PyObject
*_wrap_GridCellBoolEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
*resultobj
;
3651 wxGridCellBoolEditor
*arg1
= (wxGridCellBoolEditor
*) 0 ;
3653 PyObject
* obj0
= 0 ;
3655 (char *) "self", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellBoolEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellBoolEditor
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= (arg1
)->GetValue();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3681 static PyObject
* GridCellBoolEditor_swigregister(PyObject
*, PyObject
*args
) {
3683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3684 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellBoolEditor
, obj
);
3686 return Py_BuildValue((char *)"");
3688 static PyObject
*_wrap_new_GridCellChoiceEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 int arg1
= (int) 0 ;
3691 wxString
*arg2
= (wxString
*) NULL
;
3692 bool arg3
= (bool) false ;
3693 wxGridCellChoiceEditor
*result
;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj1
= 0 ;
3697 (char *) "choices",(char *) "allowOthers", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellChoiceEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
3703 arg1
= PyList_Size(obj0
);
3704 arg2
= wxString_LIST_helper(obj0
);
3705 if (arg2
== NULL
) SWIG_fail
;
3709 arg3
= (bool)SWIG_As_bool(obj1
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (wxGridCellChoiceEditor
*)new wxGridCellChoiceEditor(arg1
,(wxString
const *)arg2
,arg3
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellChoiceEditor
, 1);
3721 if (arg2
) delete [] arg2
;
3726 if (arg2
) delete [] arg2
;
3732 static PyObject
*_wrap_GridCellChoiceEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
;
3734 wxGridCellChoiceEditor
*arg1
= (wxGridCellChoiceEditor
*) 0 ;
3736 PyObject
* obj0
= 0 ;
3738 (char *) "self", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellChoiceEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellChoiceEditor
,
3743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= (arg1
)->GetValue();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3764 static PyObject
* GridCellChoiceEditor_swigregister(PyObject
*, PyObject
*args
) {
3766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3767 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellChoiceEditor
, obj
);
3769 return Py_BuildValue((char *)"");
3771 static PyObject
*_wrap_new_GridCellEnumEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3774 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3775 wxGridCellEnumEditor
*result
;
3776 bool temp1
= false ;
3777 PyObject
* obj0
= 0 ;
3779 (char *) "choices", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellEnumEditor",kwnames
,&obj0
)) goto fail
;
3785 arg1
= wxString_in_helper(obj0
);
3786 if (arg1
== NULL
) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (wxGridCellEnumEditor
*)new wxGridCellEnumEditor((wxString
const &)*arg1
);
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellEnumEditor
, 1);
3812 static PyObject
*_wrap_GridCellEnumEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxGridCellEnumEditor
*arg1
= (wxGridCellEnumEditor
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3818 (char *) "self", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellEnumEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellEnumEditor
,
3823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= (arg1
)->GetValue();
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3844 static PyObject
* GridCellEnumEditor_swigregister(PyObject
*, PyObject
*args
) {
3846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3847 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellEnumEditor
, obj
);
3849 return Py_BuildValue((char *)"");
3851 static PyObject
*_wrap_new_GridCellAutoWrapStringEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxGridCellAutoWrapStringEditor
*result
;
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAutoWrapStringEditor",kwnames
)) goto fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 result
= (wxGridCellAutoWrapStringEditor
*)new wxGridCellAutoWrapStringEditor();
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, 1);
3873 static PyObject
*_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxGridCellAutoWrapStringEditor
*arg1
= (wxGridCellAutoWrapStringEditor
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3879 (char *) "self", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAutoWrapStringEditor_GetValue",kwnames
,&obj0
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAutoWrapStringEditor
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (arg1
)->GetValue();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3905 static PyObject
* GridCellAutoWrapStringEditor_swigregister(PyObject
*, PyObject
*args
) {
3907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3908 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAutoWrapStringEditor
, obj
);
3910 return Py_BuildValue((char *)"");
3912 static PyObject
*_wrap_GridCellAttr__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3915 PyObject
*arg2
= (PyObject
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3919 (char *) "self",(char *) "_self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 wxGridCellAttr__setOORInfo(arg1
,arg2
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 Py_INCREF(Py_None
); resultobj
= Py_None
;
3940 static PyObject
*_wrap_new_GridCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) NULL
;
3943 wxGridCellAttr
*result
;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "attrDefault", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GridCellAttr",kwnames
,&obj0
)) goto fail
;
3951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= (wxGridCellAttr
*)new wxGridCellAttr(arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 resultobj
= wxPyMake_wxGridCellAttr(result
, 1);
3970 static PyObject
*_wrap_GridCellAttr_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
3973 wxGridCellAttr
*result
;
3974 PyObject
* obj0
= 0 ;
3976 (char *) "self", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_Clone",kwnames
,&obj0
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
3981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (wxGridCellAttr
*)((wxGridCellAttr
const *)arg1
)->Clone();
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3990 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
3998 static PyObject
*_wrap_GridCellAttr_MergeWith(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
;
4000 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4001 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4002 PyObject
* obj0
= 0 ;
4003 PyObject
* obj1
= 0 ;
4005 (char *) "self",(char *) "mergefrom", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_MergeWith",kwnames
,&obj0
,&obj1
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 (arg1
)->MergeWith(arg2
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 Py_INCREF(Py_None
); resultobj
= Py_None
;
4027 static PyObject
*_wrap_GridCellAttr_IncRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IncRef",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 Py_INCREF(Py_None
); resultobj
= Py_None
;
4052 static PyObject
*_wrap_GridCellAttr_DecRef(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_DecRef",kwnames
,&obj0
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_GridCellAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4080 wxColour
*arg2
= 0 ;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4085 (char *) "self",(char *) "colText", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 Py_INCREF(Py_None
); resultobj
= Py_None
;
4109 static PyObject
*_wrap_GridCellAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4112 wxColour
*arg2
= 0 ;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4117 (char *) "self",(char *) "colBack", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_GridCellAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4148 (char *) "self",(char *) "font", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
4152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
4155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4158 PyErr_SetString(PyExc_TypeError
,"null reference");
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 (arg1
)->SetFont((wxFont
const &)*arg2
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 Py_INCREF(Py_None
); resultobj
= Py_None
;
4175 static PyObject
*_wrap_GridCellAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4182 PyObject
* obj2
= 0 ;
4184 (char *) "self",(char *) "hAlign",(char *) "vAlign", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 arg2
= (int)SWIG_As_int(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4192 arg3
= (int)SWIG_As_int(obj2
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 (arg1
)->SetAlignment(arg2
,arg3
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 Py_INCREF(Py_None
); resultobj
= Py_None
;
4208 static PyObject
*_wrap_GridCellAttr_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4214 PyObject
* obj1
= 0 ;
4215 PyObject
* obj2
= 0 ;
4217 (char *) "self",(char *) "num_rows",(char *) "num_cols", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttr_SetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 arg2
= (int)SWIG_As_int(obj1
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4225 arg3
= (int)SWIG_As_int(obj2
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->SetSize(arg2
,arg3
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 Py_INCREF(Py_None
); resultobj
= Py_None
;
4241 static PyObject
*_wrap_GridCellAttr_SetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4244 bool arg2
= (bool) true ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4248 (char *) "self",(char *) "allow", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4255 arg2
= (bool)SWIG_As_bool(obj1
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 (arg1
)->SetOverflow(arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
*_wrap_GridCellAttr_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4275 bool arg2
= (bool) true ;
4276 PyObject
* obj0
= 0 ;
4277 PyObject
* obj1
= 0 ;
4279 (char *) "self",(char *) "isReadOnly", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridCellAttr_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
4283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4286 arg2
= (bool)SWIG_As_bool(obj1
);
4287 if (PyErr_Occurred()) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 (arg1
)->SetReadOnly(arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 Py_INCREF(Py_None
); resultobj
= Py_None
;
4303 static PyObject
*_wrap_GridCellAttr_SetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4306 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
4307 PyObject
* obj0
= 0 ;
4308 PyObject
* obj1
= 0 ;
4310 (char *) "self",(char *) "renderer", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
4317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 (arg1
)->SetRenderer(arg2
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 Py_INCREF(Py_None
); resultobj
= Py_None
;
4332 static PyObject
*_wrap_GridCellAttr_SetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4335 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4339 (char *) "self",(char *) "editor", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
4343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
4346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetEditor(arg2
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 Py_INCREF(Py_None
); resultobj
= Py_None
;
4361 static PyObject
*_wrap_GridCellAttr_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4368 (char *) "self",(char *) "kind", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 arg2
= (int)SWIG_As_int(obj1
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->SetKind((wxGridCellAttr::wxAttrKind
)arg2
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 static PyObject
*_wrap_GridCellAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4394 PyObject
* obj0
= 0 ;
4396 (char *) "self", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasTextColour();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4418 static PyObject
*_wrap_GridCellAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4424 (char *) "self", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
4428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasBackgroundColour();
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4446 static PyObject
*_wrap_GridCellAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4452 (char *) "self", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasFont",kwnames
,&obj0
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasFont();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4474 static PyObject
*_wrap_GridCellAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "self", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasAlignment();
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4502 static PyObject
*_wrap_GridCellAttr_HasRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasRenderer",kwnames
,&obj0
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasRenderer();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4530 static PyObject
*_wrap_GridCellAttr_HasEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "self", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasEditor",kwnames
,&obj0
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasEditor();
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_GridCellAttr_HasReadWriteMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4564 (char *) "self", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasReadWriteMode",kwnames
,&obj0
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasReadWriteMode();
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4586 static PyObject
*_wrap_GridCellAttr_HasOverflowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4590 PyObject
* obj0
= 0 ;
4592 (char *) "self", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_HasOverflowMode",kwnames
,&obj0
)) goto fail
;
4596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (bool)((wxGridCellAttr
const *)arg1
)->HasOverflowMode();
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4614 static PyObject
*_wrap_GridCellAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4620 (char *) "self", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
4624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= ((wxGridCellAttr
const *)arg1
)->GetTextColour();
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 wxColour
* resultptr
;
4635 resultptr
= new wxColour((wxColour
&) result
);
4636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4644 static PyObject
*_wrap_GridCellAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4650 (char *) "self", NULL
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
4654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 result
= ((wxGridCellAttr
const *)arg1
)->GetBackgroundColour();
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4664 wxColour
* resultptr
;
4665 resultptr
= new wxColour((wxColour
&) result
);
4666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
4674 static PyObject
*_wrap_GridCellAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4680 (char *) "self", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetFont",kwnames
,&obj0
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= ((wxGridCellAttr
const *)arg1
)->GetFont();
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4695 resultptr
= new wxFont((wxFont
&) result
);
4696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
4704 static PyObject
*_wrap_GridCellAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4707 int *arg2
= (int *) 0 ;
4708 int *arg3
= (int *) 0 ;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "self", NULL
4718 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4719 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 ((wxGridCellAttr
const *)arg1
)->GetAlignment(arg2
,arg3
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 Py_INCREF(Py_None
); resultobj
= Py_None
;
4731 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4732 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4733 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4734 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4741 static PyObject
*_wrap_GridCellAttr_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4744 int *arg2
= (int *) 0 ;
4745 int *arg3
= (int *) 0 ;
4750 PyObject
* obj0
= 0 ;
4752 (char *) "self", NULL
4755 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4756 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetSize",kwnames
,&obj0
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 ((wxGridCellAttr
const *)arg1
)->GetSize(arg2
,arg3
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 Py_INCREF(Py_None
); resultobj
= Py_None
;
4768 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4769 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4770 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4771 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4778 static PyObject
*_wrap_GridCellAttr_GetOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4782 PyObject
* obj0
= 0 ;
4784 (char *) "self", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetOverflow",kwnames
,&obj0
)) goto fail
;
4788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (bool)((wxGridCellAttr
const *)arg1
)->GetOverflow();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4806 static PyObject
*_wrap_GridCellAttr_GetRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4809 wxGrid
*arg2
= (wxGrid
*) 0 ;
4812 wxGridCellRenderer
*result
;
4813 PyObject
* obj0
= 0 ;
4814 PyObject
* obj1
= 0 ;
4815 PyObject
* obj2
= 0 ;
4816 PyObject
* obj3
= 0 ;
4818 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4826 arg3
= (int)SWIG_As_int(obj2
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4828 arg4
= (int)SWIG_As_int(obj3
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= (wxGridCellRenderer
*)((wxGridCellAttr
const *)arg1
)->GetRenderer(arg2
,arg3
,arg4
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
4846 static PyObject
*_wrap_GridCellAttr_GetEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4849 wxGrid
*arg2
= (wxGrid
*) 0 ;
4852 wxGridCellEditor
*result
;
4853 PyObject
* obj0
= 0 ;
4854 PyObject
* obj1
= 0 ;
4855 PyObject
* obj2
= 0 ;
4856 PyObject
* obj3
= 0 ;
4858 (char *) "self",(char *) "grid",(char *) "row",(char *) "col", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttr_GetEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
4865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4866 arg3
= (int)SWIG_As_int(obj2
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4868 arg4
= (int)SWIG_As_int(obj3
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (wxGridCellEditor
*)((wxGridCellAttr
const *)arg1
)->GetEditor(arg2
,arg3
,arg4
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
4886 static PyObject
*_wrap_GridCellAttr_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "self", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_IsReadOnly",kwnames
,&obj0
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (bool)((wxGridCellAttr
const *)arg1
)->IsReadOnly();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4914 static PyObject
*_wrap_GridCellAttr_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellAttr_GetKind",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (int)(arg1
)->GetKind();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= SWIG_From_int((int)result
);
4940 static PyObject
*_wrap_GridCellAttr_SetDefAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxGridCellAttr
*arg1
= (wxGridCellAttr
*) 0 ;
4943 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4947 (char *) "self",(char *) "defAttr", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttr_SetDefAttr",kwnames
,&obj0
,&obj1
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttr
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
4954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 (arg1
)->SetDefAttr(arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 static PyObject
* GridCellAttr_swigregister(PyObject
*, PyObject
*args
) {
4971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4972 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttr
, obj
);
4974 return Py_BuildValue((char *)"");
4976 static PyObject
*_wrap_new_GridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxGridCellAttrProvider
*result
;
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GridCellAttrProvider",kwnames
)) goto fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (wxGridCellAttrProvider
*)new wxGridCellAttrProvider();
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 1);
5000 static PyObject
*_wrap_GridCellAttrProvider__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5003 PyObject
*arg2
= (PyObject
*) 0 ;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "_self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellAttrProvider__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 wxGridCellAttrProvider__setOORInfo(arg1
,arg2
);
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 Py_INCREF(Py_None
); resultobj
= Py_None
;
5028 static PyObject
*_wrap_GridCellAttrProvider_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5034 wxGridCellAttr
*result
;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5037 PyObject
* obj2
= 0 ;
5038 PyObject
* obj3
= 0 ;
5040 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 arg2
= (int)SWIG_As_int(obj1
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5048 arg3
= (int)SWIG_As_int(obj2
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5050 arg4
= (int)SWIG_As_int(obj3
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= (wxGridCellAttr
*)((wxGridCellAttrProvider
const *)arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
5068 static PyObject
*_wrap_GridCellAttrProvider_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5071 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5076 PyObject
* obj2
= 0 ;
5077 PyObject
* obj3
= 0 ;
5079 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridCellAttrProvider_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 arg3
= (int)SWIG_As_int(obj2
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5089 arg4
= (int)SWIG_As_int(obj3
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 Py_INCREF(Py_None
); resultobj
= Py_None
;
5105 static PyObject
*_wrap_GridCellAttrProvider_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
;
5107 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5108 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5111 PyObject
* obj1
= 0 ;
5112 PyObject
* obj2
= 0 ;
5114 (char *) "self",(char *) "attr",(char *) "row", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 arg3
= (int)SWIG_As_int(obj2
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 (arg1
)->SetRowAttr(arg2
,arg3
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 Py_INCREF(Py_None
); resultobj
= Py_None
;
5138 static PyObject
*_wrap_GridCellAttrProvider_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5141 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5145 PyObject
* obj2
= 0 ;
5147 (char *) "self",(char *) "attr",(char *) "col", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5155 arg3
= (int)SWIG_As_int(obj2
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 (arg1
)->SetColAttr(arg2
,arg3
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 Py_INCREF(Py_None
); resultobj
= Py_None
;
5171 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5178 PyObject
* obj2
= 0 ;
5180 (char *) "self",(char *) "pos",(char *) "numRows", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5186 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5188 arg3
= (int)SWIG_As_int(obj2
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 (arg1
)->UpdateAttrRows(arg2
,arg3
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 Py_INCREF(Py_None
); resultobj
= Py_None
;
5204 static PyObject
*_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxGridCellAttrProvider
*arg1
= (wxGridCellAttrProvider
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5211 PyObject
* obj2
= 0 ;
5213 (char *) "self",(char *) "pos",(char *) "numCols", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellAttrProvider_UpdateAttrCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellAttrProvider
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5219 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5221 arg3
= (int)SWIG_As_int(obj2
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 (arg1
)->UpdateAttrCols(arg2
,arg3
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 Py_INCREF(Py_None
); resultobj
= Py_None
;
5237 static PyObject
* GridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
5239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5240 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellAttrProvider
, obj
);
5242 return Py_BuildValue((char *)"");
5244 static PyObject
*_wrap_new_PyGridCellAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
;
5246 wxPyGridCellAttrProvider
*result
;
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridCellAttrProvider",kwnames
)) goto fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (wxPyGridCellAttrProvider
*)new wxPyGridCellAttrProvider();
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridCellAttrProvider
, 1);
5266 static PyObject
*_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5269 PyObject
*arg2
= (PyObject
*) 0 ;
5270 PyObject
*arg3
= (PyObject
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 PyObject
* obj2
= 0 ;
5275 (char *) "self",(char *) "self",(char *) "_class", NULL
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
*_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5303 wxGridCellAttr
*result
;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5306 PyObject
* obj2
= 0 ;
5307 PyObject
* obj3
= 0 ;
5309 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5315 arg2
= (int)SWIG_As_int(obj1
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5317 arg3
= (int)SWIG_As_int(obj2
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5319 arg4
= (int)SWIG_As_int(obj3
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
5337 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
;
5339 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5340 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5345 PyObject
* obj2
= 0 ;
5346 PyObject
* obj3
= 0 ;
5348 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridCellAttrProvider_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5356 arg3
= (int)SWIG_As_int(obj2
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5358 arg4
= (int)SWIG_As_int(obj3
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 Py_INCREF(Py_None
); resultobj
= Py_None
;
5374 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5377 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5381 PyObject
* obj2
= 0 ;
5383 (char *) "self",(char *) "attr",(char *) "row", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 arg3
= (int)SWIG_As_int(obj2
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 (arg1
)->base_SetRowAttr(arg2
,arg3
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 Py_INCREF(Py_None
); resultobj
= Py_None
;
5407 static PyObject
*_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxPyGridCellAttrProvider
*arg1
= (wxPyGridCellAttrProvider
*) 0 ;
5410 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
5412 PyObject
* obj0
= 0 ;
5413 PyObject
* obj1
= 0 ;
5414 PyObject
* obj2
= 0 ;
5416 (char *) "self",(char *) "attr",(char *) "col", NULL
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridCellAttrProvider_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridCellAttrProvider
,
5421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
5423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 arg3
= (int)SWIG_As_int(obj2
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 (arg1
)->base_SetColAttr(arg2
,arg3
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 Py_INCREF(Py_None
); resultobj
= Py_None
;
5440 static PyObject
* PyGridCellAttrProvider_swigregister(PyObject
*, PyObject
*args
) {
5442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5443 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridCellAttrProvider
, obj
);
5445 return Py_BuildValue((char *)"");
5447 static PyObject
*_wrap_GridTableBase__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5450 PyObject
*arg2
= (PyObject
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5454 (char *) "self",(char *) "_self", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 wxGridTableBase__setOORInfo(arg1
,arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 static PyObject
*_wrap_GridTableBase_SetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5478 wxGridCellAttrProvider
*arg2
= (wxGridCellAttrProvider
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5482 (char *) "self",(char *) "attrProvider", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetAttrProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttrProvider
,
5489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 (arg1
)->SetAttrProvider(arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 Py_INCREF(Py_None
); resultobj
= Py_None
;
5504 static PyObject
*_wrap_GridTableBase_GetAttrProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5507 wxGridCellAttrProvider
*result
;
5508 PyObject
* obj0
= 0 ;
5510 (char *) "self", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetAttrProvider",kwnames
,&obj0
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (wxGridCellAttrProvider
*)((wxGridTableBase
const *)arg1
)->GetAttrProvider();
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= wxPyMake_wxGridCellAttrProvider(result
, 0);
5532 static PyObject
*_wrap_GridTableBase_SetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5535 wxGrid
*arg2
= (wxGrid
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5539 (char *) "self",(char *) "grid", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_SetView",kwnames
,&obj0
,&obj1
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGrid
,
5546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 (arg1
)->SetView(arg2
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 Py_INCREF(Py_None
); resultobj
= Py_None
;
5561 static PyObject
*_wrap_GridTableBase_GetView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5567 (char *) "self", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetView",kwnames
,&obj0
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (wxGrid
*)((wxGridTableBase
const *)arg1
)->GetView();
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= wxPyMake_wxObject(result
, 0);
5589 static PyObject
*_wrap_GridTableBase_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5595 (char *) "self", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberRows",kwnames
,&obj0
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (int)(arg1
)->GetNumberRows();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_From_int((int)result
);
5615 static PyObject
*_wrap_GridTableBase_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_GetNumberCols",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (int)(arg1
)->GetNumberCols();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= SWIG_From_int((int)result
);
5641 static PyObject
*_wrap_GridTableBase_IsEmptyCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 PyObject
* obj2
= 0 ;
5651 (char *) "self",(char *) "row",(char *) "col", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_IsEmptyCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5657 arg2
= (int)SWIG_As_int(obj1
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5659 arg3
= (int)SWIG_As_int(obj2
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (bool)(arg1
)->IsEmptyCell(arg2
,arg3
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5677 static PyObject
*_wrap_GridTableBase_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5685 PyObject
* obj2
= 0 ;
5687 (char *) "self",(char *) "row",(char *) "col", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5693 arg2
= (int)SWIG_As_int(obj1
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5695 arg3
= (int)SWIG_As_int(obj2
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (arg1
)->GetValue(arg2
,arg3
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5717 static PyObject
*_wrap_GridTableBase_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5722 wxString
*arg4
= 0 ;
5723 bool temp4
= false ;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5726 PyObject
* obj2
= 0 ;
5727 PyObject
* obj3
= 0 ;
5729 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5735 arg2
= (int)SWIG_As_int(obj1
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5737 arg3
= (int)SWIG_As_int(obj2
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 arg4
= wxString_in_helper(obj3
);
5741 if (arg4
== NULL
) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 (arg1
)->SetValue(arg2
,arg3
,(wxString
const &)*arg4
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 Py_INCREF(Py_None
); resultobj
= Py_None
;
5766 static PyObject
*_wrap_GridTableBase_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5774 PyObject
* obj2
= 0 ;
5776 (char *) "self",(char *) "row",(char *) "col", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5782 arg2
= (int)SWIG_As_int(obj1
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5784 arg3
= (int)SWIG_As_int(obj2
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (arg1
)->GetTypeName(arg2
,arg3
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5806 static PyObject
*_wrap_GridTableBase_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5811 wxString
*arg4
= 0 ;
5813 bool temp4
= false ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 PyObject
* obj2
= 0 ;
5817 PyObject
* obj3
= 0 ;
5819 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5825 arg2
= (int)SWIG_As_int(obj1
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5827 arg3
= (int)SWIG_As_int(obj2
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 arg4
= wxString_in_helper(obj3
);
5831 if (arg4
== NULL
) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (bool)(arg1
)->CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5858 static PyObject
*_wrap_GridTableBase_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5863 wxString
*arg4
= 0 ;
5865 bool temp4
= false ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5868 PyObject
* obj2
= 0 ;
5869 PyObject
* obj3
= 0 ;
5871 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5877 arg2
= (int)SWIG_As_int(obj1
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5879 arg3
= (int)SWIG_As_int(obj2
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 arg4
= wxString_in_helper(obj3
);
5883 if (arg4
== NULL
) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (bool)(arg1
)->CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5910 static PyObject
*_wrap_GridTableBase_GetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 PyObject
* obj2
= 0 ;
5920 (char *) "self",(char *) "row",(char *) "col", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5926 arg2
= (int)SWIG_As_int(obj1
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5928 arg3
= (int)SWIG_As_int(obj2
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (long)(arg1
)->GetValueAsLong(arg2
,arg3
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_From_long((long)result
);
5944 static PyObject
*_wrap_GridTableBase_GetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
;
5946 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj1
= 0 ;
5952 PyObject
* obj2
= 0 ;
5954 (char *) "self",(char *) "row",(char *) "col", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 arg2
= (int)SWIG_As_int(obj1
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5962 arg3
= (int)SWIG_As_int(obj2
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= (double)(arg1
)->GetValueAsDouble(arg2
,arg3
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= SWIG_From_double((double)result
);
5978 static PyObject
*_wrap_GridTableBase_GetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5986 PyObject
* obj2
= 0 ;
5988 (char *) "self",(char *) "row",(char *) "col", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_GetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 arg2
= (int)SWIG_As_int(obj1
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5996 arg3
= (int)SWIG_As_int(obj2
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 result
= (bool)(arg1
)->GetValueAsBool(arg2
,arg3
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6014 static PyObject
*_wrap_GridTableBase_SetValueAsLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
;
6016 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6021 PyObject
* obj1
= 0 ;
6022 PyObject
* obj2
= 0 ;
6023 PyObject
* obj3
= 0 ;
6025 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsLong",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6031 arg2
= (int)SWIG_As_int(obj1
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6033 arg3
= (int)SWIG_As_int(obj2
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6035 arg4
= (long)SWIG_As_long(obj3
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 (arg1
)->SetValueAsLong(arg2
,arg3
,arg4
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 Py_INCREF(Py_None
); resultobj
= Py_None
;
6051 static PyObject
*_wrap_GridTableBase_SetValueAsDouble(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6060 PyObject
* obj3
= 0 ;
6062 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsDouble",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 arg2
= (int)SWIG_As_int(obj1
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6070 arg3
= (int)SWIG_As_int(obj2
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6072 arg4
= (double)SWIG_As_double(obj3
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 (arg1
)->SetValueAsDouble(arg2
,arg3
,arg4
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 Py_INCREF(Py_None
); resultobj
= Py_None
;
6088 static PyObject
*_wrap_GridTableBase_SetValueAsBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6096 PyObject
* obj2
= 0 ;
6097 PyObject
* obj3
= 0 ;
6099 (char *) "self",(char *) "row",(char *) "col",(char *) "value", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetValueAsBool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6105 arg2
= (int)SWIG_As_int(obj1
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6107 arg3
= (int)SWIG_As_int(obj2
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6109 arg4
= (bool)SWIG_As_bool(obj3
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 (arg1
)->SetValueAsBool(arg2
,arg3
,arg4
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 Py_INCREF(Py_None
); resultobj
= Py_None
;
6125 static PyObject
*_wrap_GridTableBase_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6130 (char *) "self", NULL
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_Clear",kwnames
,&obj0
)) goto fail
;
6134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 Py_INCREF(Py_None
); resultobj
= Py_None
;
6150 static PyObject
*_wrap_GridTableBase_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6153 size_t arg2
= (size_t) 0 ;
6154 size_t arg3
= (size_t) 1 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6158 PyObject
* obj2
= 0 ;
6160 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6190 static PyObject
*_wrap_GridTableBase_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6193 size_t arg2
= (size_t) 1 ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "numRows", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6205 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (bool)(arg1
)->AppendRows(arg2
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6224 static PyObject
*_wrap_GridTableBase_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6227 size_t arg2
= (size_t) 0 ;
6228 size_t arg3
= (size_t) 1 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6232 PyObject
* obj2
= 0 ;
6234 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6264 static PyObject
*_wrap_GridTableBase_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6267 size_t arg2
= (size_t) 0 ;
6268 size_t arg3
= (size_t) 1 ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6272 PyObject
* obj2
= 0 ;
6274 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6285 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 static PyObject
*_wrap_GridTableBase_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6307 size_t arg2
= (size_t) 1 ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6312 (char *) "self",(char *) "numCols", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GridTableBase_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (bool)(arg1
)->AppendCols(arg2
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6338 static PyObject
*_wrap_GridTableBase_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6341 size_t arg2
= (size_t) 0 ;
6342 size_t arg3
= (size_t) 1 ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6346 PyObject
* obj2
= 0 ;
6348 (char *) "self",(char *) "pos",(char *) "numCols", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GridTableBase_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6359 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6378 static PyObject
*_wrap_GridTableBase_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
;
6380 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6386 (char *) "self",(char *) "row", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6392 arg2
= (int)SWIG_As_int(obj1
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 result
= (arg1
)->GetRowLabelValue(arg2
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6414 static PyObject
*_wrap_GridTableBase_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
;
6416 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6422 (char *) "self",(char *) "col", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableBase_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 arg2
= (int)SWIG_As_int(obj1
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (arg1
)->GetColLabelValue(arg2
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6450 static PyObject
*_wrap_GridTableBase_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6454 wxString
*arg3
= 0 ;
6455 bool temp3
= false ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6458 PyObject
* obj2
= 0 ;
6460 (char *) "self",(char *) "row",(char *) "value", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6466 arg2
= (int)SWIG_As_int(obj1
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 arg3
= wxString_in_helper(obj2
);
6470 if (arg3
== NULL
) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 Py_INCREF(Py_None
); resultobj
= Py_None
;
6495 static PyObject
*_wrap_GridTableBase_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6499 wxString
*arg3
= 0 ;
6500 bool temp3
= false ;
6501 PyObject
* obj0
= 0 ;
6502 PyObject
* obj1
= 0 ;
6503 PyObject
* obj2
= 0 ;
6505 (char *) "self",(char *) "col",(char *) "value", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 arg2
= (int)SWIG_As_int(obj1
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 arg3
= wxString_in_helper(obj2
);
6515 if (arg3
== NULL
) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 Py_INCREF(Py_None
); resultobj
= Py_None
;
6540 static PyObject
*_wrap_GridTableBase_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6546 (char *) "self", NULL
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableBase_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
6550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (bool)(arg1
)->CanHaveAttributes();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 static PyObject
*_wrap_GridTableBase_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6574 wxGridCellAttr
*result
;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6578 PyObject
* obj3
= 0 ;
6580 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6586 arg2
= (int)SWIG_As_int(obj1
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6588 arg3
= (int)SWIG_As_int(obj2
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6590 arg4
= (int)SWIG_As_int(obj3
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxGridCellAttr
*)(arg1
)->GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
6608 static PyObject
*_wrap_GridTableBase_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6611 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6614 PyObject
* obj0
= 0 ;
6615 PyObject
* obj1
= 0 ;
6616 PyObject
* obj2
= 0 ;
6617 PyObject
* obj3
= 0 ;
6619 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GridTableBase_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6627 arg3
= (int)SWIG_As_int(obj2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6629 arg4
= (int)SWIG_As_int(obj3
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 Py_INCREF(Py_None
); resultobj
= Py_None
;
6645 static PyObject
*_wrap_GridTableBase_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
;
6647 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6648 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6652 PyObject
* obj2
= 0 ;
6654 (char *) "self",(char *) "attr",(char *) "row", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6662 arg3
= (int)SWIG_As_int(obj2
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->SetRowAttr(arg2
,arg3
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_GridTableBase_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
6681 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6685 PyObject
* obj2
= 0 ;
6687 (char *) "self",(char *) "attr",(char *) "col", NULL
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridTableBase_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
6692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
6694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 arg3
= (int)SWIG_As_int(obj2
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 (arg1
)->SetColAttr(arg2
,arg3
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 Py_INCREF(Py_None
); resultobj
= Py_None
;
6711 static PyObject
* GridTableBase_swigregister(PyObject
*, PyObject
*args
) {
6713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6714 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableBase
, obj
);
6716 return Py_BuildValue((char *)"");
6718 static PyObject
*_wrap_new_PyGridTableBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxPyGridTableBase
*result
;
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyGridTableBase",kwnames
)) goto fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (wxPyGridTableBase
*)new wxPyGridTableBase();
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyGridTableBase
, 1);
6740 static PyObject
*_wrap_PyGridTableBase__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6743 PyObject
*arg2
= (PyObject
*) 0 ;
6744 PyObject
*arg3
= (PyObject
*) 0 ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6747 PyObject
* obj2
= 0 ;
6749 (char *) "self",(char *) "self",(char *) "_class", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6771 static PyObject
*_wrap_PyGridTableBase_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6776 (char *) "self", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_Destroy",kwnames
,&obj0
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 wxPyGridTableBase_Destroy(arg1
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 Py_INCREF(Py_None
); resultobj
= Py_None
;
6796 static PyObject
*_wrap_PyGridTableBase_base_GetTypeName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6804 PyObject
* obj2
= 0 ;
6806 (char *) "self",(char *) "row",(char *) "col", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_GetTypeName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 arg2
= (int)SWIG_As_int(obj1
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6814 arg3
= (int)SWIG_As_int(obj2
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (arg1
)->base_GetTypeName(arg2
,arg3
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6836 static PyObject
*_wrap_PyGridTableBase_base_CanGetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6838 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6841 wxString
*arg4
= 0 ;
6843 bool temp4
= false ;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6847 PyObject
* obj3
= 0 ;
6849 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanGetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6855 arg2
= (int)SWIG_As_int(obj1
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6857 arg3
= (int)SWIG_As_int(obj2
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 arg4
= wxString_in_helper(obj3
);
6861 if (arg4
== NULL
) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (bool)(arg1
)->base_CanGetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6888 static PyObject
*_wrap_PyGridTableBase_base_CanSetValueAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6893 wxString
*arg4
= 0 ;
6895 bool temp4
= false ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6898 PyObject
* obj2
= 0 ;
6899 PyObject
* obj3
= 0 ;
6901 (char *) "self",(char *) "row",(char *) "col",(char *) "typeName", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_CanSetValueAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 arg2
= (int)SWIG_As_int(obj1
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6909 arg3
= (int)SWIG_As_int(obj2
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 arg4
= wxString_in_helper(obj3
);
6913 if (arg4
== NULL
) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= (bool)(arg1
)->base_CanSetValueAs(arg2
,arg3
,(wxString
const &)*arg4
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6940 static PyObject
*_wrap_PyGridTableBase_base_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
;
6942 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6943 PyObject
* obj0
= 0 ;
6945 (char *) "self", NULL
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_Clear",kwnames
,&obj0
)) goto fail
;
6949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 (arg1
)->base_Clear();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 Py_INCREF(Py_None
); resultobj
= Py_None
;
6965 static PyObject
*_wrap_PyGridTableBase_base_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
6968 size_t arg2
= (size_t) 0 ;
6969 size_t arg3
= (size_t) 1 ;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6973 PyObject
* obj2
= 0 ;
6975 (char *) "self",(char *) "pos",(char *) "numRows", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (bool)(arg1
)->base_InsertRows(arg2
,arg3
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7005 static PyObject
*_wrap_PyGridTableBase_base_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7008 size_t arg2
= (size_t) 1 ;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7013 (char *) "self",(char *) "numRows", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendRows",kwnames
,&obj0
,&obj1
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7020 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (bool)(arg1
)->base_AppendRows(arg2
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7039 static PyObject
*_wrap_PyGridTableBase_base_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7042 size_t arg2
= (size_t) 0 ;
7043 size_t arg3
= (size_t) 1 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 PyObject
* obj2
= 0 ;
7049 (char *) "self",(char *) "pos",(char *) "numRows", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7056 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7060 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (bool)(arg1
)->base_DeleteRows(arg2
,arg3
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7079 static PyObject
*_wrap_PyGridTableBase_base_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7082 size_t arg2
= (size_t) 0 ;
7083 size_t arg3
= (size_t) 1 ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 PyObject
* obj2
= 0 ;
7089 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7100 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (bool)(arg1
)->base_InsertCols(arg2
,arg3
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7119 static PyObject
*_wrap_PyGridTableBase_base_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7122 size_t arg2
= (size_t) 1 ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "self",(char *) "numCols", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyGridTableBase_base_AppendCols",kwnames
,&obj0
,&obj1
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7134 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (bool)(arg1
)->base_AppendCols(arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7153 static PyObject
*_wrap_PyGridTableBase_base_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7156 size_t arg2
= (size_t) 0 ;
7157 size_t arg3
= (size_t) 1 ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7161 PyObject
* obj2
= 0 ;
7163 (char *) "self",(char *) "pos",(char *) "numCols", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:PyGridTableBase_base_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7174 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (bool)(arg1
)->base_DeleteCols(arg2
,arg3
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7193 static PyObject
*_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7201 (char *) "self",(char *) "row", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7207 arg2
= (int)SWIG_As_int(obj1
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (arg1
)->base_GetRowLabelValue(arg2
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7229 static PyObject
*_wrap_PyGridTableBase_base_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7237 (char *) "self",(char *) "col", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyGridTableBase_base_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7243 arg2
= (int)SWIG_As_int(obj1
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (arg1
)->base_GetColLabelValue(arg2
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7265 static PyObject
*_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7269 wxString
*arg3
= 0 ;
7270 bool temp3
= false ;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7273 PyObject
* obj2
= 0 ;
7275 (char *) "self",(char *) "row",(char *) "value", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7281 arg2
= (int)SWIG_As_int(obj1
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 arg3
= wxString_in_helper(obj2
);
7285 if (arg3
== NULL
) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->base_SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_PyGridTableBase_base_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7314 wxString
*arg3
= 0 ;
7315 bool temp3
= false ;
7316 PyObject
* obj0
= 0 ;
7317 PyObject
* obj1
= 0 ;
7318 PyObject
* obj2
= 0 ;
7320 (char *) "self",(char *) "col",(char *) "value", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7326 arg2
= (int)SWIG_As_int(obj1
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 arg3
= wxString_in_helper(obj2
);
7330 if (arg3
== NULL
) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 (arg1
)->base_SetColLabelValue(arg2
,(wxString
const &)*arg3
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 Py_INCREF(Py_None
); resultobj
= Py_None
;
7355 static PyObject
*_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyGridTableBase_base_CanHaveAttributes",kwnames
,&obj0
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (bool)(arg1
)->base_CanHaveAttributes();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7383 static PyObject
*_wrap_PyGridTableBase_base_GetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7389 wxGridCellAttr
*result
;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7392 PyObject
* obj2
= 0 ;
7393 PyObject
* obj3
= 0 ;
7395 (char *) "self",(char *) "row",(char *) "col",(char *) "kind", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_GetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 arg2
= (int)SWIG_As_int(obj1
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7403 arg3
= (int)SWIG_As_int(obj2
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7405 arg4
= (int)SWIG_As_int(obj3
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxGridCellAttr
*)(arg1
)->base_GetAttr(arg2
,arg3
,(wxGridCellAttr::wxAttrKind
)arg4
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
7423 static PyObject
*_wrap_PyGridTableBase_base_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7426 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7431 PyObject
* obj2
= 0 ;
7432 PyObject
* obj3
= 0 ;
7434 (char *) "self",(char *) "attr",(char *) "row",(char *) "col", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyGridTableBase_base_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7442 arg3
= (int)SWIG_As_int(obj2
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7444 arg4
= (int)SWIG_As_int(obj3
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 (arg1
)->base_SetAttr(arg2
,arg3
,arg4
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 static PyObject
*_wrap_PyGridTableBase_base_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7463 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7467 PyObject
* obj2
= 0 ;
7469 (char *) "self",(char *) "attr",(char *) "row", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7477 arg3
= (int)SWIG_As_int(obj2
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 (arg1
)->base_SetRowAttr(arg2
,arg3
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 Py_INCREF(Py_None
); resultobj
= Py_None
;
7493 static PyObject
*_wrap_PyGridTableBase_base_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxPyGridTableBase
*arg1
= (wxPyGridTableBase
*) 0 ;
7496 wxGridCellAttr
*arg2
= (wxGridCellAttr
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7500 PyObject
* obj2
= 0 ;
7502 (char *) "self",(char *) "attr",(char *) "col", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyGridTableBase_base_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyGridTableBase
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellAttr
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 arg3
= (int)SWIG_As_int(obj2
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 (arg1
)->base_SetColAttr(arg2
,arg3
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
* PyGridTableBase_swigregister(PyObject
*, PyObject
*args
) {
7528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7529 SWIG_TypeClientData(SWIGTYPE_p_wxPyGridTableBase
, obj
);
7531 return Py_BuildValue((char *)"");
7533 static PyObject
*_wrap_new_GridStringTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 int arg1
= (int) 0 ;
7536 int arg2
= (int) 0 ;
7537 wxGridStringTable
*result
;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "numRows",(char *) "numCols", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridStringTable",kwnames
,&obj0
,&obj1
)) goto fail
;
7546 arg1
= (int)SWIG_As_int(obj0
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7550 arg2
= (int)SWIG_As_int(obj1
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (wxGridStringTable
*)new wxGridStringTable(arg1
,arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridStringTable
, 1);
7567 static PyObject
* GridStringTable_swigregister(PyObject
*, PyObject
*args
) {
7569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7570 SWIG_TypeClientData(SWIGTYPE_p_wxGridStringTable
, obj
);
7572 return Py_BuildValue((char *)"");
7574 static PyObject
*_wrap_new_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxGridTableBase
*arg1
= (wxGridTableBase
*) 0 ;
7578 int arg3
= (int) -1 ;
7579 int arg4
= (int) -1 ;
7580 wxGridTableMessage
*result
;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 PyObject
* obj2
= 0 ;
7584 PyObject
* obj3
= 0 ;
7586 (char *) "table",(char *) "id",(char *) "comInt1",(char *) "comInt2", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_GridTableMessage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableBase
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7592 arg2
= (int)SWIG_As_int(obj1
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 arg3
= (int)SWIG_As_int(obj2
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7599 arg4
= (int)SWIG_As_int(obj3
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (wxGridTableMessage
*)new wxGridTableMessage(arg1
,arg2
,arg3
,arg4
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridTableMessage
, 1);
7616 static PyObject
*_wrap_delete_GridTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7619 PyObject
* obj0
= 0 ;
7621 (char *) "self", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridTableMessage",kwnames
,&obj0
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 Py_INCREF(Py_None
); resultobj
= Py_None
;
7641 static PyObject
*_wrap_GridTableMessage_SetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7644 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7648 (char *) "self",(char *) "table", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetTableObject",kwnames
,&obj0
,&obj1
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
7655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 (arg1
)->SetTableObject(arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_GridTableMessage_GetTableObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7673 wxGridTableBase
*result
;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetTableObject",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (wxGridTableBase
*)((wxGridTableMessage
const *)arg1
)->GetTableObject();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
7698 static PyObject
*_wrap_GridTableMessage_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7703 PyObject
* obj1
= 0 ;
7705 (char *) "self",(char *) "id", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 arg2
= (int)SWIG_As_int(obj1
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 (arg1
)->SetId(arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 Py_INCREF(Py_None
); resultobj
= Py_None
;
7727 static PyObject
*_wrap_GridTableMessage_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetId",kwnames
,&obj0
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (int)(arg1
)->GetId();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_From_int((int)result
);
7753 static PyObject
*_wrap_GridTableMessage_SetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7760 (char *) "self",(char *) "comInt1", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt",kwnames
,&obj0
,&obj1
)) goto fail
;
7764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 arg2
= (int)SWIG_As_int(obj1
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 (arg1
)->SetCommandInt(arg2
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 Py_INCREF(Py_None
); resultobj
= Py_None
;
7782 static PyObject
*_wrap_GridTableMessage_GetCommandInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7788 (char *) "self", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt",kwnames
,&obj0
)) goto fail
;
7792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (int)(arg1
)->GetCommandInt();
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= SWIG_From_int((int)result
);
7808 static PyObject
*_wrap_GridTableMessage_SetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 (char *) "self",(char *) "comInt2", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridTableMessage_SetCommandInt2",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 arg2
= (int)SWIG_As_int(obj1
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 (arg1
)->SetCommandInt2(arg2
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 Py_INCREF(Py_None
); resultobj
= Py_None
;
7837 static PyObject
*_wrap_GridTableMessage_GetCommandInt2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxGridTableMessage
*arg1
= (wxGridTableMessage
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7843 (char *) "self", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridTableMessage_GetCommandInt2",kwnames
,&obj0
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridTableMessage
,
7848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (int)(arg1
)->GetCommandInt2();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_From_int((int)result
);
7863 static PyObject
* GridTableMessage_swigregister(PyObject
*, PyObject
*args
) {
7865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7866 SWIG_TypeClientData(SWIGTYPE_p_wxGridTableMessage
, obj
);
7868 return Py_BuildValue((char *)"");
7870 static PyObject
*_wrap_new_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 int arg1
= (int) -1 ;
7873 int arg2
= (int) -1 ;
7874 wxGridCellCoords
*result
;
7875 PyObject
* obj0
= 0 ;
7876 PyObject
* obj1
= 0 ;
7878 (char *) "r",(char *) "c", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridCellCoords",kwnames
,&obj0
,&obj1
)) goto fail
;
7883 arg1
= (int)SWIG_As_int(obj0
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 arg2
= (int)SWIG_As_int(obj1
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (wxGridCellCoords
*)new wxGridCellCoords(arg1
,arg2
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridCellCoords
, 1);
7904 static PyObject
*_wrap_delete_GridCellCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7909 (char *) "self", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GridCellCoords",kwnames
,&obj0
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 Py_INCREF(Py_None
); resultobj
= Py_None
;
7929 static PyObject
*_wrap_GridCellCoords_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetRow",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (int)((wxGridCellCoords
const *)arg1
)->GetRow();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_From_int((int)result
);
7955 static PyObject
*_wrap_GridCellCoords_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7962 (char *) "self",(char *) "n", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 arg2
= (int)SWIG_As_int(obj1
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 (arg1
)->SetRow(arg2
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_GridCellCoords_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_GetCol",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (int)((wxGridCellCoords
const *)arg1
)->GetCol();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_From_int((int)result
);
8010 static PyObject
*_wrap_GridCellCoords_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8017 (char *) "self",(char *) "n", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 arg2
= (int)SWIG_As_int(obj1
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 (arg1
)->SetCol(arg2
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 Py_INCREF(Py_None
); resultobj
= Py_None
;
8039 static PyObject
*_wrap_GridCellCoords_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8046 PyObject
* obj2
= 0 ;
8048 (char *) "self",(char *) "row",(char *) "col", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridCellCoords_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 arg2
= (int)SWIG_As_int(obj1
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8056 arg3
= (int)SWIG_As_int(obj2
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 (arg1
)->Set(arg2
,arg3
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 Py_INCREF(Py_None
); resultobj
= Py_None
;
8072 static PyObject
*_wrap_GridCellCoords___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8075 wxGridCellCoords
*arg2
= 0 ;
8077 wxGridCellCoords temp2
;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8081 (char *) "self",(char *) "other", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8089 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator ==((wxGridCellCoords
const &)*arg2
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8107 static PyObject
*_wrap_GridCellCoords___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8110 wxGridCellCoords
*arg2
= 0 ;
8112 wxGridCellCoords temp2
;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8116 (char *) "self",(char *) "other", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridCellCoords___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= (bool)((wxGridCellCoords
const *)arg1
)->operator !=((wxGridCellCoords
const &)*arg2
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8142 static PyObject
*_wrap_GridCellCoords_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxGridCellCoords
*arg1
= (wxGridCellCoords
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8148 (char *) "self", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridCellCoords_Get",kwnames
,&obj0
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridCellCoords
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (PyObject
*)wxGridCellCoords_Get(arg1
);
8158 wxPyEndAllowThreads(__tstate
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8168 static PyObject
* GridCellCoords_swigregister(PyObject
*, PyObject
*args
) {
8170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8171 SWIG_TypeClientData(SWIGTYPE_p_wxGridCellCoords
, obj
);
8173 return Py_BuildValue((char *)"");
8175 static PyObject
*_wrap_new_Grid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
;
8177 wxWindow
*arg1
= (wxWindow
*) 0 ;
8178 int arg2
= (int) -1 ;
8179 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8180 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8181 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8182 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8183 long arg5
= (long) wxWANTS_CHARS
;
8184 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
8185 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8189 bool temp6
= false ;
8190 PyObject
* obj0
= 0 ;
8191 PyObject
* obj1
= 0 ;
8192 PyObject
* obj2
= 0 ;
8193 PyObject
* obj3
= 0 ;
8194 PyObject
* obj4
= 0 ;
8195 PyObject
* obj5
= 0 ;
8197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Grid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 arg2
= (int)SWIG_As_int(obj1
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8216 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8220 arg5
= (long)SWIG_As_long(obj4
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8225 arg6
= wxString_in_helper(obj5
);
8226 if (arg6
== NULL
) SWIG_fail
;
8231 if (!wxPyCheckForApp()) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (wxGrid
*)new wxGrid(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
8253 static PyObject
*_wrap_new_PreGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGrid",kwnames
)) goto fail
;
8262 if (!wxPyCheckForApp()) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (wxGrid
*)new wxGrid();
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGrid
, 1);
8276 static PyObject
*_wrap_Grid_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxGrid
*arg1
= (wxGrid
*) 0 ;
8279 wxWindow
*arg2
= (wxWindow
*) 0 ;
8280 int arg3
= (int) -1 ;
8281 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8282 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8283 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8284 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8285 long arg6
= (long) wxWANTS_CHARS
;
8286 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
8287 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8291 bool temp7
= false ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8294 PyObject
* obj2
= 0 ;
8295 PyObject
* obj3
= 0 ;
8296 PyObject
* obj4
= 0 ;
8297 PyObject
* obj5
= 0 ;
8298 PyObject
* obj6
= 0 ;
8300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Grid_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8309 arg3
= (int)SWIG_As_int(obj2
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8325 arg6
= (long)SWIG_As_long(obj5
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8330 arg7
= wxString_in_helper(obj6
);
8331 if (arg7
== NULL
) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8359 static PyObject
*_wrap_Grid_CreateGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxGrid
*arg1
= (wxGrid
*) 0 ;
8364 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8368 PyObject
* obj2
= 0 ;
8369 PyObject
* obj3
= 0 ;
8371 (char *) "self",(char *) "numRows",(char *) "numCols",(char *) "selmode", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_CreateGrid",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8377 arg2
= (int)SWIG_As_int(obj1
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8379 arg3
= (int)SWIG_As_int(obj2
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 arg4
= (WXGRIDSELECTIONMODES
)SWIG_As_int(obj3
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (bool)(arg1
)->CreateGrid(arg2
,arg3
,arg4
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8401 static PyObject
*_wrap_Grid_SetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxGrid
*arg1
= (wxGrid
*) 0 ;
8404 WXGRIDSELECTIONMODES arg2
;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj1
= 0 ;
8408 (char *) "self",(char *) "selmode", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8414 arg2
= (WXGRIDSELECTIONMODES
)SWIG_As_int(obj1
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 (arg1
)->SetSelectionMode(arg2
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 Py_INCREF(Py_None
); resultobj
= Py_None
;
8430 static PyObject
*_wrap_Grid_GetSelectionMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxGrid
*arg1
= (wxGrid
*) 0 ;
8433 WXGRIDSELECTIONMODES result
;
8434 PyObject
* obj0
= 0 ;
8436 (char *) "self", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionMode",kwnames
,&obj0
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (WXGRIDSELECTIONMODES
)(arg1
)->GetSelectionMode();
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_From_int((int)result
);
8456 static PyObject
*_wrap_Grid_GetNumberRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxGrid
*arg1
= (wxGrid
*) 0 ;
8460 PyObject
* obj0
= 0 ;
8462 (char *) "self", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberRows",kwnames
,&obj0
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (int)(arg1
)->GetNumberRows();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_From_int((int)result
);
8482 static PyObject
*_wrap_Grid_GetNumberCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxGrid
*arg1
= (wxGrid
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8488 (char *) "self", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetNumberCols",kwnames
,&obj0
)) goto fail
;
8492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (int)(arg1
)->GetNumberCols();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_From_int((int)result
);
8508 static PyObject
*_wrap_Grid_ProcessTableMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxGrid
*arg1
= (wxGrid
*) 0 ;
8511 wxGridTableMessage
*arg2
= 0 ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8516 (char *) "self","arg2", NULL
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_ProcessTableMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableMessage
,
8523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8526 PyErr_SetString(PyExc_TypeError
,"null reference");
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (bool)(arg1
)->ProcessTableMessage(*arg2
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8545 static PyObject
*_wrap_Grid_GetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxGrid
*arg1
= (wxGrid
*) 0 ;
8548 wxGridTableBase
*result
;
8549 PyObject
* obj0
= 0 ;
8551 (char *) "self", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetTable",kwnames
,&obj0
)) goto fail
;
8555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 result
= (wxGridTableBase
*)((wxGrid
const *)arg1
)->GetTable();
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= wxPyMake_wxGridTableBase(result
, 0);
8573 static PyObject
*_wrap_Grid_SetTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxGrid
*arg1
= (wxGrid
*) 0 ;
8576 wxGridTableBase
*arg2
= (wxGridTableBase
*) 0 ;
8577 bool arg3
= (bool) false ;
8578 WXGRIDSELECTIONMODES arg4
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 PyObject
* obj2
= 0 ;
8583 PyObject
* obj3
= 0 ;
8585 (char *) "self",(char *) "table",(char *) "takeOwnership",(char *) "selmode", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetTable",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridTableBase
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 arg3
= (bool)SWIG_As_bool(obj2
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8598 arg4
= (WXGRIDSELECTIONMODES
)SWIG_As_int(obj3
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 result
= (bool)(arg1
)->SetTable(arg2
,arg3
,arg4
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8617 static PyObject
*_wrap_Grid_ClearGrid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxGrid
*arg1
= (wxGrid
*) 0 ;
8620 PyObject
* obj0
= 0 ;
8622 (char *) "self", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearGrid",kwnames
,&obj0
)) goto fail
;
8626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 (arg1
)->ClearGrid();
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 Py_INCREF(Py_None
); resultobj
= Py_None
;
8642 static PyObject
*_wrap_Grid_InsertRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxGrid
*arg1
= (wxGrid
*) 0 ;
8645 int arg2
= (int) 0 ;
8646 int arg3
= (int) 1 ;
8647 bool arg4
= (bool) true ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8651 PyObject
* obj2
= 0 ;
8652 PyObject
* obj3
= 0 ;
8654 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8661 arg2
= (int)SWIG_As_int(obj1
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8665 arg3
= (int)SWIG_As_int(obj2
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8669 arg4
= (bool)SWIG_As_bool(obj3
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (bool)(arg1
)->InsertRows(arg2
,arg3
,arg4
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8688 static PyObject
*_wrap_Grid_AppendRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxGrid
*arg1
= (wxGrid
*) 0 ;
8691 int arg2
= (int) 1 ;
8692 bool arg3
= (bool) true ;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 PyObject
* obj2
= 0 ;
8698 (char *) "self",(char *) "numRows",(char *) "updateLabels", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendRows",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 arg2
= (int)SWIG_As_int(obj1
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 arg3
= (bool)SWIG_As_bool(obj2
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 result
= (bool)(arg1
)->AppendRows(arg2
,arg3
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8728 static PyObject
*_wrap_Grid_DeleteRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxGrid
*arg1
= (wxGrid
*) 0 ;
8731 int arg2
= (int) 0 ;
8732 int arg3
= (int) 1 ;
8733 bool arg4
= (bool) true ;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 PyObject
* obj2
= 0 ;
8738 PyObject
* obj3
= 0 ;
8740 (char *) "self",(char *) "pos",(char *) "numRows",(char *) "updateLabels", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteRows",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8747 arg2
= (int)SWIG_As_int(obj1
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8751 arg3
= (int)SWIG_As_int(obj2
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8755 arg4
= (bool)SWIG_As_bool(obj3
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (bool)(arg1
)->DeleteRows(arg2
,arg3
,arg4
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8774 static PyObject
*_wrap_Grid_InsertCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxGrid
*arg1
= (wxGrid
*) 0 ;
8777 int arg2
= (int) 0 ;
8778 int arg3
= (int) 1 ;
8779 bool arg4
= (bool) true ;
8781 PyObject
* obj0
= 0 ;
8782 PyObject
* obj1
= 0 ;
8783 PyObject
* obj2
= 0 ;
8784 PyObject
* obj3
= 0 ;
8786 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_InsertCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8793 arg2
= (int)SWIG_As_int(obj1
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8797 arg3
= (int)SWIG_As_int(obj2
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8801 arg4
= (bool)SWIG_As_bool(obj3
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (bool)(arg1
)->InsertCols(arg2
,arg3
,arg4
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8820 static PyObject
*_wrap_Grid_AppendCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxGrid
*arg1
= (wxGrid
*) 0 ;
8823 int arg2
= (int) 1 ;
8824 bool arg3
= (bool) true ;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8828 PyObject
* obj2
= 0 ;
8830 (char *) "self",(char *) "numCols",(char *) "updateLabels", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Grid_AppendCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8837 arg2
= (int)SWIG_As_int(obj1
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8841 arg3
= (bool)SWIG_As_bool(obj2
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (bool)(arg1
)->AppendCols(arg2
,arg3
);
8848 wxPyEndAllowThreads(__tstate
);
8849 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8860 static PyObject
*_wrap_Grid_DeleteCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxGrid
*arg1
= (wxGrid
*) 0 ;
8863 int arg2
= (int) 0 ;
8864 int arg3
= (int) 1 ;
8865 bool arg4
= (bool) true ;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8869 PyObject
* obj2
= 0 ;
8870 PyObject
* obj3
= 0 ;
8872 (char *) "self",(char *) "pos",(char *) "numCols",(char *) "updateLabels", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Grid_DeleteCols",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8879 arg2
= (int)SWIG_As_int(obj1
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 arg3
= (int)SWIG_As_int(obj2
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8887 arg4
= (bool)SWIG_As_bool(obj3
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (bool)(arg1
)->DeleteCols(arg2
,arg3
,arg4
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8906 static PyObject
*_wrap_Grid_DrawCellHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxGrid
*arg1
= (wxGrid
*) 0 ;
8910 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8913 PyObject
* obj2
= 0 ;
8915 (char *) "self",(char *) "dc",(char *) "attr", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DrawCellHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8925 PyErr_SetString(PyExc_TypeError
,"null reference");
8928 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->DrawCellHighlight(*arg2
,(wxGridCellAttr
const *)arg3
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_Grid_DrawTextRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxGrid
*arg1
= (wxGrid
*) 0 ;
8948 wxString
*arg3
= 0 ;
8950 int arg5
= (int) wxLEFT
;
8951 int arg6
= (int) wxTOP
;
8952 int arg7
= (int) wxHORIZONTAL
;
8953 bool temp3
= false ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8957 PyObject
* obj2
= 0 ;
8958 PyObject
* obj3
= 0 ;
8959 PyObject
* obj4
= 0 ;
8960 PyObject
* obj5
= 0 ;
8961 PyObject
* obj6
= 0 ;
8963 (char *) "self",(char *) "dc","arg3","arg4",(char *) "horizontalAlignment",(char *) "verticalAlignment",(char *) "textOrientation", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:Grid_DrawTextRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8973 PyErr_SetString(PyExc_TypeError
,"null reference");
8977 arg3
= wxString_in_helper(obj2
);
8978 if (arg3
== NULL
) SWIG_fail
;
8983 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
8986 arg5
= (int)SWIG_As_int(obj4
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8990 arg6
= (int)SWIG_As_int(obj5
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8994 arg7
= (int)SWIG_As_int(obj6
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->DrawTextRectangle(*arg2
,(wxString
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_Grid_GetTextBoxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxGrid
*arg1
= (wxGrid
*) 0 ;
9023 wxArrayString
*arg3
= 0 ;
9024 long *arg4
= (long *) 0 ;
9025 long *arg5
= (long *) 0 ;
9026 bool temp3
= false ;
9031 PyObject
* obj0
= 0 ;
9032 PyObject
* obj1
= 0 ;
9033 PyObject
* obj2
= 0 ;
9035 (char *) "self",(char *) "dc",(char *) "lines", NULL
9038 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9039 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetTextBoxSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9047 PyErr_SetString(PyExc_TypeError
,"null reference");
9051 if (! PySequence_Check(obj2
)) {
9052 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9055 arg3
= new wxArrayString
;
9057 int i
, len
=PySequence_Length(obj2
);
9058 for (i
=0; i
<len
; i
++) {
9059 PyObject
* item
= PySequence_GetItem(obj2
, i
);
9061 PyObject
* str
= PyObject_Unicode(item
);
9063 PyObject
* str
= PyObject_Str(item
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9066 arg3
->Add(Py2wxString(str
));
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 (arg1
)->GetTextBoxSize(*arg2
,*arg3
,arg4
,arg5
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 Py_INCREF(Py_None
); resultobj
= Py_None
;
9079 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9080 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9081 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
9082 SWIG_From_long((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_long
, 0)));
9084 if (temp3
) delete arg3
;
9089 if (temp3
) delete arg3
;
9095 static PyObject
*_wrap_Grid_BeginBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxGrid
*arg1
= (wxGrid
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_BeginBatch",kwnames
,&obj0
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 (arg1
)->BeginBatch();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 Py_INCREF(Py_None
); resultobj
= Py_None
;
9120 static PyObject
*_wrap_Grid_EndBatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxGrid
*arg1
= (wxGrid
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9125 (char *) "self", NULL
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_EndBatch",kwnames
,&obj0
)) goto fail
;
9129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 Py_INCREF(Py_None
); resultobj
= Py_None
;
9145 static PyObject
*_wrap_Grid_GetBatchCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxGrid
*arg1
= (wxGrid
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9151 (char *) "self", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetBatchCount",kwnames
,&obj0
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (int)(arg1
)->GetBatchCount();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_From_int((int)result
);
9171 static PyObject
*_wrap_Grid_ForceRefresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxGrid
*arg1
= (wxGrid
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "self", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ForceRefresh",kwnames
,&obj0
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 (arg1
)->ForceRefresh();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 Py_INCREF(Py_None
); resultobj
= Py_None
;
9196 static PyObject
*_wrap_Grid_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxGrid
*arg1
= (wxGrid
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9202 (char *) "self", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsEditable",kwnames
,&obj0
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (bool)(arg1
)->IsEditable();
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9224 static PyObject
*_wrap_Grid_EnableEditing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxGrid
*arg1
= (wxGrid
*) 0 ;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9231 (char *) "self",(char *) "edit", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_EnableEditing",kwnames
,&obj0
,&obj1
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9237 arg2
= (bool)SWIG_As_bool(obj1
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 (arg1
)->EnableEditing(arg2
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 Py_INCREF(Py_None
); resultobj
= Py_None
;
9253 static PyObject
*_wrap_Grid_EnableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxGrid
*arg1
= (wxGrid
*) 0 ;
9256 bool arg2
= (bool) true ;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9260 (char *) "self",(char *) "enable", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableCellEditControl",kwnames
,&obj0
,&obj1
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9267 arg2
= (bool)SWIG_As_bool(obj1
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->EnableCellEditControl(arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 Py_INCREF(Py_None
); resultobj
= Py_None
;
9284 static PyObject
*_wrap_Grid_DisableCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxGrid
*arg1
= (wxGrid
*) 0 ;
9287 PyObject
* obj0
= 0 ;
9289 (char *) "self", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableCellEditControl",kwnames
,&obj0
)) goto fail
;
9293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 (arg1
)->DisableCellEditControl();
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 Py_INCREF(Py_None
); resultobj
= Py_None
;
9309 static PyObject
*_wrap_Grid_CanEnableCellControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxGrid
*arg1
= (wxGrid
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9315 (char *) "self", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanEnableCellControl",kwnames
,&obj0
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (bool)((wxGrid
const *)arg1
)->CanEnableCellControl();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9337 static PyObject
*_wrap_Grid_IsCellEditControlEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxGrid
*arg1
= (wxGrid
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9343 (char *) "self", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlEnabled",kwnames
,&obj0
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlEnabled();
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9365 static PyObject
*_wrap_Grid_IsCellEditControlShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
;
9367 wxGrid
*arg1
= (wxGrid
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9371 (char *) "self", NULL
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCellEditControlShown",kwnames
,&obj0
)) goto fail
;
9375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 result
= (bool)((wxGrid
const *)arg1
)->IsCellEditControlShown();
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9393 static PyObject
*_wrap_Grid_IsCurrentCellReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxGrid
*arg1
= (wxGrid
*) 0 ;
9397 PyObject
* obj0
= 0 ;
9399 (char *) "self", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsCurrentCellReadOnly",kwnames
,&obj0
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 result
= (bool)((wxGrid
const *)arg1
)->IsCurrentCellReadOnly();
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9421 static PyObject
*_wrap_Grid_ShowCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxGrid
*arg1
= (wxGrid
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9426 (char *) "self", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ShowCellEditControl",kwnames
,&obj0
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 (arg1
)->ShowCellEditControl();
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 Py_INCREF(Py_None
); resultobj
= Py_None
;
9446 static PyObject
*_wrap_Grid_HideCellEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxGrid
*arg1
= (wxGrid
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_HideCellEditControl",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 (arg1
)->HideCellEditControl();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9471 static PyObject
*_wrap_Grid_SaveEditControlValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxGrid
*arg1
= (wxGrid
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SaveEditControlValue",kwnames
,&obj0
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 (arg1
)->SaveEditControlValue();
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 Py_INCREF(Py_None
); resultobj
= Py_None
;
9496 static PyObject
*_wrap_Grid_XYToCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxGrid
*arg1
= (wxGrid
*) 0 ;
9501 wxGridCellCoords result
;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9504 PyObject
* obj2
= 0 ;
9506 (char *) "self",(char *) "x",(char *) "y", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_XYToCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9512 arg2
= (int)SWIG_As_int(obj1
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9514 arg3
= (int)SWIG_As_int(obj2
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 result
= wxGrid_XYToCell(arg1
,arg2
,arg3
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9524 wxGridCellCoords
* resultptr
;
9525 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
9526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
9534 static PyObject
*_wrap_Grid_YToRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxGrid
*arg1
= (wxGrid
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9542 (char *) "self",(char *) "y", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 arg2
= (int)SWIG_As_int(obj1
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (int)(arg1
)->YToRow(arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_From_int((int)result
);
9564 static PyObject
*_wrap_Grid_XToCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxGrid
*arg1
= (wxGrid
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9572 (char *) "self",(char *) "x", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 arg2
= (int)SWIG_As_int(obj1
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (int)(arg1
)->XToCol(arg2
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_From_int((int)result
);
9594 static PyObject
*_wrap_Grid_YToEdgeOfRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxGrid
*arg1
= (wxGrid
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9602 (char *) "self",(char *) "y", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_YToEdgeOfRow",kwnames
,&obj0
,&obj1
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= (int)SWIG_As_int(obj1
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (int)(arg1
)->YToEdgeOfRow(arg2
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= SWIG_From_int((int)result
);
9624 static PyObject
*_wrap_Grid_XToEdgeOfCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxGrid
*arg1
= (wxGrid
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9632 (char *) "self",(char *) "x", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_XToEdgeOfCol",kwnames
,&obj0
,&obj1
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9638 arg2
= (int)SWIG_As_int(obj1
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (int)(arg1
)->XToEdgeOfCol(arg2
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_From_int((int)result
);
9654 static PyObject
*_wrap_Grid_CellToRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxGrid
*arg1
= (wxGrid
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 PyObject
* obj2
= 0 ;
9664 (char *) "self",(char *) "row",(char *) "col", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_CellToRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 arg2
= (int)SWIG_As_int(obj1
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9672 arg3
= (int)SWIG_As_int(obj2
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (arg1
)->CellToRect(arg2
,arg3
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9683 resultptr
= new wxRect((wxRect
&) result
);
9684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9692 static PyObject
*_wrap_Grid_GetGridCursorRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxGrid
*arg1
= (wxGrid
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorRow",kwnames
,&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (int)(arg1
)->GetGridCursorRow();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_From_int((int)result
);
9718 static PyObject
*_wrap_Grid_GetGridCursorCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxGrid
*arg1
= (wxGrid
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9724 (char *) "self", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCursorCol",kwnames
,&obj0
)) goto fail
;
9728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (int)(arg1
)->GetGridCursorCol();
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_From_int((int)result
);
9744 static PyObject
*_wrap_Grid_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxGrid
*arg1
= (wxGrid
*) 0 ;
9749 bool arg4
= (bool) true ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9753 PyObject
* obj2
= 0 ;
9754 PyObject
* obj3
= 0 ;
9756 (char *) "self",(char *) "row",(char *) "col",(char *) "wholeCellVisible", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_IsVisible",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9762 arg2
= (int)SWIG_As_int(obj1
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9764 arg3
= (int)SWIG_As_int(obj2
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 arg4
= (bool)SWIG_As_bool(obj3
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (bool)(arg1
)->IsVisible(arg2
,arg3
,arg4
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9786 static PyObject
*_wrap_Grid_MakeCellVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxGrid
*arg1
= (wxGrid
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9792 PyObject
* obj1
= 0 ;
9793 PyObject
* obj2
= 0 ;
9795 (char *) "self",(char *) "row",(char *) "col", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_MakeCellVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 arg2
= (int)SWIG_As_int(obj1
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9803 arg3
= (int)SWIG_As_int(obj2
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 (arg1
)->MakeCellVisible(arg2
,arg3
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 Py_INCREF(Py_None
); resultobj
= Py_None
;
9819 static PyObject
*_wrap_Grid_SetGridCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxGrid
*arg1
= (wxGrid
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9826 PyObject
* obj2
= 0 ;
9828 (char *) "self",(char *) "row",(char *) "col", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetGridCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9834 arg2
= (int)SWIG_As_int(obj1
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9836 arg3
= (int)SWIG_As_int(obj2
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 (arg1
)->SetGridCursor(arg2
,arg3
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 Py_INCREF(Py_None
); resultobj
= Py_None
;
9852 static PyObject
*_wrap_Grid_MoveCursorUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxGrid
*arg1
= (wxGrid
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9860 (char *) "self",(char *) "expandSelection", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUp",kwnames
,&obj0
,&obj1
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9866 arg2
= (bool)SWIG_As_bool(obj1
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (bool)(arg1
)->MoveCursorUp(arg2
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9884 static PyObject
*_wrap_Grid_MoveCursorDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxGrid
*arg1
= (wxGrid
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9890 PyObject
* obj1
= 0 ;
9892 (char *) "self",(char *) "expandSelection", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDown",kwnames
,&obj0
,&obj1
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 arg2
= (bool)SWIG_As_bool(obj1
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (bool)(arg1
)->MoveCursorDown(arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9916 static PyObject
*_wrap_Grid_MoveCursorLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxGrid
*arg1
= (wxGrid
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "expandSelection", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9930 arg2
= (bool)SWIG_As_bool(obj1
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (bool)(arg1
)->MoveCursorLeft(arg2
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9948 static PyObject
*_wrap_Grid_MoveCursorRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxGrid
*arg1
= (wxGrid
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9956 (char *) "self",(char *) "expandSelection", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRight",kwnames
,&obj0
,&obj1
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 arg2
= (bool)SWIG_As_bool(obj1
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (bool)(arg1
)->MoveCursorRight(arg2
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9980 static PyObject
*_wrap_Grid_MovePageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxGrid
*arg1
= (wxGrid
*) 0 ;
9984 PyObject
* obj0
= 0 ;
9986 (char *) "self", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageDown",kwnames
,&obj0
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
9991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (bool)(arg1
)->MovePageDown();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10008 static PyObject
*_wrap_Grid_MovePageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxGrid
*arg1
= (wxGrid
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_MovePageUp",kwnames
,&obj0
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (bool)(arg1
)->MovePageUp();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10036 static PyObject
*_wrap_Grid_MoveCursorUpBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxGrid
*arg1
= (wxGrid
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self",(char *) "expandSelection", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorUpBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10050 arg2
= (bool)SWIG_As_bool(obj1
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (bool)(arg1
)->MoveCursorUpBlock(arg2
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10068 static PyObject
*_wrap_Grid_MoveCursorDownBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxGrid
*arg1
= (wxGrid
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self",(char *) "expandSelection", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorDownBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10082 arg2
= (bool)SWIG_As_bool(obj1
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (bool)(arg1
)->MoveCursorDownBlock(arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10100 static PyObject
*_wrap_Grid_MoveCursorLeftBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxGrid
*arg1
= (wxGrid
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self",(char *) "expandSelection", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorLeftBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10114 arg2
= (bool)SWIG_As_bool(obj1
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (bool)(arg1
)->MoveCursorLeftBlock(arg2
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10132 static PyObject
*_wrap_Grid_MoveCursorRightBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxGrid
*arg1
= (wxGrid
*) 0 ;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self",(char *) "expandSelection", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_MoveCursorRightBlock",kwnames
,&obj0
,&obj1
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10146 arg2
= (bool)SWIG_As_bool(obj1
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (bool)(arg1
)->MoveCursorRightBlock(arg2
);
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10164 static PyObject
*_wrap_Grid_GetDefaultRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
*resultobj
;
10166 wxGrid
*arg1
= (wxGrid
*) 0 ;
10168 PyObject
* obj0
= 0 ;
10169 char *kwnames
[] = {
10170 (char *) "self", NULL
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowLabelSize",kwnames
,&obj0
)) goto fail
;
10174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (int)(arg1
)->GetDefaultRowLabelSize();
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= SWIG_From_int((int)result
);
10190 static PyObject
*_wrap_Grid_GetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxGrid
*arg1
= (wxGrid
*) 0 ;
10194 PyObject
* obj0
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelSize",kwnames
,&obj0
)) goto fail
;
10200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (int)(arg1
)->GetRowLabelSize();
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= SWIG_From_int((int)result
);
10216 static PyObject
*_wrap_Grid_GetDefaultColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxGrid
*arg1
= (wxGrid
*) 0 ;
10220 PyObject
* obj0
= 0 ;
10221 char *kwnames
[] = {
10222 (char *) "self", NULL
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColLabelSize",kwnames
,&obj0
)) goto fail
;
10226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (int)(arg1
)->GetDefaultColLabelSize();
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= SWIG_From_int((int)result
);
10242 static PyObject
*_wrap_Grid_GetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxGrid
*arg1
= (wxGrid
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelSize",kwnames
,&obj0
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (int)(arg1
)->GetColLabelSize();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_From_int((int)result
);
10268 static PyObject
*_wrap_Grid_GetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxGrid
*arg1
= (wxGrid
*) 0 ;
10272 PyObject
* obj0
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelBackgroundColour",kwnames
,&obj0
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (arg1
)->GetLabelBackgroundColour();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 wxColour
* resultptr
;
10289 resultptr
= new wxColour((wxColour
&) result
);
10290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10298 static PyObject
*_wrap_Grid_GetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxGrid
*arg1
= (wxGrid
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelTextColour",kwnames
,&obj0
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (arg1
)->GetLabelTextColour();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10318 wxColour
* resultptr
;
10319 resultptr
= new wxColour((wxColour
&) result
);
10320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10328 static PyObject
*_wrap_Grid_GetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxGrid
*arg1
= (wxGrid
*) 0 ;
10332 PyObject
* obj0
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetLabelFont",kwnames
,&obj0
)) goto fail
;
10338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (arg1
)->GetLabelFont();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10348 wxFont
* resultptr
;
10349 resultptr
= new wxFont((wxFont
&) result
);
10350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
10358 static PyObject
*_wrap_Grid_GetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxGrid
*arg1
= (wxGrid
*) 0 ;
10361 int *arg2
= (int *) 0 ;
10362 int *arg3
= (int *) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self", NULL
10372 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10373 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowLabelAlignment",kwnames
,&obj0
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->GetRowLabelAlignment(arg2
,arg3
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 Py_INCREF(Py_None
); resultobj
= Py_None
;
10385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10386 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
10387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10388 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
10395 static PyObject
*_wrap_Grid_GetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxGrid
*arg1
= (wxGrid
*) 0 ;
10398 int *arg2
= (int *) 0 ;
10399 int *arg3
= (int *) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self", NULL
10409 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10410 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelAlignment",kwnames
,&obj0
)) goto fail
;
10412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 (arg1
)->GetColLabelAlignment(arg2
,arg3
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 Py_INCREF(Py_None
); resultobj
= Py_None
;
10422 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10423 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
10424 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10425 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
10432 static PyObject
*_wrap_Grid_GetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
;
10434 wxGrid
*arg1
= (wxGrid
*) 0 ;
10436 PyObject
* obj0
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "self", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColLabelTextOrientation",kwnames
,&obj0
)) goto fail
;
10442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (int)(arg1
)->GetColLabelTextOrientation();
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= SWIG_From_int((int)result
);
10458 static PyObject
*_wrap_Grid_GetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxGrid
*arg1
= (wxGrid
*) 0 ;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self",(char *) "row", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10472 arg2
= (int)SWIG_As_int(obj1
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (arg1
)->GetRowLabelValue(arg2
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10494 static PyObject
*_wrap_Grid_GetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxGrid
*arg1
= (wxGrid
*) 0 ;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self",(char *) "col", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColLabelValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10508 arg2
= (int)SWIG_As_int(obj1
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (arg1
)->GetColLabelValue(arg2
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10530 static PyObject
*_wrap_Grid_GetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxGrid
*arg1
= (wxGrid
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridLineColour",kwnames
,&obj0
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (arg1
)->GetGridLineColour();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 wxColour
* resultptr
;
10551 resultptr
= new wxColour((wxColour
&) result
);
10552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10560 static PyObject
*_wrap_Grid_GetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxGrid
*arg1
= (wxGrid
*) 0 ;
10564 PyObject
* obj0
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightColour",kwnames
,&obj0
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 result
= (arg1
)->GetCellHighlightColour();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 wxColour
* resultptr
;
10581 resultptr
= new wxColour((wxColour
&) result
);
10582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10590 static PyObject
*_wrap_Grid_GetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxGrid
*arg1
= (wxGrid
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightPenWidth",kwnames
,&obj0
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (int)(arg1
)->GetCellHighlightPenWidth();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_From_int((int)result
);
10616 static PyObject
*_wrap_Grid_GetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxGrid
*arg1
= (wxGrid
*) 0 ;
10620 PyObject
* obj0
= 0 ;
10621 char *kwnames
[] = {
10622 (char *) "self", NULL
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetCellHighlightROPenWidth",kwnames
,&obj0
)) goto fail
;
10626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (int)(arg1
)->GetCellHighlightROPenWidth();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_From_int((int)result
);
10642 static PyObject
*_wrap_Grid_SetRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
;
10644 wxGrid
*arg1
= (wxGrid
*) 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "width", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 arg2
= (int)SWIG_As_int(obj1
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetRowLabelSize(arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_Grid_SetColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxGrid
*arg1
= (wxGrid
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self",(char *) "height", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10684 arg2
= (int)SWIG_As_int(obj1
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 (arg1
)->SetColLabelSize(arg2
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 Py_INCREF(Py_None
); resultobj
= Py_None
;
10700 static PyObject
*_wrap_Grid_SetLabelBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxGrid
*arg1
= (wxGrid
*) 0 ;
10703 wxColour
*arg2
= 0 ;
10705 PyObject
* obj0
= 0 ;
10706 PyObject
* obj1
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "self","arg2", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 (arg1
)->SetLabelBackgroundColour((wxColour
const &)*arg2
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 Py_INCREF(Py_None
); resultobj
= Py_None
;
10732 static PyObject
*_wrap_Grid_SetLabelTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxGrid
*arg1
= (wxGrid
*) 0 ;
10735 wxColour
*arg2
= 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self","arg2", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->SetLabelTextColour((wxColour
const &)*arg2
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 Py_INCREF(Py_None
); resultobj
= Py_None
;
10764 static PyObject
*_wrap_Grid_SetLabelFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxGrid
*arg1
= (wxGrid
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self","arg2", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetLabelFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10780 if (arg2
== NULL
) {
10781 PyErr_SetString(PyExc_TypeError
,"null reference");
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 (arg1
)->SetLabelFont((wxFont
const &)*arg2
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 Py_INCREF(Py_None
); resultobj
= Py_None
;
10798 static PyObject
*_wrap_Grid_SetRowLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxGrid
*arg1
= (wxGrid
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 PyObject
* obj2
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10813 arg2
= (int)SWIG_As_int(obj1
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10815 arg3
= (int)SWIG_As_int(obj2
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 (arg1
)->SetRowLabelAlignment(arg2
,arg3
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10824 Py_INCREF(Py_None
); resultobj
= Py_None
;
10831 static PyObject
*_wrap_Grid_SetColLabelAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxGrid
*arg1
= (wxGrid
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 PyObject
* obj1
= 0 ;
10838 PyObject
* obj2
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self",(char *) "horiz",(char *) "vert", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 arg2
= (int)SWIG_As_int(obj1
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10848 arg3
= (int)SWIG_As_int(obj2
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 (arg1
)->SetColLabelAlignment(arg2
,arg3
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 Py_INCREF(Py_None
); resultobj
= Py_None
;
10864 static PyObject
*_wrap_Grid_SetColLabelTextOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxGrid
*arg1
= (wxGrid
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self",(char *) "textOrientation", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColLabelTextOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10877 arg2
= (int)SWIG_As_int(obj1
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->SetColLabelTextOrientation(arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_Grid_SetRowLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxGrid
*arg1
= (wxGrid
*) 0 ;
10897 wxString
*arg3
= 0 ;
10898 bool temp3
= false ;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 PyObject
* obj2
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self",(char *) "row","arg3", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 arg2
= (int)SWIG_As_int(obj1
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 arg3
= wxString_in_helper(obj2
);
10913 if (arg3
== NULL
) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->SetRowLabelValue(arg2
,(wxString
const &)*arg3
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10938 static PyObject
*_wrap_Grid_SetColLabelValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxGrid
*arg1
= (wxGrid
*) 0 ;
10942 wxString
*arg3
= 0 ;
10943 bool temp3
= false ;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 PyObject
* obj2
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self",(char *) "col","arg3", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColLabelValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 arg2
= (int)SWIG_As_int(obj1
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10957 arg3
= wxString_in_helper(obj2
);
10958 if (arg3
== NULL
) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->SetColLabelValue(arg2
,(wxString
const &)*arg3
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_Grid_SetGridLineColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxGrid
*arg1
= (wxGrid
*) 0 ;
10986 wxColour
*arg2
= 0 ;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char *kwnames
[] = {
10991 (char *) "self","arg2", NULL
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetGridLineColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
10996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 (arg1
)->SetGridLineColour((wxColour
const &)*arg2
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 Py_INCREF(Py_None
); resultobj
= Py_None
;
11015 static PyObject
*_wrap_Grid_SetCellHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxGrid
*arg1
= (wxGrid
*) 0 ;
11018 wxColour
*arg2
= 0 ;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self","arg2", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 (arg1
)->SetCellHighlightColour((wxColour
const &)*arg2
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 Py_INCREF(Py_None
); resultobj
= Py_None
;
11047 static PyObject
*_wrap_Grid_SetCellHighlightPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxGrid
*arg1
= (wxGrid
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "width", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11060 arg2
= (int)SWIG_As_int(obj1
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 (arg1
)->SetCellHighlightPenWidth(arg2
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 Py_INCREF(Py_None
); resultobj
= Py_None
;
11076 static PyObject
*_wrap_Grid_SetCellHighlightROPenWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxGrid
*arg1
= (wxGrid
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 char *kwnames
[] = {
11083 (char *) "self",(char *) "width", NULL
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetCellHighlightROPenWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
11087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11089 arg2
= (int)SWIG_As_int(obj1
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 (arg1
)->SetCellHighlightROPenWidth(arg2
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 Py_INCREF(Py_None
); resultobj
= Py_None
;
11105 static PyObject
*_wrap_Grid_EnableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxGrid
*arg1
= (wxGrid
*) 0 ;
11108 bool arg2
= (bool) true ;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self",(char *) "enable", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11119 arg2
= (bool)SWIG_As_bool(obj1
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 (arg1
)->EnableDragRowSize(arg2
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11129 Py_INCREF(Py_None
); resultobj
= Py_None
;
11136 static PyObject
*_wrap_Grid_DisableDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxGrid
*arg1
= (wxGrid
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "self", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragRowSize",kwnames
,&obj0
)) goto fail
;
11145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 (arg1
)->DisableDragRowSize();
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 Py_INCREF(Py_None
); resultobj
= Py_None
;
11161 static PyObject
*_wrap_Grid_CanDragRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxGrid
*arg1
= (wxGrid
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragRowSize",kwnames
,&obj0
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)(arg1
)->CanDragRowSize();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 static PyObject
*_wrap_Grid_EnableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxGrid
*arg1
= (wxGrid
*) 0 ;
11192 bool arg2
= (bool) true ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self",(char *) "enable", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11203 arg2
= (bool)SWIG_As_bool(obj1
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 (arg1
)->EnableDragColSize(arg2
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 Py_INCREF(Py_None
); resultobj
= Py_None
;
11220 static PyObject
*_wrap_Grid_DisableDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxGrid
*arg1
= (wxGrid
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragColSize",kwnames
,&obj0
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 (arg1
)->DisableDragColSize();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 Py_INCREF(Py_None
); resultobj
= Py_None
;
11245 static PyObject
*_wrap_Grid_CanDragColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxGrid
*arg1
= (wxGrid
*) 0 ;
11249 PyObject
* obj0
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragColSize",kwnames
,&obj0
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 result
= (bool)(arg1
)->CanDragColSize();
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11273 static PyObject
*_wrap_Grid_EnableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxGrid
*arg1
= (wxGrid
*) 0 ;
11276 bool arg2
= (bool) true ;
11277 PyObject
* obj0
= 0 ;
11278 PyObject
* obj1
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "enable", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragGridSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11287 arg2
= (bool)SWIG_As_bool(obj1
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 (arg1
)->EnableDragGridSize(arg2
);
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 Py_INCREF(Py_None
); resultobj
= Py_None
;
11304 static PyObject
*_wrap_Grid_DisableDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 wxGrid
*arg1
= (wxGrid
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 char *kwnames
[] = {
11309 (char *) "self", NULL
11312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragGridSize",kwnames
,&obj0
)) goto fail
;
11313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 (arg1
)->DisableDragGridSize();
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 Py_INCREF(Py_None
); resultobj
= Py_None
;
11329 static PyObject
*_wrap_Grid_CanDragGridSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxGrid
*arg1
= (wxGrid
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragGridSize",kwnames
,&obj0
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (bool)(arg1
)->CanDragGridSize();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11357 static PyObject
*_wrap_Grid_EnableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxGrid
*arg1
= (wxGrid
*) 0 ;
11360 bool arg2
= (bool) true ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "enable", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableDragCell",kwnames
,&obj0
,&obj1
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11371 arg2
= (bool)SWIG_As_bool(obj1
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 (arg1
)->EnableDragCell(arg2
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 Py_INCREF(Py_None
); resultobj
= Py_None
;
11388 static PyObject
*_wrap_Grid_DisableDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxGrid
*arg1
= (wxGrid
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_DisableDragCell",kwnames
,&obj0
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 (arg1
)->DisableDragCell();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 Py_INCREF(Py_None
); resultobj
= Py_None
;
11413 static PyObject
*_wrap_Grid_CanDragCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxGrid
*arg1
= (wxGrid
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_CanDragCell",kwnames
,&obj0
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (bool)(arg1
)->CanDragCell();
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11441 static PyObject
*_wrap_Grid_SetAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxGrid
*arg1
= (wxGrid
*) 0 ;
11446 wxGridCellAttr
*arg4
= (wxGridCellAttr
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 PyObject
* obj3
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self",(char *) "row",(char *) "col",(char *) "attr", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11458 arg2
= (int)SWIG_As_int(obj1
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11460 arg3
= (int)SWIG_As_int(obj2
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11462 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellAttr
,
11463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 (arg1
)->SetAttr(arg2
,arg3
,arg4
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 Py_INCREF(Py_None
); resultobj
= Py_None
;
11478 static PyObject
*_wrap_Grid_SetRowAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxGrid
*arg1
= (wxGrid
*) 0 ;
11482 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 PyObject
* obj1
= 0 ;
11485 PyObject
* obj2
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "row",(char *) "attr", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 arg2
= (int)SWIG_As_int(obj1
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11495 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 (arg1
)->SetRowAttr(arg2
,arg3
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 Py_INCREF(Py_None
); resultobj
= Py_None
;
11511 static PyObject
*_wrap_Grid_SetColAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxGrid
*arg1
= (wxGrid
*) 0 ;
11515 wxGridCellAttr
*arg3
= (wxGridCellAttr
*) 0 ;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 PyObject
* obj2
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self",(char *) "col",(char *) "attr", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11526 arg2
= (int)SWIG_As_int(obj1
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11528 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellAttr
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 (arg1
)->SetColAttr(arg2
,arg3
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_Grid_GetOrCreateCellAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxGrid
*arg1
= (wxGrid
*) 0 ;
11549 wxGridCellAttr
*result
;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "row",(char *) "col", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetOrCreateCellAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11560 arg2
= (int)SWIG_As_int(obj1
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11562 arg3
= (int)SWIG_As_int(obj2
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (wxGridCellAttr
*)((wxGrid
const *)arg1
)->GetOrCreateCellAttr(arg2
,arg3
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= wxPyMake_wxGridCellAttr(result
, 0);
11580 static PyObject
*_wrap_Grid_SetColFormatBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxGrid
*arg1
= (wxGrid
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self",(char *) "col", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatBool",kwnames
,&obj0
,&obj1
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11593 arg2
= (int)SWIG_As_int(obj1
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->SetColFormatBool(arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
*_wrap_Grid_SetColFormatNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxGrid
*arg1
= (wxGrid
*) 0 ;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "self",(char *) "col", NULL
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColFormatNumber",kwnames
,&obj0
,&obj1
)) goto fail
;
11620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11622 arg2
= (int)SWIG_As_int(obj1
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 (arg1
)->SetColFormatNumber(arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 Py_INCREF(Py_None
); resultobj
= Py_None
;
11638 static PyObject
*_wrap_Grid_SetColFormatFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 wxGrid
*arg1
= (wxGrid
*) 0 ;
11642 int arg3
= (int) -1 ;
11643 int arg4
= (int) -1 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 PyObject
* obj2
= 0 ;
11647 PyObject
* obj3
= 0 ;
11648 char *kwnames
[] = {
11649 (char *) "self",(char *) "col",(char *) "width",(char *) "precision", NULL
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Grid_SetColFormatFloat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11655 arg2
= (int)SWIG_As_int(obj1
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 arg3
= (int)SWIG_As_int(obj2
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11662 arg4
= (int)SWIG_As_int(obj3
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 (arg1
)->SetColFormatFloat(arg2
,arg3
,arg4
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 Py_INCREF(Py_None
); resultobj
= Py_None
;
11679 static PyObject
*_wrap_Grid_SetColFormatCustom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxGrid
*arg1
= (wxGrid
*) 0 ;
11683 wxString
*arg3
= 0 ;
11684 bool temp3
= false ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "col",(char *) "typeName", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColFormatCustom",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11695 arg2
= (int)SWIG_As_int(obj1
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 arg3
= wxString_in_helper(obj2
);
11699 if (arg3
== NULL
) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 (arg1
)->SetColFormatCustom(arg2
,(wxString
const &)*arg3
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 Py_INCREF(Py_None
); resultobj
= Py_None
;
11724 static PyObject
*_wrap_Grid_EnableGridLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxGrid
*arg1
= (wxGrid
*) 0 ;
11727 bool arg2
= (bool) true ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self",(char *) "enable", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_EnableGridLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11738 arg2
= (bool)SWIG_As_bool(obj1
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 (arg1
)->EnableGridLines(arg2
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 Py_INCREF(Py_None
); resultobj
= Py_None
;
11755 static PyObject
*_wrap_Grid_GridLinesEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxGrid
*arg1
= (wxGrid
*) 0 ;
11759 PyObject
* obj0
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GridLinesEnabled",kwnames
,&obj0
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)(arg1
)->GridLinesEnabled();
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11783 static PyObject
*_wrap_Grid_GetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxGrid
*arg1
= (wxGrid
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRowSize",kwnames
,&obj0
)) goto fail
;
11793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (int)(arg1
)->GetDefaultRowSize();
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= SWIG_From_int((int)result
);
11809 static PyObject
*_wrap_Grid_GetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxGrid
*arg1
= (wxGrid
*) 0 ;
11814 PyObject
* obj0
= 0 ;
11815 PyObject
* obj1
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self",(char *) "row", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetRowSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11823 arg2
= (int)SWIG_As_int(obj1
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (int)(arg1
)->GetRowSize(arg2
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= SWIG_From_int((int)result
);
11839 static PyObject
*_wrap_Grid_GetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxGrid
*arg1
= (wxGrid
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultColSize",kwnames
,&obj0
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (int)(arg1
)->GetDefaultColSize();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_int((int)result
);
11865 static PyObject
*_wrap_Grid_GetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxGrid
*arg1
= (wxGrid
*) 0 ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self",(char *) "col", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetColSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11879 arg2
= (int)SWIG_As_int(obj1
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (int)(arg1
)->GetColSize(arg2
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_From_int((int)result
);
11895 static PyObject
*_wrap_Grid_GetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxGrid
*arg1
= (wxGrid
*) 0 ;
11899 PyObject
* obj0
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "self", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellBackgroundColour",kwnames
,&obj0
)) goto fail
;
11905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (arg1
)->GetDefaultCellBackgroundColour();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 wxColour
* resultptr
;
11916 resultptr
= new wxColour((wxColour
&) result
);
11917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11925 static PyObject
*_wrap_Grid_GetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
*resultobj
;
11927 wxGrid
*arg1
= (wxGrid
*) 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 PyObject
* obj2
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "row",(char *) "col", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 arg2
= (int)SWIG_As_int(obj1
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11943 arg3
= (int)SWIG_As_int(obj2
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (arg1
)->GetCellBackgroundColour(arg2
,arg3
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11953 wxColour
* resultptr
;
11954 resultptr
= new wxColour((wxColour
&) result
);
11955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11963 static PyObject
*_wrap_Grid_GetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxGrid
*arg1
= (wxGrid
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellTextColour",kwnames
,&obj0
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (arg1
)->GetDefaultCellTextColour();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 wxColour
* resultptr
;
11984 resultptr
= new wxColour((wxColour
&) result
);
11985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11993 static PyObject
*_wrap_Grid_GetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxGrid
*arg1
= (wxGrid
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 PyObject
* obj2
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self",(char *) "row",(char *) "col", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12009 arg2
= (int)SWIG_As_int(obj1
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12011 arg3
= (int)SWIG_As_int(obj2
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (arg1
)->GetCellTextColour(arg2
,arg3
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 wxColour
* resultptr
;
12022 resultptr
= new wxColour((wxColour
&) result
);
12023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
12031 static PyObject
*_wrap_Grid_GetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxGrid
*arg1
= (wxGrid
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellFont",kwnames
,&obj0
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (arg1
)->GetDefaultCellFont();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 wxFont
* resultptr
;
12052 resultptr
= new wxFont((wxFont
&) result
);
12053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12061 static PyObject
*_wrap_Grid_GetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxGrid
*arg1
= (wxGrid
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 PyObject
* obj2
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self",(char *) "row",(char *) "col", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 arg2
= (int)SWIG_As_int(obj1
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12079 arg3
= (int)SWIG_As_int(obj2
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (arg1
)->GetCellFont(arg2
,arg3
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12089 wxFont
* resultptr
;
12090 resultptr
= new wxFont((wxFont
&) result
);
12091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
12099 static PyObject
*_wrap_Grid_GetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxGrid
*arg1
= (wxGrid
*) 0 ;
12102 int *arg2
= (int *) 0 ;
12103 int *arg3
= (int *) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self", NULL
12113 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12114 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellAlignment",kwnames
,&obj0
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 (arg1
)->GetDefaultCellAlignment(arg2
,arg3
);
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 Py_INCREF(Py_None
); resultobj
= Py_None
;
12126 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12127 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12128 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12129 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12136 static PyObject
*_wrap_Grid_GetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxGrid
*arg1
= (wxGrid
*) 0 ;
12141 int *arg4
= (int *) 0 ;
12142 int *arg5
= (int *) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 PyObject
* obj2
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "row",(char *) "col", NULL
12154 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12155 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 arg2
= (int)SWIG_As_int(obj1
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12161 arg3
= (int)SWIG_As_int(obj2
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->GetCellAlignment(arg2
,arg3
,arg4
,arg5
);
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 Py_INCREF(Py_None
); resultobj
= Py_None
;
12171 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12172 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
12173 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
12174 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
12181 static PyObject
*_wrap_Grid_GetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxGrid
*arg1
= (wxGrid
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultCellOverflow",kwnames
,&obj0
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (bool)(arg1
)->GetDefaultCellOverflow();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 static PyObject
*_wrap_Grid_GetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12211 wxGrid
*arg1
= (wxGrid
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 PyObject
* obj2
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self",(char *) "row",(char *) "col", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12225 arg2
= (int)SWIG_As_int(obj1
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12227 arg3
= (int)SWIG_As_int(obj2
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (bool)(arg1
)->GetCellOverflow(arg2
,arg3
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12245 static PyObject
*_wrap_Grid_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxGrid
*arg1
= (wxGrid
*) 0 ;
12250 int *arg4
= (int *) 0 ;
12251 int *arg5
= (int *) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 PyObject
* obj2
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self",(char *) "row",(char *) "col", NULL
12263 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12264 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12268 arg2
= (int)SWIG_As_int(obj1
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12270 arg3
= (int)SWIG_As_int(obj2
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 (arg1
)->GetCellSize(arg2
,arg3
,arg4
,arg5
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 Py_INCREF(Py_None
); resultobj
= Py_None
;
12280 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12281 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
12282 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
12283 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
12290 static PyObject
*_wrap_Grid_SetDefaultRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxGrid
*arg1
= (wxGrid
*) 0 ;
12294 bool arg3
= (bool) false ;
12295 PyObject
* obj0
= 0 ;
12296 PyObject
* obj1
= 0 ;
12297 PyObject
* obj2
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self",(char *) "height",(char *) "resizeExistingRows", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 arg2
= (int)SWIG_As_int(obj1
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 arg3
= (bool)SWIG_As_bool(obj2
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 (arg1
)->SetDefaultRowSize(arg2
,arg3
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 Py_INCREF(Py_None
); resultobj
= Py_None
;
12325 static PyObject
*_wrap_Grid_SetRowSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxGrid
*arg1
= (wxGrid
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 PyObject
* obj1
= 0 ;
12332 PyObject
* obj2
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "row",(char *) "height", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12340 arg2
= (int)SWIG_As_int(obj1
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12342 arg3
= (int)SWIG_As_int(obj2
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetRowSize(arg2
,arg3
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_Grid_SetDefaultColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxGrid
*arg1
= (wxGrid
*) 0 ;
12362 bool arg3
= (bool) false ;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 PyObject
* obj2
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self",(char *) "width",(char *) "resizeExistingCols", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SetDefaultColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12373 arg2
= (int)SWIG_As_int(obj1
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 arg3
= (bool)SWIG_As_bool(obj2
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 (arg1
)->SetDefaultColSize(arg2
,arg3
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 Py_INCREF(Py_None
); resultobj
= Py_None
;
12393 static PyObject
*_wrap_Grid_SetColSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
;
12395 wxGrid
*arg1
= (wxGrid
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 PyObject
* obj2
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self",(char *) "col",(char *) "width", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12408 arg2
= (int)SWIG_As_int(obj1
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12410 arg3
= (int)SWIG_As_int(obj2
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 (arg1
)->SetColSize(arg2
,arg3
);
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 Py_INCREF(Py_None
); resultobj
= Py_None
;
12426 static PyObject
*_wrap_Grid_AutoSizeColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxGrid
*arg1
= (wxGrid
*) 0 ;
12430 bool arg3
= (bool) true ;
12431 PyObject
* obj0
= 0 ;
12432 PyObject
* obj1
= 0 ;
12433 PyObject
* obj2
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self",(char *) "col",(char *) "setAsMin", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12441 arg2
= (int)SWIG_As_int(obj1
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 arg3
= (bool)SWIG_As_bool(obj2
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->AutoSizeColumn(arg2
,arg3
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 Py_INCREF(Py_None
); resultobj
= Py_None
;
12461 static PyObject
*_wrap_Grid_AutoSizeRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxGrid
*arg1
= (wxGrid
*) 0 ;
12465 bool arg3
= (bool) true ;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 PyObject
* obj2
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self",(char *) "row",(char *) "setAsMin", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_AutoSizeRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12476 arg2
= (int)SWIG_As_int(obj1
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 arg3
= (bool)SWIG_As_bool(obj2
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 (arg1
)->AutoSizeRow(arg2
,arg3
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 Py_INCREF(Py_None
); resultobj
= Py_None
;
12496 static PyObject
*_wrap_Grid_AutoSizeColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxGrid
*arg1
= (wxGrid
*) 0 ;
12499 bool arg2
= (bool) true ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self",(char *) "setAsMin", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12510 arg2
= (bool)SWIG_As_bool(obj1
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 (arg1
)->AutoSizeColumns(arg2
);
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 Py_INCREF(Py_None
); resultobj
= Py_None
;
12527 static PyObject
*_wrap_Grid_AutoSizeRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxGrid
*arg1
= (wxGrid
*) 0 ;
12530 bool arg2
= (bool) true ;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self",(char *) "setAsMin", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Grid_AutoSizeRows",kwnames
,&obj0
,&obj1
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 arg2
= (bool)SWIG_As_bool(obj1
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 (arg1
)->AutoSizeRows(arg2
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_Grid_AutoSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxGrid
*arg1
= (wxGrid
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_AutoSize",kwnames
,&obj0
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 (arg1
)->AutoSize();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 Py_INCREF(Py_None
); resultobj
= Py_None
;
12583 static PyObject
*_wrap_Grid_AutoSizeRowLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxGrid
*arg1
= (wxGrid
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self",(char *) "row", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeRowLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12596 arg2
= (int)SWIG_As_int(obj1
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 (arg1
)->AutoSizeRowLabelSize(arg2
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 static PyObject
*_wrap_Grid_AutoSizeColLabelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxGrid
*arg1
= (wxGrid
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "col", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_AutoSizeColLabelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 arg2
= (int)SWIG_As_int(obj1
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 (arg1
)->AutoSizeColLabelSize(arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 Py_INCREF(Py_None
); resultobj
= Py_None
;
12641 static PyObject
*_wrap_Grid_SetColMinimalWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxGrid
*arg1
= (wxGrid
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 PyObject
* obj2
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self",(char *) "col",(char *) "width", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetColMinimalWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12656 arg2
= (int)SWIG_As_int(obj1
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12658 arg3
= (int)SWIG_As_int(obj2
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 (arg1
)->SetColMinimalWidth(arg2
,arg3
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 Py_INCREF(Py_None
); resultobj
= Py_None
;
12674 static PyObject
*_wrap_Grid_SetRowMinimalHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxGrid
*arg1
= (wxGrid
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 PyObject
* obj1
= 0 ;
12681 PyObject
* obj2
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self",(char *) "row",(char *) "width", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetRowMinimalHeight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12689 arg2
= (int)SWIG_As_int(obj1
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12691 arg3
= (int)SWIG_As_int(obj2
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->SetRowMinimalHeight(arg2
,arg3
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_Grid_SetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxGrid
*arg1
= (wxGrid
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self",(char *) "width", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetColMinimalAcceptableWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12720 arg2
= (int)SWIG_As_int(obj1
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 (arg1
)->SetColMinimalAcceptableWidth(arg2
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12729 Py_INCREF(Py_None
); resultobj
= Py_None
;
12736 static PyObject
*_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
;
12738 wxGrid
*arg1
= (wxGrid
*) 0 ;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self",(char *) "width", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetRowMinimalAcceptableHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12749 arg2
= (int)SWIG_As_int(obj1
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 (arg1
)->SetRowMinimalAcceptableHeight(arg2
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 Py_INCREF(Py_None
); resultobj
= Py_None
;
12765 static PyObject
*_wrap_Grid_GetColMinimalAcceptableWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxGrid
*arg1
= (wxGrid
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetColMinimalAcceptableWidth",kwnames
,&obj0
)) goto fail
;
12775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (int)((wxGrid
const *)arg1
)->GetColMinimalAcceptableWidth();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_From_int((int)result
);
12791 static PyObject
*_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
;
12793 wxGrid
*arg1
= (wxGrid
*) 0 ;
12795 PyObject
* obj0
= 0 ;
12796 char *kwnames
[] = {
12797 (char *) "self", NULL
12800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetRowMinimalAcceptableHeight",kwnames
,&obj0
)) goto fail
;
12801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (int)((wxGrid
const *)arg1
)->GetRowMinimalAcceptableHeight();
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_From_int((int)result
);
12817 static PyObject
*_wrap_Grid_SetDefaultCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
;
12819 wxGrid
*arg1
= (wxGrid
*) 0 ;
12820 wxColour
*arg2
= 0 ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self","arg2", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 (arg1
)->SetDefaultCellBackgroundColour((wxColour
const &)*arg2
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 Py_INCREF(Py_None
); resultobj
= Py_None
;
12849 static PyObject
*_wrap_Grid_SetCellBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxGrid
*arg1
= (wxGrid
*) 0 ;
12854 wxColour
*arg4
= 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 PyObject
* obj2
= 0 ;
12859 PyObject
* obj3
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12867 arg2
= (int)SWIG_As_int(obj1
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12869 arg3
= (int)SWIG_As_int(obj2
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12873 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->SetCellBackgroundColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
*_wrap_Grid_SetDefaultCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxGrid
*arg1
= (wxGrid
*) 0 ;
12892 wxColour
*arg2
= 0 ;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self","arg2", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12905 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 (arg1
)->SetDefaultCellTextColour((wxColour
const &)*arg2
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 Py_INCREF(Py_None
); resultobj
= Py_None
;
12921 static PyObject
*_wrap_Grid_SetCellTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxGrid
*arg1
= (wxGrid
*) 0 ;
12926 wxColour
*arg4
= 0 ;
12928 PyObject
* obj0
= 0 ;
12929 PyObject
* obj1
= 0 ;
12930 PyObject
* obj2
= 0 ;
12931 PyObject
* obj3
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellTextColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12939 arg2
= (int)SWIG_As_int(obj1
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12941 arg3
= (int)SWIG_As_int(obj2
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12945 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 (arg1
)->SetCellTextColour(arg2
,arg3
,(wxColour
const &)*arg4
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 Py_INCREF(Py_None
); resultobj
= Py_None
;
12961 static PyObject
*_wrap_Grid_SetDefaultCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxGrid
*arg1
= (wxGrid
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 PyObject
* obj1
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self","arg2", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
12973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12977 if (arg2
== NULL
) {
12978 PyErr_SetString(PyExc_TypeError
,"null reference");
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 (arg1
)->SetDefaultCellFont((wxFont
const &)*arg2
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 Py_INCREF(Py_None
); resultobj
= Py_None
;
12995 static PyObject
*_wrap_Grid_SetCellFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxGrid
*arg1
= (wxGrid
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 PyObject
* obj1
= 0 ;
13003 PyObject
* obj2
= 0 ;
13004 PyObject
* obj3
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self",(char *) "row",(char *) "col","arg4", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 arg2
= (int)SWIG_As_int(obj1
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13014 arg3
= (int)SWIG_As_int(obj2
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13016 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxFont
,
13017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13019 if (arg4
== NULL
) {
13020 PyErr_SetString(PyExc_TypeError
,"null reference");
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 (arg1
)->SetCellFont(arg2
,arg3
,(wxFont
const &)*arg4
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 Py_INCREF(Py_None
); resultobj
= Py_None
;
13037 static PyObject
*_wrap_Grid_SetDefaultCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxGrid
*arg1
= (wxGrid
*) 0 ;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 PyObject
* obj2
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self",(char *) "horiz",(char *) "vert", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetDefaultCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13052 arg2
= (int)SWIG_As_int(obj1
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13054 arg3
= (int)SWIG_As_int(obj2
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 (arg1
)->SetDefaultCellAlignment(arg2
,arg3
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 Py_INCREF(Py_None
); resultobj
= Py_None
;
13070 static PyObject
*_wrap_Grid_SetCellAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxGrid
*arg1
= (wxGrid
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 PyObject
* obj2
= 0 ;
13080 PyObject
* obj3
= 0 ;
13081 PyObject
* obj4
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "row",(char *) "col",(char *) "horiz",(char *) "vert", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellAlignment",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13089 arg2
= (int)SWIG_As_int(obj1
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13091 arg3
= (int)SWIG_As_int(obj2
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13093 arg4
= (int)SWIG_As_int(obj3
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13095 arg5
= (int)SWIG_As_int(obj4
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->SetCellAlignment(arg2
,arg3
,arg4
,arg5
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 static PyObject
*_wrap_Grid_SetDefaultCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxGrid
*arg1
= (wxGrid
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "allow", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultCellOverflow",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 arg2
= (bool)SWIG_As_bool(obj1
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 (arg1
)->SetDefaultCellOverflow(arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 Py_INCREF(Py_None
); resultobj
= Py_None
;
13140 static PyObject
*_wrap_Grid_SetCellOverflow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxGrid
*arg1
= (wxGrid
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 PyObject
* obj2
= 0 ;
13149 PyObject
* obj3
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "row",(char *) "col",(char *) "allow", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellOverflow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 arg2
= (int)SWIG_As_int(obj1
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13159 arg3
= (int)SWIG_As_int(obj2
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13161 arg4
= (bool)SWIG_As_bool(obj3
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 (arg1
)->SetCellOverflow(arg2
,arg3
,arg4
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 Py_INCREF(Py_None
); resultobj
= Py_None
;
13177 static PyObject
*_wrap_Grid_SetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxGrid
*arg1
= (wxGrid
*) 0 ;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 PyObject
* obj2
= 0 ;
13187 PyObject
* obj3
= 0 ;
13188 PyObject
* obj4
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "row",(char *) "col",(char *) "num_rows",(char *) "num_cols", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Grid_SetCellSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 arg2
= (int)SWIG_As_int(obj1
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13198 arg3
= (int)SWIG_As_int(obj2
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13200 arg4
= (int)SWIG_As_int(obj3
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13202 arg5
= (int)SWIG_As_int(obj4
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 (arg1
)->SetCellSize(arg2
,arg3
,arg4
,arg5
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 Py_INCREF(Py_None
); resultobj
= Py_None
;
13218 static PyObject
*_wrap_Grid_SetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxGrid
*arg1
= (wxGrid
*) 0 ;
13221 wxGridCellRenderer
*arg2
= (wxGridCellRenderer
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self",(char *) "renderer", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultRenderer",kwnames
,&obj0
,&obj1
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellRenderer
,
13232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 (arg1
)->SetDefaultRenderer(arg2
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
*_wrap_Grid_SetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxGrid
*arg1
= (wxGrid
*) 0 ;
13252 wxGridCellRenderer
*arg4
= (wxGridCellRenderer
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 PyObject
* obj2
= 0 ;
13256 PyObject
* obj3
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "row",(char *) "col",(char *) "renderer", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 arg2
= (int)SWIG_As_int(obj1
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13266 arg3
= (int)SWIG_As_int(obj2
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13268 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellRenderer
,
13269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->SetCellRenderer(arg2
,arg3
,arg4
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 Py_INCREF(Py_None
); resultobj
= Py_None
;
13284 static PyObject
*_wrap_Grid_GetDefaultRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxGrid
*arg1
= (wxGrid
*) 0 ;
13287 wxGridCellRenderer
*result
;
13288 PyObject
* obj0
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultRenderer",kwnames
,&obj0
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRenderer();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
13312 static PyObject
*_wrap_Grid_GetCellRenderer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxGrid
*arg1
= (wxGrid
*) 0 ;
13317 wxGridCellRenderer
*result
;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 PyObject
* obj2
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "row",(char *) "col", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellRenderer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 arg2
= (int)SWIG_As_int(obj1
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13330 arg3
= (int)SWIG_As_int(obj2
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (wxGridCellRenderer
*)(arg1
)->GetCellRenderer(arg2
,arg3
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
13348 static PyObject
*_wrap_Grid_SetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxGrid
*arg1
= (wxGrid
*) 0 ;
13351 wxGridCellEditor
*arg2
= (wxGridCellEditor
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "editor", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetDefaultEditor",kwnames
,&obj0
,&obj1
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridCellEditor
,
13362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 (arg1
)->SetDefaultEditor(arg2
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 Py_INCREF(Py_None
); resultobj
= Py_None
;
13377 static PyObject
*_wrap_Grid_SetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxGrid
*arg1
= (wxGrid
*) 0 ;
13382 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 PyObject
* obj1
= 0 ;
13385 PyObject
* obj2
= 0 ;
13386 PyObject
* obj3
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "row",(char *) "col",(char *) "editor", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 arg2
= (int)SWIG_As_int(obj1
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13396 arg3
= (int)SWIG_As_int(obj2
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13398 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
13399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 (arg1
)->SetCellEditor(arg2
,arg3
,arg4
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 Py_INCREF(Py_None
); resultobj
= Py_None
;
13414 static PyObject
*_wrap_Grid_GetDefaultEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxGrid
*arg1
= (wxGrid
*) 0 ;
13417 wxGridCellEditor
*result
;
13418 PyObject
* obj0
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetDefaultEditor",kwnames
,&obj0
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditor();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
13442 static PyObject
*_wrap_Grid_GetCellEditor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxGrid
*arg1
= (wxGrid
*) 0 ;
13447 wxGridCellEditor
*result
;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 PyObject
* obj2
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "row",(char *) "col", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellEditor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 arg2
= (int)SWIG_As_int(obj1
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13460 arg3
= (int)SWIG_As_int(obj2
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (wxGridCellEditor
*)(arg1
)->GetCellEditor(arg2
,arg3
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
13478 static PyObject
*_wrap_Grid_GetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxGrid
*arg1
= (wxGrid
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 PyObject
* obj2
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self",(char *) "row",(char *) "col", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetCellValue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 arg2
= (int)SWIG_As_int(obj1
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13496 arg3
= (int)SWIG_As_int(obj2
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (arg1
)->GetCellValue(arg2
,arg3
);
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13518 static PyObject
*_wrap_Grid_SetCellValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxGrid
*arg1
= (wxGrid
*) 0 ;
13523 wxString
*arg4
= 0 ;
13524 bool temp4
= false ;
13525 PyObject
* obj0
= 0 ;
13526 PyObject
* obj1
= 0 ;
13527 PyObject
* obj2
= 0 ;
13528 PyObject
* obj3
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self",(char *) "row",(char *) "col",(char *) "s", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_SetCellValue",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13536 arg2
= (int)SWIG_As_int(obj1
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13538 arg3
= (int)SWIG_As_int(obj2
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 arg4
= wxString_in_helper(obj3
);
13542 if (arg4
== NULL
) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 (arg1
)->SetCellValue(arg2
,arg3
,(wxString
const &)*arg4
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 Py_INCREF(Py_None
); resultobj
= Py_None
;
13567 static PyObject
*_wrap_Grid_IsReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxGrid
*arg1
= (wxGrid
*) 0 ;
13573 PyObject
* obj0
= 0 ;
13574 PyObject
* obj1
= 0 ;
13575 PyObject
* obj2
= 0 ;
13576 char *kwnames
[] = {
13577 (char *) "self",(char *) "row",(char *) "col", NULL
13580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsReadOnly",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 arg2
= (int)SWIG_As_int(obj1
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13585 arg3
= (int)SWIG_As_int(obj2
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (bool)((wxGrid
const *)arg1
)->IsReadOnly(arg2
,arg3
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13603 static PyObject
*_wrap_Grid_SetReadOnly(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxGrid
*arg1
= (wxGrid
*) 0 ;
13608 bool arg4
= (bool) true ;
13609 PyObject
* obj0
= 0 ;
13610 PyObject
* obj1
= 0 ;
13611 PyObject
* obj2
= 0 ;
13612 PyObject
* obj3
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self",(char *) "row",(char *) "col",(char *) "isReadOnly", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Grid_SetReadOnly",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 arg2
= (int)SWIG_As_int(obj1
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13622 arg3
= (int)SWIG_As_int(obj2
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 arg4
= (bool)SWIG_As_bool(obj3
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 (arg1
)->SetReadOnly(arg2
,arg3
,arg4
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 Py_INCREF(Py_None
); resultobj
= Py_None
;
13642 static PyObject
*_wrap_Grid_SelectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxGrid
*arg1
= (wxGrid
*) 0 ;
13646 bool arg3
= (bool) false ;
13647 PyObject
* obj0
= 0 ;
13648 PyObject
* obj1
= 0 ;
13649 PyObject
* obj2
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "row",(char *) "addToSelected", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 arg2
= (int)SWIG_As_int(obj1
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 arg3
= (bool)SWIG_As_bool(obj2
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->SelectRow(arg2
,arg3
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 Py_INCREF(Py_None
); resultobj
= Py_None
;
13677 static PyObject
*_wrap_Grid_SelectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxGrid
*arg1
= (wxGrid
*) 0 ;
13681 bool arg3
= (bool) false ;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 PyObject
* obj2
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self",(char *) "col",(char *) "addToSelected", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Grid_SelectCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13692 arg2
= (int)SWIG_As_int(obj1
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 arg3
= (bool)SWIG_As_bool(obj2
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 (arg1
)->SelectCol(arg2
,arg3
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 Py_INCREF(Py_None
); resultobj
= Py_None
;
13712 static PyObject
*_wrap_Grid_SelectBlock(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxGrid
*arg1
= (wxGrid
*) 0 ;
13719 bool arg6
= (bool) false ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 PyObject
* obj2
= 0 ;
13723 PyObject
* obj3
= 0 ;
13724 PyObject
* obj4
= 0 ;
13725 PyObject
* obj5
= 0 ;
13726 char *kwnames
[] = {
13727 (char *) "self",(char *) "topRow",(char *) "leftCol",(char *) "bottomRow",(char *) "rightCol",(char *) "addToSelected", NULL
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Grid_SelectBlock",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13733 arg2
= (int)SWIG_As_int(obj1
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13735 arg3
= (int)SWIG_As_int(obj2
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13737 arg4
= (int)SWIG_As_int(obj3
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13739 arg5
= (int)SWIG_As_int(obj4
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 arg6
= (bool)SWIG_As_bool(obj5
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 (arg1
)->SelectBlock(arg2
,arg3
,arg4
,arg5
,arg6
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 Py_INCREF(Py_None
); resultobj
= Py_None
;
13759 static PyObject
*_wrap_Grid_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxGrid
*arg1
= (wxGrid
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_SelectAll",kwnames
,&obj0
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 (arg1
)->SelectAll();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 Py_INCREF(Py_None
); resultobj
= Py_None
;
13784 static PyObject
*_wrap_Grid_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxGrid
*arg1
= (wxGrid
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_IsSelection",kwnames
,&obj0
)) goto fail
;
13794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= (bool)(arg1
)->IsSelection();
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13812 static PyObject
*_wrap_Grid_ClearSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxGrid
*arg1
= (wxGrid
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 char *kwnames
[] = {
13817 (char *) "self", NULL
13820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_ClearSelection",kwnames
,&obj0
)) goto fail
;
13821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 (arg1
)->ClearSelection();
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 Py_INCREF(Py_None
); resultobj
= Py_None
;
13837 static PyObject
*_wrap_Grid_IsInSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
;
13839 wxGrid
*arg1
= (wxGrid
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 PyObject
* obj2
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self",(char *) "row",(char *) "col", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_IsInSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13853 arg2
= (int)SWIG_As_int(obj1
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13855 arg3
= (int)SWIG_As_int(obj2
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (bool)(arg1
)->IsInSelection(arg2
,arg3
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13873 static PyObject
*_wrap_Grid_GetSelectedCells(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxGrid
*arg1
= (wxGrid
*) 0 ;
13876 wxGridCellCoordsArray result
;
13877 PyObject
* obj0
= 0 ;
13878 char *kwnames
[] = {
13879 (char *) "self", NULL
13882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCells",kwnames
,&obj0
)) goto fail
;
13883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= ((wxGrid
const *)arg1
)->GetSelectedCells();
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= wxGridCellCoordsArray_helper(result
);
13901 static PyObject
*_wrap_Grid_GetSelectionBlockTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxGrid
*arg1
= (wxGrid
*) 0 ;
13904 wxGridCellCoordsArray result
;
13905 PyObject
* obj0
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockTopLeft",kwnames
,&obj0
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockTopLeft();
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= wxGridCellCoordsArray_helper(result
);
13929 static PyObject
*_wrap_Grid_GetSelectionBlockBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxGrid
*arg1
= (wxGrid
*) 0 ;
13932 wxGridCellCoordsArray result
;
13933 PyObject
* obj0
= 0 ;
13934 char *kwnames
[] = {
13935 (char *) "self", NULL
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBlockBottomRight",kwnames
,&obj0
)) goto fail
;
13939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 result
= ((wxGrid
const *)arg1
)->GetSelectionBlockBottomRight();
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= wxGridCellCoordsArray_helper(result
);
13957 static PyObject
*_wrap_Grid_GetSelectedRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxGrid
*arg1
= (wxGrid
*) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 char *kwnames
[] = {
13963 (char *) "self", NULL
13966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedRows",kwnames
,&obj0
)) goto fail
;
13967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
13968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= ((wxGrid
const *)arg1
)->GetSelectedRows();
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= PyList_New(0);
13979 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13980 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13981 PyList_Append(resultobj
, val
);
13991 static PyObject
*_wrap_Grid_GetSelectedCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxGrid
*arg1
= (wxGrid
*) 0 ;
13995 PyObject
* obj0
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectedCols",kwnames
,&obj0
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= ((wxGrid
const *)arg1
)->GetSelectedCols();
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= PyList_New(0);
14013 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
14014 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
14015 PyList_Append(resultobj
, val
);
14025 static PyObject
*_wrap_Grid_DeselectRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxGrid
*arg1
= (wxGrid
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "row", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectRow",kwnames
,&obj0
,&obj1
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 arg2
= (int)SWIG_As_int(obj1
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 (arg1
)->DeselectRow(arg2
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 Py_INCREF(Py_None
); resultobj
= Py_None
;
14054 static PyObject
*_wrap_Grid_DeselectCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxGrid
*arg1
= (wxGrid
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "col", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_DeselectCol",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 arg2
= (int)SWIG_As_int(obj1
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->DeselectCol(arg2
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_Grid_DeselectCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxGrid
*arg1
= (wxGrid
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 PyObject
* obj2
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self",(char *) "row",(char *) "col", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_DeselectCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14098 arg2
= (int)SWIG_As_int(obj1
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14100 arg3
= (int)SWIG_As_int(obj2
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 (arg1
)->DeselectCell(arg2
,arg3
);
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 Py_INCREF(Py_None
); resultobj
= Py_None
;
14116 static PyObject
*_wrap_Grid_BlockToDeviceRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxGrid
*arg1
= (wxGrid
*) 0 ;
14119 wxGridCellCoords
*arg2
= 0 ;
14120 wxGridCellCoords
*arg3
= 0 ;
14122 wxGridCellCoords temp2
;
14123 wxGridCellCoords temp3
;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 PyObject
* obj2
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self",(char *) "topLeft",(char *) "bottomRight", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_BlockToDeviceRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 if (! wxGridCellCoords_helper(obj1
, &arg2
)) SWIG_fail
;
14140 if (! wxGridCellCoords_helper(obj2
, &arg3
)) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (arg1
)->BlockToDeviceRect((wxGridCellCoords
const &)*arg2
,(wxGridCellCoords
const &)*arg3
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 wxRect
* resultptr
;
14151 resultptr
= new wxRect((wxRect
&) result
);
14152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
14160 static PyObject
*_wrap_Grid_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxGrid
*arg1
= (wxGrid
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= ((wxGrid
const *)arg1
)->GetSelectionBackground();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 wxColour
* resultptr
;
14181 resultptr
= new wxColour((wxColour
&) result
);
14182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
14190 static PyObject
*_wrap_Grid_GetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
;
14192 wxGrid
*arg1
= (wxGrid
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetSelectionForeground",kwnames
,&obj0
)) goto fail
;
14200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= ((wxGrid
const *)arg1
)->GetSelectionForeground();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 wxColour
* resultptr
;
14211 resultptr
= new wxColour((wxColour
&) result
);
14212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
14220 static PyObject
*_wrap_Grid_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxGrid
*arg1
= (wxGrid
*) 0 ;
14223 wxColour
*arg2
= 0 ;
14225 PyObject
* obj0
= 0 ;
14226 PyObject
* obj1
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self",(char *) "c", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 Py_INCREF(Py_None
); resultobj
= Py_None
;
14252 static PyObject
*_wrap_Grid_SetSelectionForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxGrid
*arg1
= (wxGrid
*) 0 ;
14255 wxColour
*arg2
= 0 ;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "c", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetSelectionForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 (arg1
)->SetSelectionForeground((wxColour
const &)*arg2
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 Py_INCREF(Py_None
); resultobj
= Py_None
;
14284 static PyObject
*_wrap_Grid_RegisterDataType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxGrid
*arg1
= (wxGrid
*) 0 ;
14287 wxString
*arg2
= 0 ;
14288 wxGridCellRenderer
*arg3
= (wxGridCellRenderer
*) 0 ;
14289 wxGridCellEditor
*arg4
= (wxGridCellEditor
*) 0 ;
14290 bool temp2
= false ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 PyObject
* obj2
= 0 ;
14294 PyObject
* obj3
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self",(char *) "typeName",(char *) "renderer",(char *) "editor", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Grid_RegisterDataType",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 arg2
= wxString_in_helper(obj1
);
14304 if (arg2
== NULL
) SWIG_fail
;
14307 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGridCellRenderer
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGridCellEditor
,
14310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 (arg1
)->RegisterDataType((wxString
const &)*arg2
,arg3
,arg4
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 Py_INCREF(Py_None
); resultobj
= Py_None
;
14333 static PyObject
*_wrap_Grid_GetDefaultEditorForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxGrid
*arg1
= (wxGrid
*) 0 ;
14338 wxGridCellEditor
*result
;
14339 PyObject
* obj0
= 0 ;
14340 PyObject
* obj1
= 0 ;
14341 PyObject
* obj2
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self",(char *) "row",(char *) "col", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultEditorForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 arg2
= (int)SWIG_As_int(obj1
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14351 arg3
= (int)SWIG_As_int(obj2
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForCell(arg2
,arg3
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
14369 static PyObject
*_wrap_Grid_GetDefaultRendererForCell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxGrid
*arg1
= (wxGrid
*) 0 ;
14374 wxGridCellRenderer
*result
;
14375 PyObject
* obj0
= 0 ;
14376 PyObject
* obj1
= 0 ;
14377 PyObject
* obj2
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self",(char *) "row",(char *) "col", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_GetDefaultRendererForCell",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14385 arg2
= (int)SWIG_As_int(obj1
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14387 arg3
= (int)SWIG_As_int(obj2
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForCell(arg2
,arg3
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
14405 static PyObject
*_wrap_Grid_GetDefaultEditorForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxGrid
*arg1
= (wxGrid
*) 0 ;
14408 wxString
*arg2
= 0 ;
14409 wxGridCellEditor
*result
;
14410 bool temp2
= false ;
14411 PyObject
* obj0
= 0 ;
14412 PyObject
* obj1
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self",(char *) "typeName", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultEditorForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14421 arg2
= wxString_in_helper(obj1
);
14422 if (arg2
== NULL
) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (wxGridCellEditor
*)((wxGrid
const *)arg1
)->GetDefaultEditorForType((wxString
const &)*arg2
);
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= wxPyMake_wxGridCellEditor(result
, 0);
14449 static PyObject
*_wrap_Grid_GetDefaultRendererForType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxGrid
*arg1
= (wxGrid
*) 0 ;
14452 wxString
*arg2
= 0 ;
14453 wxGridCellRenderer
*result
;
14454 bool temp2
= false ;
14455 PyObject
* obj0
= 0 ;
14456 PyObject
* obj1
= 0 ;
14457 char *kwnames
[] = {
14458 (char *) "self",(char *) "typeName", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetDefaultRendererForType",kwnames
,&obj0
,&obj1
)) goto fail
;
14462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14465 arg2
= wxString_in_helper(obj1
);
14466 if (arg2
== NULL
) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (wxGridCellRenderer
*)((wxGrid
const *)arg1
)->GetDefaultRendererForType((wxString
const &)*arg2
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= wxPyMake_wxGridCellRenderer(result
, 0);
14493 static PyObject
*_wrap_Grid_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxGrid
*arg1
= (wxGrid
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 PyObject
* obj2
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self",(char *) "extraWidth",(char *) "extraHeight", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Grid_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14508 arg2
= (int)SWIG_As_int(obj1
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14510 arg3
= (int)SWIG_As_int(obj2
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 (arg1
)->SetMargins(arg2
,arg3
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 Py_INCREF(Py_None
); resultobj
= Py_None
;
14526 static PyObject
*_wrap_Grid_GetGridWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxGrid
*arg1
= (wxGrid
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridWindow",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (wxWindow
*)(arg1
)->GetGridWindow();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= wxPyMake_wxObject(result
, 0);
14554 static PyObject
*_wrap_Grid_GetGridRowLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxGrid
*arg1
= (wxGrid
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridRowLabelWindow",kwnames
,&obj0
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (wxWindow
*)(arg1
)->GetGridRowLabelWindow();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= wxPyMake_wxObject(result
, 0);
14582 static PyObject
*_wrap_Grid_GetGridColLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxGrid
*arg1
= (wxGrid
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridColLabelWindow",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (wxWindow
*)(arg1
)->GetGridColLabelWindow();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= wxPyMake_wxObject(result
, 0);
14610 static PyObject
*_wrap_Grid_GetGridCornerLabelWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxGrid
*arg1
= (wxGrid
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetGridCornerLabelWindow",kwnames
,&obj0
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (wxWindow
*)(arg1
)->GetGridCornerLabelWindow();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= wxPyMake_wxObject(result
, 0);
14638 static PyObject
*_wrap_Grid_SetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxGrid
*arg1
= (wxGrid
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self",(char *) "x", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineX",kwnames
,&obj0
,&obj1
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 arg2
= (int)SWIG_As_int(obj1
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 (arg1
)->SetScrollLineX(arg2
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 Py_INCREF(Py_None
); resultobj
= Py_None
;
14667 static PyObject
*_wrap_Grid_SetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxGrid
*arg1
= (wxGrid
*) 0 ;
14671 PyObject
* obj0
= 0 ;
14672 PyObject
* obj1
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self",(char *) "y", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_SetScrollLineY",kwnames
,&obj0
,&obj1
)) goto fail
;
14678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14680 arg2
= (int)SWIG_As_int(obj1
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 (arg1
)->SetScrollLineY(arg2
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 Py_INCREF(Py_None
); resultobj
= Py_None
;
14696 static PyObject
*_wrap_Grid_GetScrollLineX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxGrid
*arg1
= (wxGrid
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineX",kwnames
,&obj0
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineX();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= SWIG_From_int((int)result
);
14722 static PyObject
*_wrap_Grid_GetScrollLineY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
;
14724 wxGrid
*arg1
= (wxGrid
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Grid_GetScrollLineY",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (int)((wxGrid
const *)arg1
)->GetScrollLineY();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= SWIG_From_int((int)result
);
14748 static PyObject
*_wrap_Grid_GetScrollX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxGrid
*arg1
= (wxGrid
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self",(char *) "x", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollX",kwnames
,&obj0
,&obj1
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 arg2
= (int)SWIG_As_int(obj1
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (int)((wxGrid
const *)arg1
)->GetScrollX(arg2
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= SWIG_From_int((int)result
);
14778 static PyObject
*_wrap_Grid_GetScrollY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxGrid
*arg1
= (wxGrid
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self",(char *) "y", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Grid_GetScrollY",kwnames
,&obj0
,&obj1
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGrid
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 arg2
= (int)SWIG_As_int(obj1
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (int)((wxGrid
const *)arg1
)->GetScrollY(arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_From_int((int)result
);
14808 static PyObject
*_wrap_Grid_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14811 wxVisualAttributes result
;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "variant", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Grid_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14819 arg1
= (int)SWIG_As_int(obj0
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14823 if (!wxPyCheckForApp()) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= wxGrid::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14831 wxVisualAttributes
* resultptr
;
14832 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14841 static PyObject
* Grid_swigregister(PyObject
*, PyObject
*args
) {
14843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14844 SWIG_TypeClientData(SWIGTYPE_p_wxGrid
, obj
);
14846 return Py_BuildValue((char *)"");
14848 static PyObject
*_wrap_new_GridEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14852 wxGrid
*arg3
= (wxGrid
*) 0 ;
14853 int arg4
= (int) -1 ;
14854 int arg5
= (int) -1 ;
14855 int arg6
= (int) -1 ;
14856 int arg7
= (int) -1 ;
14857 bool arg8
= (bool) true ;
14858 bool arg9
= (bool) false ;
14859 bool arg10
= (bool) false ;
14860 bool arg11
= (bool) false ;
14861 bool arg12
= (bool) false ;
14862 wxGridEvent
*result
;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 PyObject
* obj2
= 0 ;
14866 PyObject
* obj3
= 0 ;
14867 PyObject
* obj4
= 0 ;
14868 PyObject
* obj5
= 0 ;
14869 PyObject
* obj6
= 0 ;
14870 PyObject
* obj7
= 0 ;
14871 PyObject
* obj8
= 0 ;
14872 PyObject
* obj9
= 0 ;
14873 PyObject
* obj10
= 0 ;
14874 PyObject
* obj11
= 0 ;
14875 char *kwnames
[] = {
14876 (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
14879 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
;
14880 arg1
= (int)SWIG_As_int(obj0
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14882 arg2
= (wxEventType
)SWIG_As_int(obj1
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14884 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 arg4
= (int)SWIG_As_int(obj3
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14891 arg5
= (int)SWIG_As_int(obj4
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14895 arg6
= (int)SWIG_As_int(obj5
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14899 arg7
= (int)SWIG_As_int(obj6
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14903 arg8
= (bool)SWIG_As_bool(obj7
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 arg9
= (bool)SWIG_As_bool(obj8
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14911 arg10
= (bool)SWIG_As_bool(obj9
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14915 arg11
= (bool)SWIG_As_bool(obj10
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14919 arg12
= (bool)SWIG_As_bool(obj11
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (wxGridEvent
*)new wxGridEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEvent
, 1);
14936 static PyObject
*_wrap_GridEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetRow",kwnames
,&obj0
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (int)(arg1
)->GetRow();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_From_int((int)result
);
14962 static PyObject
*_wrap_GridEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetCol",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (int)(arg1
)->GetCol();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_From_int((int)result
);
14988 static PyObject
*_wrap_GridEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (arg1
)->GetPosition();
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15008 wxPoint
* resultptr
;
15009 resultptr
= new wxPoint((wxPoint
&) result
);
15010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15018 static PyObject
*_wrap_GridEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
15029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (bool)(arg1
)->Selecting();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15046 static PyObject
*_wrap_GridEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (bool)(arg1
)->ControlDown();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15074 static PyObject
*_wrap_GridEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (bool)(arg1
)->MetaDown();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15102 static PyObject
*_wrap_GridEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)(arg1
)->ShiftDown();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15130 static PyObject
*_wrap_GridEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxGridEvent
*arg1
= (wxGridEvent
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEvent
,
15141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (bool)(arg1
)->AltDown();
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15158 static PyObject
* GridEvent_swigregister(PyObject
*, PyObject
*args
) {
15160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15161 SWIG_TypeClientData(SWIGTYPE_p_wxGridEvent
, obj
);
15163 return Py_BuildValue((char *)"");
15165 static PyObject
*_wrap_new_GridSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15169 wxGrid
*arg3
= (wxGrid
*) 0 ;
15170 int arg4
= (int) -1 ;
15171 int arg5
= (int) -1 ;
15172 int arg6
= (int) -1 ;
15173 bool arg7
= (bool) false ;
15174 bool arg8
= (bool) false ;
15175 bool arg9
= (bool) false ;
15176 bool arg10
= (bool) false ;
15177 wxGridSizeEvent
*result
;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 PyObject
* obj2
= 0 ;
15181 PyObject
* obj3
= 0 ;
15182 PyObject
* obj4
= 0 ;
15183 PyObject
* obj5
= 0 ;
15184 PyObject
* obj6
= 0 ;
15185 PyObject
* obj7
= 0 ;
15186 PyObject
* obj8
= 0 ;
15187 PyObject
* obj9
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "id",(char *) "type",(char *) "obj",(char *) "rowOrCol",(char *) "x",(char *) "y",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15193 arg1
= (int)SWIG_As_int(obj0
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15195 arg2
= (wxEventType
)SWIG_As_int(obj1
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 arg4
= (int)SWIG_As_int(obj3
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 arg5
= (int)SWIG_As_int(obj4
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 arg6
= (int)SWIG_As_int(obj5
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15212 arg7
= (bool)SWIG_As_bool(obj6
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 arg8
= (bool)SWIG_As_bool(obj7
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15220 arg9
= (bool)SWIG_As_bool(obj8
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 arg10
= (bool)SWIG_As_bool(obj9
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (wxGridSizeEvent
*)new wxGridSizeEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizeEvent
, 1);
15241 static PyObject
*_wrap_GridSizeEvent_GetRowOrCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetRowOrCol",kwnames
,&obj0
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (int)(arg1
)->GetRowOrCol();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_From_int((int)result
);
15267 static PyObject
*_wrap_GridSizeEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (arg1
)->GetPosition();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 wxPoint
* resultptr
;
15288 resultptr
= new wxPoint((wxPoint
&) result
);
15289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15297 static PyObject
*_wrap_GridSizeEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (bool)(arg1
)->ControlDown();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15325 static PyObject
*_wrap_GridSizeEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15329 PyObject
* obj0
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "self", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 result
= (bool)(arg1
)->MetaDown();
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15353 static PyObject
*_wrap_GridSizeEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (bool)(arg1
)->ShiftDown();
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15381 static PyObject
*_wrap_GridSizeEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxGridSizeEvent
*arg1
= (wxGridSizeEvent
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizeEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizeEvent
,
15392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (bool)(arg1
)->AltDown();
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15409 static PyObject
* GridSizeEvent_swigregister(PyObject
*, PyObject
*args
) {
15411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15412 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizeEvent
, obj
);
15414 return Py_BuildValue((char *)"");
15416 static PyObject
*_wrap_new_GridRangeSelectEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15420 wxGrid
*arg3
= (wxGrid
*) 0 ;
15421 wxGridCellCoords
*arg4
= 0 ;
15422 wxGridCellCoords
*arg5
= 0 ;
15423 bool arg6
= (bool) true ;
15424 bool arg7
= (bool) false ;
15425 bool arg8
= (bool) false ;
15426 bool arg9
= (bool) false ;
15427 bool arg10
= (bool) false ;
15428 wxGridRangeSelectEvent
*result
;
15429 wxGridCellCoords temp4
;
15430 wxGridCellCoords temp5
;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 PyObject
* obj2
= 0 ;
15434 PyObject
* obj3
= 0 ;
15435 PyObject
* obj4
= 0 ;
15436 PyObject
* obj5
= 0 ;
15437 PyObject
* obj6
= 0 ;
15438 PyObject
* obj7
= 0 ;
15439 PyObject
* obj8
= 0 ;
15440 PyObject
* obj9
= 0 ;
15441 char *kwnames
[] = {
15442 (char *) "id",(char *) "type",(char *) "obj",(char *) "topLeft",(char *) "bottomRight",(char *) "sel",(char *) "control",(char *) "shift",(char *) "alt",(char *) "meta", NULL
15445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15446 arg1
= (int)SWIG_As_int(obj0
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15448 arg2
= (wxEventType
)SWIG_As_int(obj1
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15450 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGrid
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15454 if (! wxGridCellCoords_helper(obj3
, &arg4
)) SWIG_fail
;
15458 if (! wxGridCellCoords_helper(obj4
, &arg5
)) SWIG_fail
;
15461 arg6
= (bool)SWIG_As_bool(obj5
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 arg7
= (bool)SWIG_As_bool(obj6
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15469 arg8
= (bool)SWIG_As_bool(obj7
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15473 arg9
= (bool)SWIG_As_bool(obj8
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15477 arg10
= (bool)SWIG_As_bool(obj9
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (wxGridRangeSelectEvent
*)new wxGridRangeSelectEvent(arg1
,arg2
,arg3
,(wxGridCellCoords
const &)*arg4
,(wxGridCellCoords
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridRangeSelectEvent
, 1);
15494 static PyObject
*_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15497 wxGridCellCoords result
;
15498 PyObject
* obj0
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopLeftCoords",kwnames
,&obj0
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (arg1
)->GetTopLeftCoords();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 wxGridCellCoords
* resultptr
;
15515 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15524 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15527 wxGridCellCoords result
;
15528 PyObject
* obj0
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRightCoords",kwnames
,&obj0
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= (arg1
)->GetBottomRightCoords();
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15544 wxGridCellCoords
* resultptr
;
15545 resultptr
= new wxGridCellCoords((wxGridCellCoords
&) result
);
15546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGridCellCoords
, 1);
15554 static PyObject
*_wrap_GridRangeSelectEvent_GetTopRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15558 PyObject
* obj0
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "self", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetTopRow",kwnames
,&obj0
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (int)(arg1
)->GetTopRow();
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= SWIG_From_int((int)result
);
15580 static PyObject
*_wrap_GridRangeSelectEvent_GetBottomRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
;
15582 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetBottomRow",kwnames
,&obj0
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (int)(arg1
)->GetBottomRow();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_From_int((int)result
);
15606 static PyObject
*_wrap_GridRangeSelectEvent_GetLeftCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetLeftCol",kwnames
,&obj0
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (int)(arg1
)->GetLeftCol();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_From_int((int)result
);
15632 static PyObject
*_wrap_GridRangeSelectEvent_GetRightCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_GetRightCol",kwnames
,&obj0
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (int)(arg1
)->GetRightCol();
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_From_int((int)result
);
15658 static PyObject
*_wrap_GridRangeSelectEvent_Selecting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_Selecting",kwnames
,&obj0
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (bool)(arg1
)->Selecting();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15686 static PyObject
*_wrap_GridRangeSelectEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (bool)(arg1
)->ControlDown();
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15714 static PyObject
*_wrap_GridRangeSelectEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (bool)(arg1
)->MetaDown();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15742 static PyObject
*_wrap_GridRangeSelectEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (bool)(arg1
)->ShiftDown();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15770 static PyObject
*_wrap_GridRangeSelectEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxGridRangeSelectEvent
*arg1
= (wxGridRangeSelectEvent
*) 0 ;
15774 PyObject
* obj0
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "self", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridRangeSelectEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridRangeSelectEvent
,
15781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (bool)(arg1
)->AltDown();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15798 static PyObject
* GridRangeSelectEvent_swigregister(PyObject
*, PyObject
*args
) {
15800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15801 SWIG_TypeClientData(SWIGTYPE_p_wxGridRangeSelectEvent
, obj
);
15803 return Py_BuildValue((char *)"");
15805 static PyObject
*_wrap_new_GridEditorCreatedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15809 wxObject
*arg3
= (wxObject
*) 0 ;
15812 wxControl
*arg6
= (wxControl
*) 0 ;
15813 wxGridEditorCreatedEvent
*result
;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 PyObject
* obj2
= 0 ;
15817 PyObject
* obj3
= 0 ;
15818 PyObject
* obj4
= 0 ;
15819 PyObject
* obj5
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "id",(char *) "type",(char *) "obj",(char *) "row",(char *) "col",(char *) "ctrl", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15825 arg1
= (int)SWIG_As_int(obj0
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15827 arg2
= (wxEventType
)SWIG_As_int(obj1
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15829 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxObject
,
15830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 arg4
= (int)SWIG_As_int(obj3
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15833 arg5
= (int)SWIG_As_int(obj4
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15835 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxControl
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (wxGridEditorCreatedEvent
*)new wxGridEditorCreatedEvent(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridEditorCreatedEvent
, 1);
15851 static PyObject
*_wrap_GridEditorCreatedEvent_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetRow",kwnames
,&obj0
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (int)(arg1
)->GetRow();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_From_int((int)result
);
15877 static PyObject
*_wrap_GridEditorCreatedEvent_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15879 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15881 PyObject
* obj0
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetCol",kwnames
,&obj0
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (int)(arg1
)->GetCol();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_From_int((int)result
);
15903 static PyObject
*_wrap_GridEditorCreatedEvent_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridEditorCreatedEvent_GetControl",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (wxControl
*)(arg1
)->GetControl();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= wxPyMake_wxObject(result
, 0);
15931 static PyObject
*_wrap_GridEditorCreatedEvent_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15935 PyObject
* obj0
= 0 ;
15936 PyObject
* obj1
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self",(char *) "row", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
15942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15944 arg2
= (int)SWIG_As_int(obj1
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 (arg1
)->SetRow(arg2
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 Py_INCREF(Py_None
); resultobj
= Py_None
;
15960 static PyObject
*_wrap_GridEditorCreatedEvent_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "self",(char *) "col", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 arg2
= (int)SWIG_As_int(obj1
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 (arg1
)->SetCol(arg2
);
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 Py_INCREF(Py_None
); resultobj
= Py_None
;
15989 static PyObject
*_wrap_GridEditorCreatedEvent_SetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxGridEditorCreatedEvent
*arg1
= (wxGridEditorCreatedEvent
*) 0 ;
15992 wxControl
*arg2
= (wxControl
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 PyObject
* obj1
= 0 ;
15995 char *kwnames
[] = {
15996 (char *) "self",(char *) "ctrl", NULL
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridEditorCreatedEvent_SetControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridEditorCreatedEvent
,
16001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 (arg1
)->SetControl(arg2
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 Py_INCREF(Py_None
); resultobj
= Py_None
;
16018 static PyObject
* GridEditorCreatedEvent_swigregister(PyObject
*, PyObject
*args
) {
16020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16021 SWIG_TypeClientData(SWIGTYPE_p_wxGridEditorCreatedEvent
, obj
);
16023 return Py_BuildValue((char *)"");
16025 static PyMethodDef SwigMethods
[] = {
16026 { (char *)"GridCellRenderer__setOORInfo", (PyCFunction
) _wrap_GridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16027 { (char *)"GridCellRenderer_SetParameters", (PyCFunction
) _wrap_GridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16028 { (char *)"GridCellRenderer_IncRef", (PyCFunction
) _wrap_GridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16029 { (char *)"GridCellRenderer_DecRef", (PyCFunction
) _wrap_GridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16030 { (char *)"GridCellRenderer_Draw", (PyCFunction
) _wrap_GridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16031 { (char *)"GridCellRenderer_GetBestSize", (PyCFunction
) _wrap_GridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16032 { (char *)"GridCellRenderer_Clone", (PyCFunction
) _wrap_GridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16033 { (char *)"GridCellRenderer_swigregister", GridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
16034 { (char *)"new_PyGridCellRenderer", (PyCFunction
) _wrap_new_PyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16035 { (char *)"PyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16036 { (char *)"PyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_PyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16037 { (char *)"PyGridCellRenderer_swigregister", PyGridCellRenderer_swigregister
, METH_VARARGS
, NULL
},
16038 { (char *)"new_GridCellStringRenderer", (PyCFunction
) _wrap_new_GridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16039 { (char *)"GridCellStringRenderer_swigregister", GridCellStringRenderer_swigregister
, METH_VARARGS
, NULL
},
16040 { (char *)"new_GridCellNumberRenderer", (PyCFunction
) _wrap_new_GridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16041 { (char *)"GridCellNumberRenderer_swigregister", GridCellNumberRenderer_swigregister
, METH_VARARGS
, NULL
},
16042 { (char *)"new_GridCellFloatRenderer", (PyCFunction
) _wrap_new_GridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16043 { (char *)"GridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16044 { (char *)"GridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_GridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16045 { (char *)"GridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16046 { (char *)"GridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_GridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16047 { (char *)"GridCellFloatRenderer_swigregister", GridCellFloatRenderer_swigregister
, METH_VARARGS
, NULL
},
16048 { (char *)"new_GridCellBoolRenderer", (PyCFunction
) _wrap_new_GridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16049 { (char *)"GridCellBoolRenderer_swigregister", GridCellBoolRenderer_swigregister
, METH_VARARGS
, NULL
},
16050 { (char *)"new_GridCellDateTimeRenderer", (PyCFunction
) _wrap_new_GridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16051 { (char *)"GridCellDateTimeRenderer_swigregister", GridCellDateTimeRenderer_swigregister
, METH_VARARGS
, NULL
},
16052 { (char *)"new_GridCellEnumRenderer", (PyCFunction
) _wrap_new_GridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16053 { (char *)"GridCellEnumRenderer_swigregister", GridCellEnumRenderer_swigregister
, METH_VARARGS
, NULL
},
16054 { (char *)"new_GridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_GridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16055 { (char *)"GridCellAutoWrapStringRenderer_swigregister", GridCellAutoWrapStringRenderer_swigregister
, METH_VARARGS
, NULL
},
16056 { (char *)"GridCellEditor__setOORInfo", (PyCFunction
) _wrap_GridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16057 { (char *)"GridCellEditor_IsCreated", (PyCFunction
) _wrap_GridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16058 { (char *)"GridCellEditor_GetControl", (PyCFunction
) _wrap_GridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16059 { (char *)"GridCellEditor_SetControl", (PyCFunction
) _wrap_GridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16060 { (char *)"GridCellEditor_GetCellAttr", (PyCFunction
) _wrap_GridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16061 { (char *)"GridCellEditor_SetCellAttr", (PyCFunction
) _wrap_GridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16062 { (char *)"GridCellEditor_SetParameters", (PyCFunction
) _wrap_GridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16063 { (char *)"GridCellEditor_IncRef", (PyCFunction
) _wrap_GridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16064 { (char *)"GridCellEditor_DecRef", (PyCFunction
) _wrap_GridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16065 { (char *)"GridCellEditor_Create", (PyCFunction
) _wrap_GridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16066 { (char *)"GridCellEditor_BeginEdit", (PyCFunction
) _wrap_GridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16067 { (char *)"GridCellEditor_EndEdit", (PyCFunction
) _wrap_GridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16068 { (char *)"GridCellEditor_Reset", (PyCFunction
) _wrap_GridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16069 { (char *)"GridCellEditor_Clone", (PyCFunction
) _wrap_GridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16070 { (char *)"GridCellEditor_SetSize", (PyCFunction
) _wrap_GridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16071 { (char *)"GridCellEditor_Show", (PyCFunction
) _wrap_GridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16072 { (char *)"GridCellEditor_PaintBackground", (PyCFunction
) _wrap_GridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16073 { (char *)"GridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_GridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16074 { (char *)"GridCellEditor_StartingKey", (PyCFunction
) _wrap_GridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16075 { (char *)"GridCellEditor_StartingClick", (PyCFunction
) _wrap_GridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16076 { (char *)"GridCellEditor_HandleReturn", (PyCFunction
) _wrap_GridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16077 { (char *)"GridCellEditor_Destroy", (PyCFunction
) _wrap_GridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16078 { (char *)"GridCellEditor_swigregister", GridCellEditor_swigregister
, METH_VARARGS
, NULL
},
16079 { (char *)"new_PyGridCellEditor", (PyCFunction
) _wrap_new_PyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16080 { (char *)"PyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16081 { (char *)"PyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_PyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16082 { (char *)"PyGridCellEditor_base_Show", (PyCFunction
) _wrap_PyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16083 { (char *)"PyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_PyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16084 { (char *)"PyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_PyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16085 { (char *)"PyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16086 { (char *)"PyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_PyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16087 { (char *)"PyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_PyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16088 { (char *)"PyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_PyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16089 { (char *)"PyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_PyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16090 { (char *)"PyGridCellEditor_swigregister", PyGridCellEditor_swigregister
, METH_VARARGS
, NULL
},
16091 { (char *)"new_GridCellTextEditor", (PyCFunction
) _wrap_new_GridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16092 { (char *)"GridCellTextEditor_GetValue", (PyCFunction
) _wrap_GridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16093 { (char *)"GridCellTextEditor_swigregister", GridCellTextEditor_swigregister
, METH_VARARGS
, NULL
},
16094 { (char *)"new_GridCellNumberEditor", (PyCFunction
) _wrap_new_GridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16095 { (char *)"GridCellNumberEditor_GetValue", (PyCFunction
) _wrap_GridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16096 { (char *)"GridCellNumberEditor_swigregister", GridCellNumberEditor_swigregister
, METH_VARARGS
, NULL
},
16097 { (char *)"new_GridCellFloatEditor", (PyCFunction
) _wrap_new_GridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16098 { (char *)"GridCellFloatEditor_GetValue", (PyCFunction
) _wrap_GridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16099 { (char *)"GridCellFloatEditor_swigregister", GridCellFloatEditor_swigregister
, METH_VARARGS
, NULL
},
16100 { (char *)"new_GridCellBoolEditor", (PyCFunction
) _wrap_new_GridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16101 { (char *)"GridCellBoolEditor_GetValue", (PyCFunction
) _wrap_GridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16102 { (char *)"GridCellBoolEditor_swigregister", GridCellBoolEditor_swigregister
, METH_VARARGS
, NULL
},
16103 { (char *)"new_GridCellChoiceEditor", (PyCFunction
) _wrap_new_GridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16104 { (char *)"GridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_GridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16105 { (char *)"GridCellChoiceEditor_swigregister", GridCellChoiceEditor_swigregister
, METH_VARARGS
, NULL
},
16106 { (char *)"new_GridCellEnumEditor", (PyCFunction
) _wrap_new_GridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16107 { (char *)"GridCellEnumEditor_GetValue", (PyCFunction
) _wrap_GridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16108 { (char *)"GridCellEnumEditor_swigregister", GridCellEnumEditor_swigregister
, METH_VARARGS
, NULL
},
16109 { (char *)"new_GridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_GridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16110 { (char *)"GridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_GridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16111 { (char *)"GridCellAutoWrapStringEditor_swigregister", GridCellAutoWrapStringEditor_swigregister
, METH_VARARGS
, NULL
},
16112 { (char *)"GridCellAttr__setOORInfo", (PyCFunction
) _wrap_GridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16113 { (char *)"new_GridCellAttr", (PyCFunction
) _wrap_new_GridCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16114 { (char *)"GridCellAttr_Clone", (PyCFunction
) _wrap_GridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16115 { (char *)"GridCellAttr_MergeWith", (PyCFunction
) _wrap_GridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16116 { (char *)"GridCellAttr_IncRef", (PyCFunction
) _wrap_GridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16117 { (char *)"GridCellAttr_DecRef", (PyCFunction
) _wrap_GridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16118 { (char *)"GridCellAttr_SetTextColour", (PyCFunction
) _wrap_GridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16119 { (char *)"GridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16120 { (char *)"GridCellAttr_SetFont", (PyCFunction
) _wrap_GridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16121 { (char *)"GridCellAttr_SetAlignment", (PyCFunction
) _wrap_GridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16122 { (char *)"GridCellAttr_SetSize", (PyCFunction
) _wrap_GridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16123 { (char *)"GridCellAttr_SetOverflow", (PyCFunction
) _wrap_GridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16124 { (char *)"GridCellAttr_SetReadOnly", (PyCFunction
) _wrap_GridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16125 { (char *)"GridCellAttr_SetRenderer", (PyCFunction
) _wrap_GridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16126 { (char *)"GridCellAttr_SetEditor", (PyCFunction
) _wrap_GridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16127 { (char *)"GridCellAttr_SetKind", (PyCFunction
) _wrap_GridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16128 { (char *)"GridCellAttr_HasTextColour", (PyCFunction
) _wrap_GridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16129 { (char *)"GridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16130 { (char *)"GridCellAttr_HasFont", (PyCFunction
) _wrap_GridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16131 { (char *)"GridCellAttr_HasAlignment", (PyCFunction
) _wrap_GridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16132 { (char *)"GridCellAttr_HasRenderer", (PyCFunction
) _wrap_GridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16133 { (char *)"GridCellAttr_HasEditor", (PyCFunction
) _wrap_GridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16134 { (char *)"GridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_GridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16135 { (char *)"GridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_GridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16136 { (char *)"GridCellAttr_GetTextColour", (PyCFunction
) _wrap_GridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16137 { (char *)"GridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_GridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16138 { (char *)"GridCellAttr_GetFont", (PyCFunction
) _wrap_GridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16139 { (char *)"GridCellAttr_GetAlignment", (PyCFunction
) _wrap_GridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16140 { (char *)"GridCellAttr_GetSize", (PyCFunction
) _wrap_GridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16141 { (char *)"GridCellAttr_GetOverflow", (PyCFunction
) _wrap_GridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16142 { (char *)"GridCellAttr_GetRenderer", (PyCFunction
) _wrap_GridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16143 { (char *)"GridCellAttr_GetEditor", (PyCFunction
) _wrap_GridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16144 { (char *)"GridCellAttr_IsReadOnly", (PyCFunction
) _wrap_GridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16145 { (char *)"GridCellAttr_GetKind", (PyCFunction
) _wrap_GridCellAttr_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16146 { (char *)"GridCellAttr_SetDefAttr", (PyCFunction
) _wrap_GridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16147 { (char *)"GridCellAttr_swigregister", GridCellAttr_swigregister
, METH_VARARGS
, NULL
},
16148 { (char *)"new_GridCellAttrProvider", (PyCFunction
) _wrap_new_GridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16149 { (char *)"GridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_GridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16150 { (char *)"GridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16151 { (char *)"GridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16152 { (char *)"GridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16153 { (char *)"GridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_GridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16154 { (char *)"GridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16155 { (char *)"GridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_GridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16156 { (char *)"GridCellAttrProvider_swigregister", GridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
16157 { (char *)"new_PyGridCellAttrProvider", (PyCFunction
) _wrap_new_PyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16158 { (char *)"PyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_PyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16159 { (char *)"PyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16160 { (char *)"PyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16161 { (char *)"PyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16162 { (char *)"PyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_PyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16163 { (char *)"PyGridCellAttrProvider_swigregister", PyGridCellAttrProvider_swigregister
, METH_VARARGS
, NULL
},
16164 { (char *)"GridTableBase__setOORInfo", (PyCFunction
) _wrap_GridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16165 { (char *)"GridTableBase_SetAttrProvider", (PyCFunction
) _wrap_GridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16166 { (char *)"GridTableBase_GetAttrProvider", (PyCFunction
) _wrap_GridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16167 { (char *)"GridTableBase_SetView", (PyCFunction
) _wrap_GridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16168 { (char *)"GridTableBase_GetView", (PyCFunction
) _wrap_GridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16169 { (char *)"GridTableBase_GetNumberRows", (PyCFunction
) _wrap_GridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16170 { (char *)"GridTableBase_GetNumberCols", (PyCFunction
) _wrap_GridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16171 { (char *)"GridTableBase_IsEmptyCell", (PyCFunction
) _wrap_GridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16172 { (char *)"GridTableBase_GetValue", (PyCFunction
) _wrap_GridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16173 { (char *)"GridTableBase_SetValue", (PyCFunction
) _wrap_GridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16174 { (char *)"GridTableBase_GetTypeName", (PyCFunction
) _wrap_GridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16175 { (char *)"GridTableBase_CanGetValueAs", (PyCFunction
) _wrap_GridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16176 { (char *)"GridTableBase_CanSetValueAs", (PyCFunction
) _wrap_GridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16177 { (char *)"GridTableBase_GetValueAsLong", (PyCFunction
) _wrap_GridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16178 { (char *)"GridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16179 { (char *)"GridTableBase_GetValueAsBool", (PyCFunction
) _wrap_GridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16180 { (char *)"GridTableBase_SetValueAsLong", (PyCFunction
) _wrap_GridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16181 { (char *)"GridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_GridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16182 { (char *)"GridTableBase_SetValueAsBool", (PyCFunction
) _wrap_GridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16183 { (char *)"GridTableBase_Clear", (PyCFunction
) _wrap_GridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16184 { (char *)"GridTableBase_InsertRows", (PyCFunction
) _wrap_GridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16185 { (char *)"GridTableBase_AppendRows", (PyCFunction
) _wrap_GridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16186 { (char *)"GridTableBase_DeleteRows", (PyCFunction
) _wrap_GridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16187 { (char *)"GridTableBase_InsertCols", (PyCFunction
) _wrap_GridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16188 { (char *)"GridTableBase_AppendCols", (PyCFunction
) _wrap_GridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16189 { (char *)"GridTableBase_DeleteCols", (PyCFunction
) _wrap_GridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16190 { (char *)"GridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16191 { (char *)"GridTableBase_GetColLabelValue", (PyCFunction
) _wrap_GridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16192 { (char *)"GridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_GridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16193 { (char *)"GridTableBase_SetColLabelValue", (PyCFunction
) _wrap_GridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16194 { (char *)"GridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_GridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16195 { (char *)"GridTableBase_GetAttr", (PyCFunction
) _wrap_GridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16196 { (char *)"GridTableBase_SetAttr", (PyCFunction
) _wrap_GridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16197 { (char *)"GridTableBase_SetRowAttr", (PyCFunction
) _wrap_GridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16198 { (char *)"GridTableBase_SetColAttr", (PyCFunction
) _wrap_GridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16199 { (char *)"GridTableBase_swigregister", GridTableBase_swigregister
, METH_VARARGS
, NULL
},
16200 { (char *)"new_PyGridTableBase", (PyCFunction
) _wrap_new_PyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16201 { (char *)"PyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_PyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16202 { (char *)"PyGridTableBase_Destroy", (PyCFunction
) _wrap_PyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16203 { (char *)"PyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_PyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16204 { (char *)"PyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16205 { (char *)"PyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_PyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16206 { (char *)"PyGridTableBase_base_Clear", (PyCFunction
) _wrap_PyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16207 { (char *)"PyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_PyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16208 { (char *)"PyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_PyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16209 { (char *)"PyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16210 { (char *)"PyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_PyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16211 { (char *)"PyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_PyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16212 { (char *)"PyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_PyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16213 { (char *)"PyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16214 { (char *)"PyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16215 { (char *)"PyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16216 { (char *)"PyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_PyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16217 { (char *)"PyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_PyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16218 { (char *)"PyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16219 { (char *)"PyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16220 { (char *)"PyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16221 { (char *)"PyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_PyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16222 { (char *)"PyGridTableBase_swigregister", PyGridTableBase_swigregister
, METH_VARARGS
, NULL
},
16223 { (char *)"new_GridStringTable", (PyCFunction
) _wrap_new_GridStringTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16224 { (char *)"GridStringTable_swigregister", GridStringTable_swigregister
, METH_VARARGS
, NULL
},
16225 { (char *)"new_GridTableMessage", (PyCFunction
) _wrap_new_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16226 { (char *)"delete_GridTableMessage", (PyCFunction
) _wrap_delete_GridTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16227 { (char *)"GridTableMessage_SetTableObject", (PyCFunction
) _wrap_GridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16228 { (char *)"GridTableMessage_GetTableObject", (PyCFunction
) _wrap_GridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16229 { (char *)"GridTableMessage_SetId", (PyCFunction
) _wrap_GridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16230 { (char *)"GridTableMessage_GetId", (PyCFunction
) _wrap_GridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16231 { (char *)"GridTableMessage_SetCommandInt", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16232 { (char *)"GridTableMessage_GetCommandInt", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16233 { (char *)"GridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16234 { (char *)"GridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_GridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16235 { (char *)"GridTableMessage_swigregister", GridTableMessage_swigregister
, METH_VARARGS
, NULL
},
16236 { (char *)"new_GridCellCoords", (PyCFunction
) _wrap_new_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16237 { (char *)"delete_GridCellCoords", (PyCFunction
) _wrap_delete_GridCellCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16238 { (char *)"GridCellCoords_GetRow", (PyCFunction
) _wrap_GridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16239 { (char *)"GridCellCoords_SetRow", (PyCFunction
) _wrap_GridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16240 { (char *)"GridCellCoords_GetCol", (PyCFunction
) _wrap_GridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16241 { (char *)"GridCellCoords_SetCol", (PyCFunction
) _wrap_GridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16242 { (char *)"GridCellCoords_Set", (PyCFunction
) _wrap_GridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16243 { (char *)"GridCellCoords___eq__", (PyCFunction
) _wrap_GridCellCoords___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16244 { (char *)"GridCellCoords___ne__", (PyCFunction
) _wrap_GridCellCoords___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16245 { (char *)"GridCellCoords_Get", (PyCFunction
) _wrap_GridCellCoords_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16246 { (char *)"GridCellCoords_swigregister", GridCellCoords_swigregister
, METH_VARARGS
, NULL
},
16247 { (char *)"new_Grid", (PyCFunction
) _wrap_new_Grid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16248 { (char *)"new_PreGrid", (PyCFunction
) _wrap_new_PreGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16249 { (char *)"Grid_Create", (PyCFunction
) _wrap_Grid_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16250 { (char *)"Grid_CreateGrid", (PyCFunction
) _wrap_Grid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16251 { (char *)"Grid_SetSelectionMode", (PyCFunction
) _wrap_Grid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16252 { (char *)"Grid_GetSelectionMode", (PyCFunction
) _wrap_Grid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16253 { (char *)"Grid_GetNumberRows", (PyCFunction
) _wrap_Grid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16254 { (char *)"Grid_GetNumberCols", (PyCFunction
) _wrap_Grid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16255 { (char *)"Grid_ProcessTableMessage", (PyCFunction
) _wrap_Grid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16256 { (char *)"Grid_GetTable", (PyCFunction
) _wrap_Grid_GetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16257 { (char *)"Grid_SetTable", (PyCFunction
) _wrap_Grid_SetTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16258 { (char *)"Grid_ClearGrid", (PyCFunction
) _wrap_Grid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16259 { (char *)"Grid_InsertRows", (PyCFunction
) _wrap_Grid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16260 { (char *)"Grid_AppendRows", (PyCFunction
) _wrap_Grid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16261 { (char *)"Grid_DeleteRows", (PyCFunction
) _wrap_Grid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16262 { (char *)"Grid_InsertCols", (PyCFunction
) _wrap_Grid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16263 { (char *)"Grid_AppendCols", (PyCFunction
) _wrap_Grid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16264 { (char *)"Grid_DeleteCols", (PyCFunction
) _wrap_Grid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16265 { (char *)"Grid_DrawCellHighlight", (PyCFunction
) _wrap_Grid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16266 { (char *)"Grid_DrawTextRectangle", (PyCFunction
) _wrap_Grid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16267 { (char *)"Grid_GetTextBoxSize", (PyCFunction
) _wrap_Grid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16268 { (char *)"Grid_BeginBatch", (PyCFunction
) _wrap_Grid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16269 { (char *)"Grid_EndBatch", (PyCFunction
) _wrap_Grid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16270 { (char *)"Grid_GetBatchCount", (PyCFunction
) _wrap_Grid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16271 { (char *)"Grid_ForceRefresh", (PyCFunction
) _wrap_Grid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16272 { (char *)"Grid_IsEditable", (PyCFunction
) _wrap_Grid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16273 { (char *)"Grid_EnableEditing", (PyCFunction
) _wrap_Grid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16274 { (char *)"Grid_EnableCellEditControl", (PyCFunction
) _wrap_Grid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16275 { (char *)"Grid_DisableCellEditControl", (PyCFunction
) _wrap_Grid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16276 { (char *)"Grid_CanEnableCellControl", (PyCFunction
) _wrap_Grid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16277 { (char *)"Grid_IsCellEditControlEnabled", (PyCFunction
) _wrap_Grid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16278 { (char *)"Grid_IsCellEditControlShown", (PyCFunction
) _wrap_Grid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16279 { (char *)"Grid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_Grid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16280 { (char *)"Grid_ShowCellEditControl", (PyCFunction
) _wrap_Grid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16281 { (char *)"Grid_HideCellEditControl", (PyCFunction
) _wrap_Grid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16282 { (char *)"Grid_SaveEditControlValue", (PyCFunction
) _wrap_Grid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16283 { (char *)"Grid_XYToCell", (PyCFunction
) _wrap_Grid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16284 { (char *)"Grid_YToRow", (PyCFunction
) _wrap_Grid_YToRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16285 { (char *)"Grid_XToCol", (PyCFunction
) _wrap_Grid_XToCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16286 { (char *)"Grid_YToEdgeOfRow", (PyCFunction
) _wrap_Grid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16287 { (char *)"Grid_XToEdgeOfCol", (PyCFunction
) _wrap_Grid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16288 { (char *)"Grid_CellToRect", (PyCFunction
) _wrap_Grid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16289 { (char *)"Grid_GetGridCursorRow", (PyCFunction
) _wrap_Grid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16290 { (char *)"Grid_GetGridCursorCol", (PyCFunction
) _wrap_Grid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16291 { (char *)"Grid_IsVisible", (PyCFunction
) _wrap_Grid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16292 { (char *)"Grid_MakeCellVisible", (PyCFunction
) _wrap_Grid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16293 { (char *)"Grid_SetGridCursor", (PyCFunction
) _wrap_Grid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16294 { (char *)"Grid_MoveCursorUp", (PyCFunction
) _wrap_Grid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16295 { (char *)"Grid_MoveCursorDown", (PyCFunction
) _wrap_Grid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16296 { (char *)"Grid_MoveCursorLeft", (PyCFunction
) _wrap_Grid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16297 { (char *)"Grid_MoveCursorRight", (PyCFunction
) _wrap_Grid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16298 { (char *)"Grid_MovePageDown", (PyCFunction
) _wrap_Grid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16299 { (char *)"Grid_MovePageUp", (PyCFunction
) _wrap_Grid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16300 { (char *)"Grid_MoveCursorUpBlock", (PyCFunction
) _wrap_Grid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16301 { (char *)"Grid_MoveCursorDownBlock", (PyCFunction
) _wrap_Grid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16302 { (char *)"Grid_MoveCursorLeftBlock", (PyCFunction
) _wrap_Grid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16303 { (char *)"Grid_MoveCursorRightBlock", (PyCFunction
) _wrap_Grid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16304 { (char *)"Grid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16305 { (char *)"Grid_GetRowLabelSize", (PyCFunction
) _wrap_Grid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16306 { (char *)"Grid_GetDefaultColLabelSize", (PyCFunction
) _wrap_Grid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16307 { (char *)"Grid_GetColLabelSize", (PyCFunction
) _wrap_Grid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16308 { (char *)"Grid_GetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16309 { (char *)"Grid_GetLabelTextColour", (PyCFunction
) _wrap_Grid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16310 { (char *)"Grid_GetLabelFont", (PyCFunction
) _wrap_Grid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16311 { (char *)"Grid_GetRowLabelAlignment", (PyCFunction
) _wrap_Grid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16312 { (char *)"Grid_GetColLabelAlignment", (PyCFunction
) _wrap_Grid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16313 { (char *)"Grid_GetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16314 { (char *)"Grid_GetRowLabelValue", (PyCFunction
) _wrap_Grid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16315 { (char *)"Grid_GetColLabelValue", (PyCFunction
) _wrap_Grid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16316 { (char *)"Grid_GetGridLineColour", (PyCFunction
) _wrap_Grid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16317 { (char *)"Grid_GetCellHighlightColour", (PyCFunction
) _wrap_Grid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16318 { (char *)"Grid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16319 { (char *)"Grid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16320 { (char *)"Grid_SetRowLabelSize", (PyCFunction
) _wrap_Grid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16321 { (char *)"Grid_SetColLabelSize", (PyCFunction
) _wrap_Grid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16322 { (char *)"Grid_SetLabelBackgroundColour", (PyCFunction
) _wrap_Grid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16323 { (char *)"Grid_SetLabelTextColour", (PyCFunction
) _wrap_Grid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16324 { (char *)"Grid_SetLabelFont", (PyCFunction
) _wrap_Grid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16325 { (char *)"Grid_SetRowLabelAlignment", (PyCFunction
) _wrap_Grid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16326 { (char *)"Grid_SetColLabelAlignment", (PyCFunction
) _wrap_Grid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16327 { (char *)"Grid_SetColLabelTextOrientation", (PyCFunction
) _wrap_Grid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16328 { (char *)"Grid_SetRowLabelValue", (PyCFunction
) _wrap_Grid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16329 { (char *)"Grid_SetColLabelValue", (PyCFunction
) _wrap_Grid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16330 { (char *)"Grid_SetGridLineColour", (PyCFunction
) _wrap_Grid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16331 { (char *)"Grid_SetCellHighlightColour", (PyCFunction
) _wrap_Grid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16332 { (char *)"Grid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16333 { (char *)"Grid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_Grid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16334 { (char *)"Grid_EnableDragRowSize", (PyCFunction
) _wrap_Grid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16335 { (char *)"Grid_DisableDragRowSize", (PyCFunction
) _wrap_Grid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16336 { (char *)"Grid_CanDragRowSize", (PyCFunction
) _wrap_Grid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16337 { (char *)"Grid_EnableDragColSize", (PyCFunction
) _wrap_Grid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16338 { (char *)"Grid_DisableDragColSize", (PyCFunction
) _wrap_Grid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16339 { (char *)"Grid_CanDragColSize", (PyCFunction
) _wrap_Grid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16340 { (char *)"Grid_EnableDragGridSize", (PyCFunction
) _wrap_Grid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16341 { (char *)"Grid_DisableDragGridSize", (PyCFunction
) _wrap_Grid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16342 { (char *)"Grid_CanDragGridSize", (PyCFunction
) _wrap_Grid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16343 { (char *)"Grid_EnableDragCell", (PyCFunction
) _wrap_Grid_EnableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16344 { (char *)"Grid_DisableDragCell", (PyCFunction
) _wrap_Grid_DisableDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16345 { (char *)"Grid_CanDragCell", (PyCFunction
) _wrap_Grid_CanDragCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16346 { (char *)"Grid_SetAttr", (PyCFunction
) _wrap_Grid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16347 { (char *)"Grid_SetRowAttr", (PyCFunction
) _wrap_Grid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16348 { (char *)"Grid_SetColAttr", (PyCFunction
) _wrap_Grid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16349 { (char *)"Grid_GetOrCreateCellAttr", (PyCFunction
) _wrap_Grid_GetOrCreateCellAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16350 { (char *)"Grid_SetColFormatBool", (PyCFunction
) _wrap_Grid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16351 { (char *)"Grid_SetColFormatNumber", (PyCFunction
) _wrap_Grid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16352 { (char *)"Grid_SetColFormatFloat", (PyCFunction
) _wrap_Grid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16353 { (char *)"Grid_SetColFormatCustom", (PyCFunction
) _wrap_Grid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16354 { (char *)"Grid_EnableGridLines", (PyCFunction
) _wrap_Grid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16355 { (char *)"Grid_GridLinesEnabled", (PyCFunction
) _wrap_Grid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16356 { (char *)"Grid_GetDefaultRowSize", (PyCFunction
) _wrap_Grid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16357 { (char *)"Grid_GetRowSize", (PyCFunction
) _wrap_Grid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16358 { (char *)"Grid_GetDefaultColSize", (PyCFunction
) _wrap_Grid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16359 { (char *)"Grid_GetColSize", (PyCFunction
) _wrap_Grid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16360 { (char *)"Grid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16361 { (char *)"Grid_GetCellBackgroundColour", (PyCFunction
) _wrap_Grid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16362 { (char *)"Grid_GetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16363 { (char *)"Grid_GetCellTextColour", (PyCFunction
) _wrap_Grid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16364 { (char *)"Grid_GetDefaultCellFont", (PyCFunction
) _wrap_Grid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16365 { (char *)"Grid_GetCellFont", (PyCFunction
) _wrap_Grid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16366 { (char *)"Grid_GetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16367 { (char *)"Grid_GetCellAlignment", (PyCFunction
) _wrap_Grid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16368 { (char *)"Grid_GetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16369 { (char *)"Grid_GetCellOverflow", (PyCFunction
) _wrap_Grid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16370 { (char *)"Grid_GetCellSize", (PyCFunction
) _wrap_Grid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16371 { (char *)"Grid_SetDefaultRowSize", (PyCFunction
) _wrap_Grid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16372 { (char *)"Grid_SetRowSize", (PyCFunction
) _wrap_Grid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16373 { (char *)"Grid_SetDefaultColSize", (PyCFunction
) _wrap_Grid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16374 { (char *)"Grid_SetColSize", (PyCFunction
) _wrap_Grid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16375 { (char *)"Grid_AutoSizeColumn", (PyCFunction
) _wrap_Grid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16376 { (char *)"Grid_AutoSizeRow", (PyCFunction
) _wrap_Grid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16377 { (char *)"Grid_AutoSizeColumns", (PyCFunction
) _wrap_Grid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16378 { (char *)"Grid_AutoSizeRows", (PyCFunction
) _wrap_Grid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16379 { (char *)"Grid_AutoSize", (PyCFunction
) _wrap_Grid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16380 { (char *)"Grid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16381 { (char *)"Grid_AutoSizeColLabelSize", (PyCFunction
) _wrap_Grid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16382 { (char *)"Grid_SetColMinimalWidth", (PyCFunction
) _wrap_Grid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16383 { (char *)"Grid_SetRowMinimalHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16384 { (char *)"Grid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16385 { (char *)"Grid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16386 { (char *)"Grid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_Grid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16387 { (char *)"Grid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_Grid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16388 { (char *)"Grid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16389 { (char *)"Grid_SetCellBackgroundColour", (PyCFunction
) _wrap_Grid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16390 { (char *)"Grid_SetDefaultCellTextColour", (PyCFunction
) _wrap_Grid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16391 { (char *)"Grid_SetCellTextColour", (PyCFunction
) _wrap_Grid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16392 { (char *)"Grid_SetDefaultCellFont", (PyCFunction
) _wrap_Grid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16393 { (char *)"Grid_SetCellFont", (PyCFunction
) _wrap_Grid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16394 { (char *)"Grid_SetDefaultCellAlignment", (PyCFunction
) _wrap_Grid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16395 { (char *)"Grid_SetCellAlignment", (PyCFunction
) _wrap_Grid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16396 { (char *)"Grid_SetDefaultCellOverflow", (PyCFunction
) _wrap_Grid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16397 { (char *)"Grid_SetCellOverflow", (PyCFunction
) _wrap_Grid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16398 { (char *)"Grid_SetCellSize", (PyCFunction
) _wrap_Grid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16399 { (char *)"Grid_SetDefaultRenderer", (PyCFunction
) _wrap_Grid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16400 { (char *)"Grid_SetCellRenderer", (PyCFunction
) _wrap_Grid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16401 { (char *)"Grid_GetDefaultRenderer", (PyCFunction
) _wrap_Grid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16402 { (char *)"Grid_GetCellRenderer", (PyCFunction
) _wrap_Grid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16403 { (char *)"Grid_SetDefaultEditor", (PyCFunction
) _wrap_Grid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16404 { (char *)"Grid_SetCellEditor", (PyCFunction
) _wrap_Grid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16405 { (char *)"Grid_GetDefaultEditor", (PyCFunction
) _wrap_Grid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16406 { (char *)"Grid_GetCellEditor", (PyCFunction
) _wrap_Grid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16407 { (char *)"Grid_GetCellValue", (PyCFunction
) _wrap_Grid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16408 { (char *)"Grid_SetCellValue", (PyCFunction
) _wrap_Grid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16409 { (char *)"Grid_IsReadOnly", (PyCFunction
) _wrap_Grid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16410 { (char *)"Grid_SetReadOnly", (PyCFunction
) _wrap_Grid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16411 { (char *)"Grid_SelectRow", (PyCFunction
) _wrap_Grid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16412 { (char *)"Grid_SelectCol", (PyCFunction
) _wrap_Grid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16413 { (char *)"Grid_SelectBlock", (PyCFunction
) _wrap_Grid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16414 { (char *)"Grid_SelectAll", (PyCFunction
) _wrap_Grid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16415 { (char *)"Grid_IsSelection", (PyCFunction
) _wrap_Grid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16416 { (char *)"Grid_ClearSelection", (PyCFunction
) _wrap_Grid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16417 { (char *)"Grid_IsInSelection", (PyCFunction
) _wrap_Grid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16418 { (char *)"Grid_GetSelectedCells", (PyCFunction
) _wrap_Grid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16419 { (char *)"Grid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_Grid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16420 { (char *)"Grid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_Grid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16421 { (char *)"Grid_GetSelectedRows", (PyCFunction
) _wrap_Grid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16422 { (char *)"Grid_GetSelectedCols", (PyCFunction
) _wrap_Grid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16423 { (char *)"Grid_DeselectRow", (PyCFunction
) _wrap_Grid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16424 { (char *)"Grid_DeselectCol", (PyCFunction
) _wrap_Grid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16425 { (char *)"Grid_DeselectCell", (PyCFunction
) _wrap_Grid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16426 { (char *)"Grid_BlockToDeviceRect", (PyCFunction
) _wrap_Grid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16427 { (char *)"Grid_GetSelectionBackground", (PyCFunction
) _wrap_Grid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16428 { (char *)"Grid_GetSelectionForeground", (PyCFunction
) _wrap_Grid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16429 { (char *)"Grid_SetSelectionBackground", (PyCFunction
) _wrap_Grid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16430 { (char *)"Grid_SetSelectionForeground", (PyCFunction
) _wrap_Grid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16431 { (char *)"Grid_RegisterDataType", (PyCFunction
) _wrap_Grid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16432 { (char *)"Grid_GetDefaultEditorForCell", (PyCFunction
) _wrap_Grid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16433 { (char *)"Grid_GetDefaultRendererForCell", (PyCFunction
) _wrap_Grid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16434 { (char *)"Grid_GetDefaultEditorForType", (PyCFunction
) _wrap_Grid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16435 { (char *)"Grid_GetDefaultRendererForType", (PyCFunction
) _wrap_Grid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16436 { (char *)"Grid_SetMargins", (PyCFunction
) _wrap_Grid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16437 { (char *)"Grid_GetGridWindow", (PyCFunction
) _wrap_Grid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16438 { (char *)"Grid_GetGridRowLabelWindow", (PyCFunction
) _wrap_Grid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16439 { (char *)"Grid_GetGridColLabelWindow", (PyCFunction
) _wrap_Grid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16440 { (char *)"Grid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_Grid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16441 { (char *)"Grid_SetScrollLineX", (PyCFunction
) _wrap_Grid_SetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16442 { (char *)"Grid_SetScrollLineY", (PyCFunction
) _wrap_Grid_SetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16443 { (char *)"Grid_GetScrollLineX", (PyCFunction
) _wrap_Grid_GetScrollLineX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16444 { (char *)"Grid_GetScrollLineY", (PyCFunction
) _wrap_Grid_GetScrollLineY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16445 { (char *)"Grid_GetScrollX", (PyCFunction
) _wrap_Grid_GetScrollX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16446 { (char *)"Grid_GetScrollY", (PyCFunction
) _wrap_Grid_GetScrollY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16447 { (char *)"Grid_GetClassDefaultAttributes", (PyCFunction
) _wrap_Grid_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16448 { (char *)"Grid_swigregister", Grid_swigregister
, METH_VARARGS
, NULL
},
16449 { (char *)"new_GridEvent", (PyCFunction
) _wrap_new_GridEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16450 { (char *)"GridEvent_GetRow", (PyCFunction
) _wrap_GridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16451 { (char *)"GridEvent_GetCol", (PyCFunction
) _wrap_GridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16452 { (char *)"GridEvent_GetPosition", (PyCFunction
) _wrap_GridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16453 { (char *)"GridEvent_Selecting", (PyCFunction
) _wrap_GridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16454 { (char *)"GridEvent_ControlDown", (PyCFunction
) _wrap_GridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16455 { (char *)"GridEvent_MetaDown", (PyCFunction
) _wrap_GridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16456 { (char *)"GridEvent_ShiftDown", (PyCFunction
) _wrap_GridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16457 { (char *)"GridEvent_AltDown", (PyCFunction
) _wrap_GridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16458 { (char *)"GridEvent_swigregister", GridEvent_swigregister
, METH_VARARGS
, NULL
},
16459 { (char *)"new_GridSizeEvent", (PyCFunction
) _wrap_new_GridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16460 { (char *)"GridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_GridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16461 { (char *)"GridSizeEvent_GetPosition", (PyCFunction
) _wrap_GridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16462 { (char *)"GridSizeEvent_ControlDown", (PyCFunction
) _wrap_GridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16463 { (char *)"GridSizeEvent_MetaDown", (PyCFunction
) _wrap_GridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16464 { (char *)"GridSizeEvent_ShiftDown", (PyCFunction
) _wrap_GridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16465 { (char *)"GridSizeEvent_AltDown", (PyCFunction
) _wrap_GridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16466 { (char *)"GridSizeEvent_swigregister", GridSizeEvent_swigregister
, METH_VARARGS
, NULL
},
16467 { (char *)"new_GridRangeSelectEvent", (PyCFunction
) _wrap_new_GridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16468 { (char *)"GridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16469 { (char *)"GridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16470 { (char *)"GridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16471 { (char *)"GridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_GridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16472 { (char *)"GridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16473 { (char *)"GridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_GridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16474 { (char *)"GridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_GridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16475 { (char *)"GridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16476 { (char *)"GridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_GridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16477 { (char *)"GridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_GridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16478 { (char *)"GridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_GridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16479 { (char *)"GridRangeSelectEvent_swigregister", GridRangeSelectEvent_swigregister
, METH_VARARGS
, NULL
},
16480 { (char *)"new_GridEditorCreatedEvent", (PyCFunction
) _wrap_new_GridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16481 { (char *)"GridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16482 { (char *)"GridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16483 { (char *)"GridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16484 { (char *)"GridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16485 { (char *)"GridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16486 { (char *)"GridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_GridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
16487 { (char *)"GridEditorCreatedEvent_swigregister", GridEditorCreatedEvent_swigregister
, METH_VARARGS
, NULL
},
16488 { NULL
, NULL
, 0, NULL
}
16492 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16494 static void *_p_wxPyGridCellRendererTo_p_wxGridCellRenderer(void *x
) {
16495 return (void *)((wxGridCellRenderer
*) ((wxPyGridCellRenderer
*) x
));
16497 static void *_p_wxGridCellStringRendererTo_p_wxGridCellRenderer(void *x
) {
16498 return (void *)((wxGridCellRenderer
*) ((wxGridCellStringRenderer
*) x
));
16500 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellRenderer(void *x
) {
16501 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16503 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellRenderer(void *x
) {
16504 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16506 static void *_p_wxGridCellBoolRendererTo_p_wxGridCellRenderer(void *x
) {
16507 return (void *)((wxGridCellRenderer
*) ((wxGridCellBoolRenderer
*) x
));
16509 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer(void *x
) {
16510 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16512 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellRenderer(void *x
) {
16513 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16515 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer(void *x
) {
16516 return (void *)((wxGridCellRenderer
*) (wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16518 static void *_p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer(void *x
) {
16519 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellNumberRenderer
*) x
));
16521 static void *_p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer(void *x
) {
16522 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellFloatRenderer
*) x
));
16524 static void *_p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer(void *x
) {
16525 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellDateTimeRenderer
*) x
));
16527 static void *_p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer(void *x
) {
16528 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellEnumRenderer
*) x
));
16530 static void *_p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer(void *x
) {
16531 return (void *)((wxGridCellStringRenderer
*) ((wxGridCellAutoWrapStringRenderer
*) x
));
16533 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
16534 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
16536 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
16537 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16539 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
16540 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16542 static void *_p_wxGridTo_p_wxPanel(void *x
) {
16543 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxGrid
*) x
));
16545 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
16546 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16548 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
16549 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16551 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
16552 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
16554 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
16555 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16557 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
16558 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
16560 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
16561 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16563 static void *_p_wxGridSizeEventTo_p_wxNotifyEvent(void *x
) {
16564 return (void *)((wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16566 static void *_p_wxGridRangeSelectEventTo_p_wxNotifyEvent(void *x
) {
16567 return (void *)((wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16569 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
16570 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16572 static void *_p_wxGridEventTo_p_wxNotifyEvent(void *x
) {
16573 return (void *)((wxNotifyEvent
*) ((wxGridEvent
*) x
));
16575 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
16576 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16578 static void *_p_wxGridTo_p_wxScrolledWindow(void *x
) {
16579 return (void *)((wxScrolledWindow
*) ((wxGrid
*) x
));
16581 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
16582 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16584 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
16585 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16587 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
16588 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
16590 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
16591 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
16593 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16594 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16596 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
16597 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
16599 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
16600 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
16602 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
16603 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
16605 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
16606 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
16608 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
16609 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
16611 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
16612 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
16614 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
16615 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
16617 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
16618 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
16620 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
16621 return (void *)((wxWindow
*) ((wxPanel
*) x
));
16623 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
16624 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
16626 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
16627 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
16629 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
16630 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
16632 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
16633 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
16635 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
16636 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
16638 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
16639 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
16641 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
16642 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
16644 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
16645 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
16647 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
16648 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
16650 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
16651 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
16653 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
16654 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
16656 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
16657 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
16659 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
16660 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
16662 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16663 return (void *)((wxWindow
*) ((wxControl
*) x
));
16665 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
16666 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16668 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
16669 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16671 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
16672 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16674 static void *_p_wxGridTo_p_wxWindow(void *x
) {
16675 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16677 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16678 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16680 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
16681 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
16683 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
16684 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16686 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
16687 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
16689 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
16690 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
16692 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
16693 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
16695 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
16696 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
16698 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
16699 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
16701 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
16702 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
16704 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
16705 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
16707 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
16708 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
16710 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
16711 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
16713 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
16714 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
16716 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
16717 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
16719 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
16720 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
16722 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
16723 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
16725 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
16726 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16728 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
16729 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
16731 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
16732 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
16734 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
16735 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
16737 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
16738 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
16740 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
16741 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
16743 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
16744 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16746 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
16747 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
16749 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
16750 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
16752 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
16753 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16755 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
16756 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
16758 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
16759 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16761 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
16762 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
16764 static void *_p_wxGridRangeSelectEventTo_p_wxEvent(void *x
) {
16765 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
16767 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
16768 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
16770 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
16771 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16773 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
16774 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16776 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
16777 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
16779 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
16780 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
16782 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
16783 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
16785 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
16786 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
16788 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
16789 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
16791 static void *_p_wxGridSizeEventTo_p_wxEvent(void *x
) {
16792 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
16794 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
16795 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
16797 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
16798 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
16800 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
16801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16803 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
16804 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16806 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
16807 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16809 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
16810 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16812 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
16813 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16815 static void *_p_wxGridEventTo_p_wxEvent(void *x
) {
16816 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16818 static void *_p_wxGridEditorCreatedEventTo_p_wxEvent(void *x
) {
16819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16821 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
16822 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
16824 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
16825 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
16827 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
16828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16830 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
16831 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
16833 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
16834 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16836 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
16837 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
16839 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
16840 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
16842 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
16843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16845 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
16846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16848 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
16849 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16851 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
16852 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
16854 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
16855 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
16857 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
16858 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
16860 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16861 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16863 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
16864 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
16866 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
16867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
16869 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
16870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
16872 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16873 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16875 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16876 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16878 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16881 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16882 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16884 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16885 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16887 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16888 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16890 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16891 return (void *)((wxObject
*) ((wxSizer
*) x
));
16893 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16894 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16896 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16899 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
16900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
16902 static void *_p_wxEventTo_p_wxObject(void *x
) {
16903 return (void *)((wxObject
*) ((wxEvent
*) x
));
16905 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
16906 return (void *)((wxObject
*) ((wxFontData
*) x
));
16908 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
16909 return (void *)((wxObject
*) ((wxPrintData
*) x
));
16911 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16912 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16914 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16915 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16917 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16918 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16920 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
16921 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
16923 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
16924 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
16926 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
16927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
16929 static void *_p_wxGridStringTableTo_p_wxObject(void *x
) {
16930 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxGridStringTable
*) x
));
16932 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16933 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16935 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16936 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16938 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16939 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16941 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16942 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16944 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16945 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16947 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16948 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16950 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
16951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
16953 static void *_p_wxGridEventTo_p_wxObject(void *x
) {
16954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridEvent
*) x
));
16956 static void *_p_wxGridEditorCreatedEventTo_p_wxObject(void *x
) {
16957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
16959 static void *_p_wxControlTo_p_wxObject(void *x
) {
16960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16962 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16963 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16965 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
16966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
16968 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16969 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16971 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
16972 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
16974 static void *_p_wxGridTo_p_wxObject(void *x
) {
16975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
16977 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16978 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16980 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
16981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
16983 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
16984 return (void *)((wxObject
*) ((wxColourData
*) x
));
16986 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16987 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16989 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16992 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
16993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
16995 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
16996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
16998 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
16999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
17001 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
17002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
17004 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
17005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
17007 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
17008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
17010 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
17011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
17013 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
17014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
17016 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
17017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
17019 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
17020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
17022 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
17023 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
17025 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
17026 return (void *)((wxObject
*) ((wxPrinter
*) x
));
17028 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
17029 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
17031 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
17032 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
17034 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
17035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17037 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
17038 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17040 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
17041 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
17043 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
17044 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
17046 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
17047 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
17049 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
17050 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
17052 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
17053 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
17055 static void *_p_wxGridSizeEventTo_p_wxObject(void *x
) {
17056 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
17058 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
17059 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
17061 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
17062 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
17064 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
17065 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
17067 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
17068 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
17070 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
17071 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
17073 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
17074 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
17076 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
17077 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
17079 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
17080 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
17082 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
17083 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
17085 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
17086 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
17088 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
17089 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
17091 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
17092 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
17094 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
17095 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
17097 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
17098 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
17100 static void *_p_wxGridRangeSelectEventTo_p_wxObject(void *x
) {
17101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
17103 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
17104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
17106 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
17107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
17109 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
17110 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
17112 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
17113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
17115 static void *_p_wxImageTo_p_wxObject(void *x
) {
17116 return (void *)((wxObject
*) ((wxImage
*) x
));
17118 static void *_p_wxFrameTo_p_wxObject(void *x
) {
17119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
17121 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
17122 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
17124 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
17125 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
17127 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
17128 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
17130 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
17131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
17133 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
17134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
17136 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
17137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17139 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
17140 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
17142 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
17143 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
17145 static void *_p_wxWindowTo_p_wxObject(void *x
) {
17146 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
17148 static void *_p_wxMenuTo_p_wxObject(void *x
) {
17149 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
17151 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
17152 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
17154 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
17155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
17157 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
17158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
17160 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
17161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
17163 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
17164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
17166 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
17167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
17169 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
17170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
17172 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
17173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
17175 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
17176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
17178 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
17179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
17181 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
17182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
17184 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
17185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
17187 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
17188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
17190 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
17191 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
17193 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
17194 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
17196 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
17197 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
17199 static void *_p_wxPanelTo_p_wxObject(void *x
) {
17200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
17202 static void *_p_wxDialogTo_p_wxObject(void *x
) {
17203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
17205 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
17206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
17208 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
17209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
17211 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
17212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
17214 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
17215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
17217 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
17218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
17220 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
17221 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
17223 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
17224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17226 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
17227 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
17229 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
17230 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
17232 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
17233 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
17235 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
17236 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
17238 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
17239 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
17241 static void *_p_wxGridTableBaseTo_p_wxObject(void *x
) {
17242 return (void *)((wxObject
*) ((wxGridTableBase
*) x
));
17244 static void *_p_wxPyGridTableBaseTo_p_wxObject(void *x
) {
17245 return (void *)((wxObject
*) (wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
17247 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
17248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17250 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
17251 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
17253 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
17254 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
17256 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
17257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
17259 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
17260 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
17262 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
17263 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
17265 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
17266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17268 static void *_p_wxPrintNativeDataBaseTo_p_wxObject(void *x
) {
17269 return (void *)((wxObject
*) ((wxPrintNativeDataBase
*) x
));
17271 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
17272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
17274 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
17275 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
17277 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
17278 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
17280 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
17281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
17283 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
17284 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
17286 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
17287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
17289 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
17290 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
17292 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
17293 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
17295 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
17296 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
17298 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
17299 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
17301 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
17302 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
17304 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
17305 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
17307 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
17308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
17310 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
17311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
17313 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
17314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
17316 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
17317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
17319 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
17320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
17322 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
17323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
17325 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
17326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
17328 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
17329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
17331 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
17332 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
17334 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
17335 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
17337 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
17338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
17340 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
17341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
17343 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
17344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
17346 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
17347 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
17349 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
17350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
17352 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
17353 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
17355 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
17356 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
17358 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
17359 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
17361 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
17362 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
17364 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
17365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
17367 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
17368 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
17370 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
17371 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
17373 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
17374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
17376 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
17377 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
17379 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
17380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
17382 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
17383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
17385 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
17386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
17388 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
17389 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
17391 static void *_p_wxGridTo_p_wxEvtHandler(void *x
) {
17392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxGrid
*) x
));
17394 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
17395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
17397 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
17398 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
17400 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
17401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
17403 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
17404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
17406 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
17407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
17409 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
17410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
17412 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
17413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
17415 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
17416 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
17418 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
17419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
17421 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
17422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
17424 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
17425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
17427 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
17428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
17430 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
17431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
17433 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
17434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
17436 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
17437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
17439 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
17440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
17442 static void *_p_wxGridStringTableTo_p_wxGridTableBase(void *x
) {
17443 return (void *)((wxGridTableBase
*) ((wxGridStringTable
*) x
));
17445 static void *_p_wxPyGridTableBaseTo_p_wxGridTableBase(void *x
) {
17446 return (void *)((wxGridTableBase
*) ((wxPyGridTableBase
*) x
));
17448 static void *_p_wxPyGridCellEditorTo_p_wxGridCellEditor(void *x
) {
17449 return (void *)((wxGridCellEditor
*) ((wxPyGridCellEditor
*) x
));
17451 static void *_p_wxGridCellTextEditorTo_p_wxGridCellEditor(void *x
) {
17452 return (void *)((wxGridCellEditor
*) ((wxGridCellTextEditor
*) x
));
17454 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellEditor(void *x
) {
17455 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17457 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellEditor(void *x
) {
17458 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17460 static void *_p_wxGridCellBoolEditorTo_p_wxGridCellEditor(void *x
) {
17461 return (void *)((wxGridCellEditor
*) ((wxGridCellBoolEditor
*) x
));
17463 static void *_p_wxGridCellChoiceEditorTo_p_wxGridCellEditor(void *x
) {
17464 return (void *)((wxGridCellEditor
*) ((wxGridCellChoiceEditor
*) x
));
17466 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellEditor(void *x
) {
17467 return (void *)((wxGridCellEditor
*) (wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17469 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor(void *x
) {
17470 return (void *)((wxGridCellEditor
*) (wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17472 static void *_p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor(void *x
) {
17473 return (void *)((wxGridCellTextEditor
*) ((wxGridCellNumberEditor
*) x
));
17475 static void *_p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor(void *x
) {
17476 return (void *)((wxGridCellTextEditor
*) ((wxGridCellFloatEditor
*) x
));
17478 static void *_p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor(void *x
) {
17479 return (void *)((wxGridCellTextEditor
*) ((wxGridCellAutoWrapStringEditor
*) x
));
17481 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
17482 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
17484 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
17485 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17487 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
17488 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
17490 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
17491 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
17493 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
17494 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17496 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
17497 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17499 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
17500 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17502 static void *_p_wxGridRangeSelectEventTo_p_wxCommandEvent(void *x
) {
17503 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridRangeSelectEvent
*) x
));
17505 static void *_p_wxGridSizeEventTo_p_wxCommandEvent(void *x
) {
17506 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridSizeEvent
*) x
));
17508 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
17509 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17511 static void *_p_wxGridEventTo_p_wxCommandEvent(void *x
) {
17512 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxGridEvent
*) x
));
17514 static void *_p_wxGridEditorCreatedEventTo_p_wxCommandEvent(void *x
) {
17515 return (void *)((wxCommandEvent
*) ((wxGridEditorCreatedEvent
*) x
));
17517 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
17518 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17520 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
17521 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
17523 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
17524 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17526 static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x
) {
17527 return (void *)((wxGridCellAttrProvider
*) ((wxPyGridCellAttrProvider
*) x
));
17529 static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x
) {
17530 return (void *)((wxGridCellChoiceEditor
*) ((wxGridCellEnumEditor
*) x
));
17532 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}};
17533 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}};
17534 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}};
17535 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}};
17536 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}};
17537 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}};
17538 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}};
17539 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}};
17540 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}};
17541 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}};
17542 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}};
17543 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}};
17544 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}};
17545 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}};
17546 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}};
17547 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}};
17548 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}};
17549 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}};
17550 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}};
17551 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}};
17552 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}};
17553 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}};
17554 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_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}};
17555 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}};
17556 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}};
17557 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}};
17558 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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_wxCURHandler", _p_wxCURHandlerTo_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_wxPrintNativeDataBase", _p_wxPrintNativeDataBaseTo_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}};
17559 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}};
17560 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}};
17561 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}};
17562 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}};
17563 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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_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_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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}};
17564 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}};
17565 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}};
17566 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}};
17567 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}};
17568 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}};
17569 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}};
17570 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}};
17571 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}};
17572 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}};
17573 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}};
17574 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}};
17575 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}};
17576 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}};
17577 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}};
17578 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}};
17579 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}};
17580 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}};
17581 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}};
17582 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}};
17583 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}};
17584 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}};
17586 static swig_type_info
*swig_types_initial
[] = {
17587 _swigt__p_wxGridCellAutoWrapStringRenderer
,
17588 _swigt__p_wxGridCellEnumRenderer
,
17589 _swigt__p_wxGridCellDateTimeRenderer
,
17590 _swigt__p_wxGridCellBoolRenderer
,
17591 _swigt__p_wxGridCellFloatRenderer
,
17592 _swigt__p_wxGridCellNumberRenderer
,
17593 _swigt__p_wxPyGridCellRenderer
,
17594 _swigt__p_wxGridCellRenderer
,
17595 _swigt__p_wxGridCellStringRenderer
,
17596 _swigt__p_wxGridCellAttr
,
17597 _swigt__p_wxColour
,
17599 _swigt__p_wxGridTableMessage
,
17601 _swigt__p_wxVisualAttributes
,
17604 _swigt__p_wxNotifyEvent
,
17605 _swigt__p_wxGridRangeSelectEvent
,
17607 _swigt__p_wxGridCellCoords
,
17608 _swigt__p_wxScrolledWindow
,
17609 _swigt__p_wxWindow
,
17611 _swigt__p_wxControl
,
17613 _swigt__p_wxObject
,
17614 _swigt__p_wxGridSizeEvent
,
17617 _swigt__p_wxString
,
17618 _swigt__p_wxEvtHandler
,
17620 _swigt__p_wxGridEvent
,
17621 _swigt__p_wxGridEditorCreatedEvent
,
17622 _swigt__p_wxGridTableBase
,
17623 _swigt__p_wxGridCellNumberEditor
,
17624 _swigt__p_wxPyGridCellEditor
,
17625 _swigt__p_wxGridCellEditor
,
17626 _swigt__p_wxGridCellTextEditor
,
17627 _swigt__p_wxGridCellFloatEditor
,
17628 _swigt__p_wxGridCellBoolEditor
,
17629 _swigt__p_wxPyGridTableBase
,
17630 _swigt__p_wxGridStringTable
,
17631 _swigt__p_wxArrayString
,
17632 _swigt__p_wxCommandEvent
,
17633 _swigt__p_wxGridCellAttrProvider
,
17634 _swigt__p_wxKeyEvent
,
17635 _swigt__p_wxGridCellChoiceEditor
,
17636 _swigt__p_wxGridCellEnumEditor
,
17637 _swigt__p_wxGridCellAutoWrapStringEditor
,
17639 _swigt__p_wxPyGridCellAttrProvider
,
17644 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17646 static swig_const_info swig_const_table
[] = {
17647 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_STRING", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17648 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_BOOL", 0, 0, (void *)"bool", &SWIGTYPE_p_char
},
17649 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_NUMBER", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17650 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_FLOAT", 0, 0, (void *)"double", &SWIGTYPE_p_char
},
17651 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICE", 0, 0, (void *)"choice", &SWIGTYPE_p_char
},
17652 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_TEXT", 0, 0, (void *)"string", &SWIGTYPE_p_char
},
17653 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_LONG", 0, 0, (void *)"long", &SWIGTYPE_p_char
},
17654 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_CHOICEINT", 0, 0, (void *)"choiceint", &SWIGTYPE_p_char
},
17655 { SWIG_PY_POINTER
, (char*)"GRID_VALUE_DATETIME", 0, 0, (void *)"datetime", &SWIGTYPE_p_char
},
17656 {0, 0, 0, 0.0, 0, 0}};
17665 SWIGEXPORT(void) SWIG_init(void) {
17666 static PyObject
*SWIG_globals
= 0;
17667 static int typeinit
= 0;
17670 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17671 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17672 d
= PyModule_GetDict(m
);
17675 for (i
= 0; swig_types_initial
[i
]; i
++) {
17676 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17680 SWIG_InstallConstants(d
,swig_const_table
);
17682 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17683 SWIG_addvarlink(SWIG_globals
,(char*)"DateTimeFormatStr",_wrap_DateTimeFormatStr_get
, _wrap_DateTimeFormatStr_set
);
17684 PyDict_SetItemString(d
,"GRID_VALUE_STRING", SWIG_FromCharPtr("string"));
17685 PyDict_SetItemString(d
,"GRID_VALUE_BOOL", SWIG_FromCharPtr("bool"));
17686 PyDict_SetItemString(d
,"GRID_VALUE_NUMBER", SWIG_FromCharPtr("long"));
17687 PyDict_SetItemString(d
,"GRID_VALUE_FLOAT", SWIG_FromCharPtr("double"));
17688 PyDict_SetItemString(d
,"GRID_VALUE_CHOICE", SWIG_FromCharPtr("choice"));
17689 PyDict_SetItemString(d
,"GRID_VALUE_TEXT", SWIG_FromCharPtr("string"));
17690 PyDict_SetItemString(d
,"GRID_VALUE_LONG", SWIG_FromCharPtr("long"));
17691 PyDict_SetItemString(d
,"GRID_VALUE_CHOICEINT", SWIG_FromCharPtr("choiceint"));
17692 PyDict_SetItemString(d
,"GRID_VALUE_DATETIME", SWIG_FromCharPtr("datetime"));
17693 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get
, _wrap_GridNoCellCoords_set
);
17694 SWIG_addvarlink(SWIG_globals
,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get
, _wrap_GridNoCellRect_set
);
17695 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)wxGRID_DEFAULT_NUMBER_ROWS
));
17696 PyDict_SetItemString(d
,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)wxGRID_DEFAULT_NUMBER_COLS
));
17697 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)wxGRID_DEFAULT_ROW_HEIGHT
));
17698 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_COL_WIDTH
));
17699 PyDict_SetItemString(d
,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)wxGRID_DEFAULT_COL_LABEL_HEIGHT
));
17700 PyDict_SetItemString(d
,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_ROW_LABEL_WIDTH
));
17701 PyDict_SetItemString(d
,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)wxGRID_LABEL_EDGE_ZONE
));
17702 PyDict_SetItemString(d
,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)wxGRID_MIN_ROW_HEIGHT
));
17703 PyDict_SetItemString(d
,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)wxGRID_MIN_COL_WIDTH
));
17704 PyDict_SetItemString(d
,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)wxGRID_DEFAULT_SCROLLBAR_WIDTH
));
17705 PyDict_SetItemString(d
,"GridCellAttr_Any", SWIG_From_int((int)wxGridCellAttr::Any
));
17706 PyDict_SetItemString(d
,"GridCellAttr_Default", SWIG_From_int((int)wxGridCellAttr::Default
));
17707 PyDict_SetItemString(d
,"GridCellAttr_Cell", SWIG_From_int((int)wxGridCellAttr::Cell
));
17708 PyDict_SetItemString(d
,"GridCellAttr_Row", SWIG_From_int((int)wxGridCellAttr::Row
));
17709 PyDict_SetItemString(d
,"GridCellAttr_Col", SWIG_From_int((int)wxGridCellAttr::Col
));
17710 PyDict_SetItemString(d
,"GridCellAttr_Merged", SWIG_From_int((int)wxGridCellAttr::Merged
));
17711 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
17712 PyDict_SetItemString(d
,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
17713 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
17714 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
17715 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
17716 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
17717 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
17718 PyDict_SetItemString(d
,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)wxGRIDTABLE_NOTIFY_COLS_DELETED
));
17719 PyDict_SetItemString(d
,"Grid_wxGridSelectCells", SWIG_From_int((int)wxGrid::wxGridSelectCells
));
17720 PyDict_SetItemString(d
,"Grid_wxGridSelectRows", SWIG_From_int((int)wxGrid::wxGridSelectRows
));
17721 PyDict_SetItemString(d
,"Grid_wxGridSelectColumns", SWIG_From_int((int)wxGrid::wxGridSelectColumns
));
17722 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK
));
17723 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK
));
17724 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_DCLICK
));
17725 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_DCLICK
));
17726 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_CLICK
));
17727 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_CLICK
));
17728 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_LEFT_DCLICK
));
17729 PyDict_SetItemString(d
, "wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong(wxEVT_GRID_LABEL_RIGHT_DCLICK
));
17730 PyDict_SetItemString(d
, "wxEVT_GRID_ROW_SIZE", PyInt_FromLong(wxEVT_GRID_ROW_SIZE
));
17731 PyDict_SetItemString(d
, "wxEVT_GRID_COL_SIZE", PyInt_FromLong(wxEVT_GRID_COL_SIZE
));
17732 PyDict_SetItemString(d
, "wxEVT_GRID_RANGE_SELECT", PyInt_FromLong(wxEVT_GRID_RANGE_SELECT
));
17733 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_CHANGE", PyInt_FromLong(wxEVT_GRID_CELL_CHANGE
));
17734 PyDict_SetItemString(d
, "wxEVT_GRID_SELECT_CELL", PyInt_FromLong(wxEVT_GRID_SELECT_CELL
));
17735 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong(wxEVT_GRID_EDITOR_SHOWN
));
17736 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong(wxEVT_GRID_EDITOR_HIDDEN
));
17737 PyDict_SetItemString(d
, "wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong(wxEVT_GRID_EDITOR_CREATED
));
17738 PyDict_SetItemString(d
, "wxEVT_GRID_CELL_BEGIN_DRAG", PyInt_FromLong(wxEVT_GRID_CELL_BEGIN_DRAG
));