2 * FILE : src/msw/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 #if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg
= "String or Unicode type required";
110 static char* wxStringErrorMsg
= "string type is required for parameter";
113 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
114 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
115 wxGridCellAttr* rval = NULL; \
116 bool doSave = wxPyRestoreThread(); \
117 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
119 wxGridCellAttr* ptr; \
120 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
122 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
128 rval = PCLASS::CBNAME(a, b, c); \
129 wxPySaveThread(doSave); \
132 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
133 return PCLASS::CBNAME(a, b, c); \
138 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
139 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
140 bool doSave = wxPyRestoreThread(); \
141 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
142 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
147 PCLASS::CBNAME(attr, a, b); \
148 wxPySaveThread(doSave); \
150 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
151 PCLASS::CBNAME(attr, a, b); \
156 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
157 void CBNAME(wxGridCellAttr *attr, int val) { \
158 bool doSave = wxPyRestoreThread(); \
159 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
160 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
161 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
165 PCLASS::CBNAME(attr, val); \
166 wxPySaveThread(doSave); \
168 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
169 PCLASS::CBNAME(attr, val); \
174 #define PYCALLBACK_INT__pure(CBNAME) \
176 bool doSave = wxPyRestoreThread(); \
178 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
179 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
180 wxPySaveThread(doSave); \
186 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
187 bool CBNAME(int a, int b) { \
188 bool doSave = wxPyRestoreThread(); \
190 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
191 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
192 wxPySaveThread(doSave); \
198 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
199 wxString CBNAME(int a, int b) { \
200 bool doSave = wxPyRestoreThread(); \
202 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
204 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
206 PyObject* str = PyObject_Str(ro); \
207 rval = PyString_AsString(str); \
208 Py_DECREF(ro); Py_DECREF(str); \
211 wxPySaveThread(doSave); \
217 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
218 void CBNAME(int a, int b, const wxString& c) { \
219 bool doSave = wxPyRestoreThread(); \
220 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
221 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
222 wxPySaveThread(doSave); \
226 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
227 wxString CBNAME(int a, int b) { \
228 bool doSave = wxPyRestoreThread(); \
230 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
232 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
234 PyObject* str = PyObject_Str(ro); \
235 rval = PyString_AsString(str); \
236 Py_DECREF(ro); Py_DECREF(str); \
239 rval = PCLASS::CBNAME(a, b); \
240 wxPySaveThread(doSave); \
243 wxString base_##CBNAME(int a, int b) { \
244 return PCLASS::CBNAME(a, b); \
249 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
250 bool CBNAME(int a, int b, const wxString& c) { \
252 bool doSave = wxPyRestoreThread(); \
253 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
254 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str())); \
256 rval = PCLASS::CBNAME(a,b,c); \
257 wxPySaveThread(doSave); \
260 bool base_##CBNAME(int a, int b, const wxString& c) { \
261 return PCLASS::CBNAME(a,b,c); \
267 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
268 long CBNAME(int a, int b) { \
270 bool doSave = wxPyRestoreThread(); \
271 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
272 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
274 rval = PCLASS::CBNAME(a,b); \
275 wxPySaveThread(doSave); \
278 long base_##CBNAME(int a, int b) { \
279 return PCLASS::CBNAME(a,b); \
284 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
285 bool CBNAME(int a, int b) { \
287 bool doSave = wxPyRestoreThread(); \
288 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
289 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
291 rval = PCLASS::CBNAME(a,b); \
292 wxPySaveThread(doSave); \
295 bool base_##CBNAME(int a, int b) { \
296 return PCLASS::CBNAME(a,b); \
301 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
302 double CBNAME(int a, int b) { \
303 bool doSave = wxPyRestoreThread(); \
305 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
307 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
309 PyObject* str = PyObject_Str(ro); \
310 rval = PyFloat_AsDouble(str); \
311 Py_DECREF(ro); Py_DECREF(str); \
314 rval = PCLASS::CBNAME(a, b); \
315 wxPySaveThread(doSave); \
318 double base_##CBNAME(int a, int b) { \
319 return PCLASS::CBNAME(a, b); \
324 #define PYCALLBACK__(PCLASS, CBNAME) \
326 bool doSave = wxPyRestoreThread(); \
327 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
328 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
331 wxPySaveThread(doSave); \
333 void base_##CBNAME() { \
340 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
341 bool CBNAME(size_t a, size_t b) { \
343 bool doSave = wxPyRestoreThread(); \
344 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
345 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
347 rval = PCLASS::CBNAME(a,b); \
348 wxPySaveThread(doSave); \
351 bool base_##CBNAME(size_t a, size_t b) { \
352 return PCLASS::CBNAME(a,b); \
357 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
358 bool CBNAME(size_t a) { \
360 bool doSave = wxPyRestoreThread(); \
361 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
362 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
364 rval = PCLASS::CBNAME(a); \
365 wxPySaveThread(doSave); \
368 bool base_##CBNAME(size_t a) { \
369 return PCLASS::CBNAME(a); \
374 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
375 wxString CBNAME(int a) { \
376 bool doSave = wxPyRestoreThread(); \
378 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
380 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
382 PyObject* str = PyObject_Str(ro); \
383 rval = PyString_AsString(str); \
384 Py_DECREF(ro); Py_DECREF(str); \
387 rval = PCLASS::CBNAME(a); \
388 wxPySaveThread(doSave); \
391 wxString base_##CBNAME(int a) { \
392 return PCLASS::CBNAME(a); \
397 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
398 void CBNAME(int a, const wxString& c) { \
399 bool doSave = wxPyRestoreThread(); \
400 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
401 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
403 PCLASS::CBNAME(a,c); \
404 wxPySaveThread(doSave); \
406 void base_##CBNAME(int a, const wxString& c) { \
407 PCLASS::CBNAME(a,c); \
413 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
416 bool doSave = wxPyRestoreThread(); \
417 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
418 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
420 rval = PCLASS::CBNAME(); \
421 wxPySaveThread(doSave); \
424 bool base_##CBNAME() { \
425 return PCLASS::CBNAME(); \
430 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
431 void CBNAME(size_t a, int b) { \
432 bool doSave = wxPyRestoreThread(); \
433 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
436 PCLASS::CBNAME(a,b); \
437 wxPySaveThread(doSave); \
439 void base_##CBNAME(size_t a, int b) { \
440 PCLASS::CBNAME(a,b); \
446 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
447 void CBNAME(int a, int b, long c) { \
448 bool doSave = wxPyRestoreThread(); \
449 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
450 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
452 PCLASS::CBNAME(a,b,c); \
453 wxPySaveThread(doSave); \
455 void base_##CBNAME(int a, int b, long c) { \
456 PCLASS::CBNAME(a,b,c); \
462 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
463 void CBNAME(int a, int b, double c) { \
464 bool doSave = wxPyRestoreThread(); \
465 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
466 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
468 PCLASS::CBNAME(a,b,c); \
469 wxPySaveThread(doSave); \
471 void base_##CBNAME(int a, int b, double c) { \
472 PCLASS::CBNAME(a,b,c); \
477 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
478 void CBNAME(int a, int b, bool c) { \
479 bool doSave = wxPyRestoreThread(); \
480 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
481 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
483 PCLASS::CBNAME(a,b,c); \
484 wxPySaveThread(doSave); \
486 void base_##CBNAME(int a, int b, bool c) { \
487 PCLASS::CBNAME(a,b,c); \
494 class wxPyGridCellRenderer
: public wxGridCellRenderer
497 wxPyGridCellRenderer() : wxGridCellRenderer() {};
499 // Implement Python callback aware virtual methods
500 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
501 wxDC
& dc
, const wxRect
& rect
,
502 int row
, int col
, bool isSelected
) {
503 bool doSave
= wxPyRestoreThread();
504 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
505 wxPyCBH_callCallback(m_myInst
,
506 Py_BuildValue("(OOOOiii)",
507 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
508 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
509 wxPyConstructObject((void*)&dc
, "wxDC", 0),
510 wxPyConstructObject((void*)&rect
, "wxRect", 0),
511 row
, col
, isSelected
));
513 wxPySaveThread(doSave
);
516 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
519 bool doSave
= wxPyRestoreThread();
520 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
523 ro
= wxPyCBH_callCallbackObj(m_myInst
,
524 Py_BuildValue("(OOOii)",
525 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
526 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
527 wxPyConstructObject((void*)&dc
, "wxDC", 0),
530 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
535 wxPySaveThread(doSave
);
540 wxGridCellRenderer
*Clone() const {
541 wxGridCellRenderer
* rval
= NULL
;
542 bool doSave
= wxPyRestoreThread();
543 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
545 wxGridCellRenderer
* ptr
;
546 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
548 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
553 wxPySaveThread(doSave
);
557 DEC_PYCALLBACK__STRING(SetParameters
);
562 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
565 class wxPyGridCellEditor
: public wxGridCellEditor
568 wxPyGridCellEditor() : wxGridCellEditor() {}
570 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
571 bool doSave
= wxPyRestoreThread();
572 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
573 wxPyCBH_callCallback(m_myInst
,
574 Py_BuildValue("(OiO)",
575 wxPyConstructObject((void*)parent
, "wxWindow", 0),
577 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
579 wxPySaveThread(doSave
);
583 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
584 bool doSave
= wxPyRestoreThread();
585 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
586 wxPyCBH_callCallback(m_myInst
,
587 Py_BuildValue("(iiO)", row
, col
,
588 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
590 wxPySaveThread(doSave
);
594 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
596 bool doSave
= wxPyRestoreThread();
597 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
598 rv
= wxPyCBH_callCallback(m_myInst
,
599 Py_BuildValue("(iiO)", row
, col
,
600 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
602 wxPySaveThread(doSave
);
607 wxGridCellEditor
*Clone() const {
608 wxGridCellEditor
* rval
= NULL
;
609 bool doSave
= wxPyRestoreThread();
610 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
612 wxGridCellEditor
* ptr
;
613 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
615 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
620 wxPySaveThread(doSave
);
625 void Show(bool show
, wxGridCellAttr
*attr
) {
626 bool doSave
= wxPyRestoreThread();
627 if (wxPyCBH_findCallback(m_myInst
, "Show"))
628 wxPyCBH_callCallback(m_myInst
,
629 Py_BuildValue("(iO)", show
,
630 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
632 wxGridCellEditor::Show(show
, attr
);
633 wxPySaveThread(doSave
);
635 void base_Show(bool show
, wxGridCellAttr
*attr
) {
636 wxGridCellEditor::Show(show
, attr
);
640 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
641 bool doSave
= wxPyRestoreThread();
642 if (wxPyCBH_findCallback(m_myInst
, "PaintBackground"))
643 wxPyCBH_callCallback(m_myInst
,
644 Py_BuildValue("(OO)",
645 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
646 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
648 wxGridCellEditor::PaintBackground(rectCell
, attr
);
649 wxPySaveThread(doSave
);
651 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
652 wxGridCellEditor::PaintBackground(rectCell
, attr
);
656 DEC_PYCALLBACK___pure(Reset
);
657 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
658 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
659 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
660 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
661 DEC_PYCALLBACK__(StartingClick
);
662 DEC_PYCALLBACK__(Destroy
);
663 DEC_PYCALLBACK__STRING(SetParameters
);
669 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
670 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
671 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
672 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
673 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
674 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
675 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
676 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
679 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
682 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
684 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
685 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
686 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
687 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
692 class wxPyGridTableBase
: public wxGridTableBase
695 wxPyGridTableBase() : wxGridTableBase() {}
697 PYCALLBACK_INT__pure(GetNumberRows
);
698 PYCALLBACK_INT__pure(GetNumberCols
);
699 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
700 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
701 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
702 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
703 PYCALLBACK__(wxGridTableBase
, Clear
);
704 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
705 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
706 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
707 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
708 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
709 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
710 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
711 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
712 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
713 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
714 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
715 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
716 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
717 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
718 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
721 wxString
GetValue(int row
, int col
) {
722 bool doSave
= wxPyRestoreThread();
724 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
726 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
728 PyObject
* str
= PyObject_Str(ro
);
729 rval
= PyString_AsString(str
);
734 wxPySaveThread(doSave
);
738 void SetValue(int row
, int col
, const wxString
& val
) {
739 bool doSave
= wxPyRestoreThread();
740 if (wxPyCBH_findCallback(m_myInst
, "SetValue"))
741 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iis)",row
,col
,val
.c_str()));
742 wxPySaveThread(doSave
);
746 // Map the Get/Set methods for the standard non-string types to
747 // the GetValue and SetValue python methods.
748 long GetValueAsLong( int row
, int col
) {
750 bool doSave
= wxPyRestoreThread();
751 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
754 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
755 if (ro
&& PyNumber_Check(ro
)) {
756 num
= PyNumber_Int(ro
);
758 rval
= PyInt_AsLong(num
);
764 wxPySaveThread(doSave
);
768 double GetValueAsDouble( int row
, int col
) {
770 bool doSave
= wxPyRestoreThread();
771 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
774 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
775 if (ro
&& PyNumber_Check(ro
)) {
776 num
= PyNumber_Float(ro
);
778 rval
= PyFloat_AsDouble(num
);
784 wxPySaveThread(doSave
);
788 bool GetValueAsBool( int row
, int col
) {
789 return (bool)GetValueAsLong(row
, col
);
792 void SetValueAsLong( int row
, int col
, long value
) {
793 bool doSave
= wxPyRestoreThread();
794 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
795 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
797 wxPySaveThread(doSave
);
800 void SetValueAsDouble( int row
, int col
, double value
) {
801 bool doSave
= wxPyRestoreThread();
802 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
803 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
805 wxPySaveThread(doSave
);
808 void SetValueAsBool( int row
, int col
, bool value
) {
809 SetValueAsLong( row
, col
, (long)value
);
816 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
818 // If source is an object instance then it may already be the right type
819 if (PyInstance_Check(source
)) {
820 wxGridCellCoords
* ptr
;
821 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
826 // otherwise a 2-tuple of integers is expected
827 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
828 PyObject
* o1
= PySequence_GetItem(source
, 0);
829 PyObject
* o2
= PySequence_GetItem(source
, 1);
830 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
835 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
839 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
843 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
845 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
849 static PyObject
*_wrap_wxGridNoCellCoords_get() {
853 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
854 pyobj
= PyString_FromString(ptemp
);
858 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
860 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
864 static PyObject
*_wrap_wxGridNoCellRect_get() {
868 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
869 pyobj
= PyString_FromString(ptemp
);
873 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
874 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
876 wxGridCellRenderer
* _arg0
;
878 PyObject
* _argo0
= 0;
879 PyObject
* _obj1
= 0;
880 char *_kwnames
[] = { "self","params", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
893 #if PYTHON_API_VERSION >= 1009
894 char* tmpPtr
; int tmpSize
;
895 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
899 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
901 _arg1
= new wxString(tmpPtr
, tmpSize
);
903 if (!PyString_Check(_obj1
)) {
904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
907 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
911 wxPy_BEGIN_ALLOW_THREADS
;
912 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
914 wxPy_END_ALLOW_THREADS
;
915 } Py_INCREF(Py_None
);
916 _resultobj
= Py_None
;
924 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
925 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
927 wxGridCellRenderer
* _arg0
;
928 PyObject
* _argo0
= 0;
929 char *_kwnames
[] = { "self", NULL
};
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
942 wxPy_BEGIN_ALLOW_THREADS
;
943 wxGridCellRenderer_IncRef(_arg0
);
945 wxPy_END_ALLOW_THREADS
;
946 } Py_INCREF(Py_None
);
947 _resultobj
= Py_None
;
951 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
952 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
954 wxGridCellRenderer
* _arg0
;
955 PyObject
* _argo0
= 0;
956 char *_kwnames
[] = { "self", NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
969 wxPy_BEGIN_ALLOW_THREADS
;
970 wxGridCellRenderer_DecRef(_arg0
);
972 wxPy_END_ALLOW_THREADS
;
973 } Py_INCREF(Py_None
);
974 _resultobj
= Py_None
;
978 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
979 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
981 wxGridCellRenderer
* _arg0
;
983 wxGridCellAttr
* _arg2
;
989 PyObject
* _argo0
= 0;
990 PyObject
* _argo1
= 0;
991 PyObject
* _argo2
= 0;
992 PyObject
* _argo3
= 0;
994 PyObject
* _obj4
= 0;
996 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1009 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1016 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1017 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1023 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1031 if (! wxRect_helper(_obj4
, &_arg4
))
1034 _arg7
= (bool ) tempbool7
;
1036 wxPy_BEGIN_ALLOW_THREADS
;
1037 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1039 wxPy_END_ALLOW_THREADS
;
1040 } Py_INCREF(Py_None
);
1041 _resultobj
= Py_None
;
1045 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1046 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1049 wxGridCellRenderer
* _arg0
;
1051 wxGridCellAttr
* _arg2
;
1055 PyObject
* _argo0
= 0;
1056 PyObject
* _argo1
= 0;
1057 PyObject
* _argo2
= 0;
1058 PyObject
* _argo3
= 0;
1059 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1080 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1087 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1097 wxPy_END_ALLOW_THREADS
;
1098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1099 _resultobj
= Py_BuildValue("s",_ptemp
);
1103 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1104 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1105 PyObject
* _resultobj
;
1106 wxGridCellRenderer
* _result
;
1107 wxGridCellRenderer
* _arg0
;
1108 PyObject
* _argo0
= 0;
1109 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1123 wxPy_BEGIN_ALLOW_THREADS
;
1124 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1126 wxPy_END_ALLOW_THREADS
;
1128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1129 _resultobj
= Py_BuildValue("s",_ptemp
);
1132 _resultobj
= Py_None
;
1137 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1138 wxPyGridCellRenderer
*src
;
1139 wxGridCellRenderer
*dest
;
1140 src
= (wxPyGridCellRenderer
*) ptr
;
1141 dest
= (wxGridCellRenderer
*) src
;
1142 return (void *) dest
;
1145 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1146 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1148 wxPyGridCellRenderer
* _result
;
1149 char *_kwnames
[] = { NULL
};
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1156 wxPy_BEGIN_ALLOW_THREADS
;
1157 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1159 wxPy_END_ALLOW_THREADS
;
1161 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1162 _resultobj
= Py_BuildValue("s",_ptemp
);
1165 _resultobj
= Py_None
;
1170 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1171 static PyObject
*_wrap_wxPyGridCellRenderer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
* _resultobj
;
1173 wxPyGridCellRenderer
* _arg0
;
1176 PyObject
* _argo0
= 0;
1177 PyObject
* _obj1
= 0;
1178 PyObject
* _obj2
= 0;
1179 char *_kwnames
[] = { "self","self","_class", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1198 wxPy_BEGIN_ALLOW_THREADS
;
1199 wxPyGridCellRenderer__setSelf(_arg0
,_arg1
,_arg2
);
1201 wxPy_END_ALLOW_THREADS
;
1202 } Py_INCREF(Py_None
);
1203 _resultobj
= Py_None
;
1207 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1208 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1210 wxPyGridCellRenderer
* _arg0
;
1212 PyObject
* _argo0
= 0;
1213 PyObject
* _obj1
= 0;
1214 char *_kwnames
[] = { "self","params", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1227 #if PYTHON_API_VERSION >= 1009
1228 char* tmpPtr
; int tmpSize
;
1229 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1230 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1233 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1235 _arg1
= new wxString(tmpPtr
, tmpSize
);
1237 if (!PyString_Check(_obj1
)) {
1238 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1241 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1245 wxPy_BEGIN_ALLOW_THREADS
;
1246 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1248 wxPy_END_ALLOW_THREADS
;
1249 } Py_INCREF(Py_None
);
1250 _resultobj
= Py_None
;
1258 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1259 wxGridCellStringRenderer
*src
;
1260 wxGridCellRenderer
*dest
;
1261 src
= (wxGridCellStringRenderer
*) ptr
;
1262 dest
= (wxGridCellRenderer
*) src
;
1263 return (void *) dest
;
1266 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1267 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1269 wxGridCellStringRenderer
* _result
;
1270 char *_kwnames
[] = { NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1280 wxPy_END_ALLOW_THREADS
;
1282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1283 _resultobj
= Py_BuildValue("s",_ptemp
);
1286 _resultobj
= Py_None
;
1291 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1292 wxGridCellNumberRenderer
*src
;
1293 wxGridCellStringRenderer
*dest
;
1294 src
= (wxGridCellNumberRenderer
*) ptr
;
1295 dest
= (wxGridCellStringRenderer
*) src
;
1296 return (void *) dest
;
1299 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1300 wxGridCellNumberRenderer
*src
;
1301 wxGridCellRenderer
*dest
;
1302 src
= (wxGridCellNumberRenderer
*) ptr
;
1303 dest
= (wxGridCellRenderer
*) src
;
1304 return (void *) dest
;
1307 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1308 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1310 wxGridCellNumberRenderer
* _result
;
1311 char *_kwnames
[] = { NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1321 wxPy_END_ALLOW_THREADS
;
1323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1324 _resultobj
= Py_BuildValue("s",_ptemp
);
1327 _resultobj
= Py_None
;
1332 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1333 wxGridCellFloatRenderer
*src
;
1334 wxGridCellStringRenderer
*dest
;
1335 src
= (wxGridCellFloatRenderer
*) ptr
;
1336 dest
= (wxGridCellStringRenderer
*) src
;
1337 return (void *) dest
;
1340 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1341 wxGridCellFloatRenderer
*src
;
1342 wxGridCellRenderer
*dest
;
1343 src
= (wxGridCellFloatRenderer
*) ptr
;
1344 dest
= (wxGridCellRenderer
*) src
;
1345 return (void *) dest
;
1348 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1349 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 wxGridCellFloatRenderer
* _result
;
1352 int _arg0
= (int ) -1;
1353 int _arg1
= (int ) -1;
1354 char *_kwnames
[] = { "width","precision", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1364 wxPy_END_ALLOW_THREADS
;
1366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1367 _resultobj
= Py_BuildValue("s",_ptemp
);
1370 _resultobj
= Py_None
;
1375 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1376 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1379 wxGridCellFloatRenderer
* _arg0
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1397 wxPy_END_ALLOW_THREADS
;
1398 } _resultobj
= Py_BuildValue("i",_result
);
1402 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1403 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1405 wxGridCellFloatRenderer
* _arg0
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "self","width", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1424 wxPy_END_ALLOW_THREADS
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1430 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1431 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1434 wxGridCellFloatRenderer
* _arg0
;
1435 PyObject
* _argo0
= 0;
1436 char *_kwnames
[] = { "self", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1449 wxPy_BEGIN_ALLOW_THREADS
;
1450 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1452 wxPy_END_ALLOW_THREADS
;
1453 } _resultobj
= Py_BuildValue("i",_result
);
1457 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1458 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1460 wxGridCellFloatRenderer
* _arg0
;
1462 PyObject
* _argo0
= 0;
1463 char *_kwnames
[] = { "self","precision", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1476 wxPy_BEGIN_ALLOW_THREADS
;
1477 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1479 wxPy_END_ALLOW_THREADS
;
1480 } Py_INCREF(Py_None
);
1481 _resultobj
= Py_None
;
1485 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1486 wxGridCellBoolRenderer
*src
;
1487 wxGridCellRenderer
*dest
;
1488 src
= (wxGridCellBoolRenderer
*) ptr
;
1489 dest
= (wxGridCellRenderer
*) src
;
1490 return (void *) dest
;
1493 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1494 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1496 wxGridCellBoolRenderer
* _result
;
1497 char *_kwnames
[] = { NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1507 wxPy_END_ALLOW_THREADS
;
1509 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1510 _resultobj
= Py_BuildValue("s",_ptemp
);
1513 _resultobj
= Py_None
;
1518 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1519 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1522 wxGridCellEditor
* _arg0
;
1523 PyObject
* _argo0
= 0;
1524 char *_kwnames
[] = { "self", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1540 wxPy_END_ALLOW_THREADS
;
1541 } _resultobj
= Py_BuildValue("i",_result
);
1545 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1546 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxControl
* _result
;
1549 wxGridCellEditor
* _arg0
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1567 wxPy_END_ALLOW_THREADS
;
1568 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1572 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1573 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1575 wxGridCellEditor
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 PyObject
* _argo1
= 0;
1579 char *_kwnames
[] = { "self","control", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1602 wxPy_END_ALLOW_THREADS
;
1603 } Py_INCREF(Py_None
);
1604 _resultobj
= Py_None
;
1608 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1609 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1611 wxGridCellEditor
* _arg0
;
1613 PyObject
* _argo0
= 0;
1614 PyObject
* _obj1
= 0;
1615 char *_kwnames
[] = { "self","params", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1628 #if PYTHON_API_VERSION >= 1009
1629 char* tmpPtr
; int tmpSize
;
1630 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1634 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1636 _arg1
= new wxString(tmpPtr
, tmpSize
);
1638 if (!PyString_Check(_obj1
)) {
1639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1642 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1649 wxPy_END_ALLOW_THREADS
;
1650 } Py_INCREF(Py_None
);
1651 _resultobj
= Py_None
;
1659 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1660 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1662 wxGridCellEditor
* _arg0
;
1663 PyObject
* _argo0
= 0;
1664 char *_kwnames
[] = { "self", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 wxGridCellEditor_IncRef(_arg0
);
1680 wxPy_END_ALLOW_THREADS
;
1681 } Py_INCREF(Py_None
);
1682 _resultobj
= Py_None
;
1686 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1687 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1689 wxGridCellEditor
* _arg0
;
1690 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 wxGridCellEditor_DecRef(_arg0
);
1707 wxPy_END_ALLOW_THREADS
;
1708 } Py_INCREF(Py_None
);
1709 _resultobj
= Py_None
;
1713 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1714 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1716 wxGridCellEditor
* _arg0
;
1719 wxEvtHandler
* _arg3
;
1720 PyObject
* _argo0
= 0;
1721 PyObject
* _argo1
= 0;
1722 PyObject
* _argo3
= 0;
1723 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1743 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1750 wxPy_BEGIN_ALLOW_THREADS
;
1751 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1753 wxPy_END_ALLOW_THREADS
;
1754 } Py_INCREF(Py_None
);
1755 _resultobj
= Py_None
;
1759 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1760 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1762 wxGridCellEditor
* _arg0
;
1766 PyObject
* _argo0
= 0;
1767 PyObject
* _argo3
= 0;
1768 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1781 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1791 wxPy_END_ALLOW_THREADS
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1798 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1801 wxGridCellEditor
* _arg0
;
1805 PyObject
* _argo0
= 0;
1806 PyObject
* _argo3
= 0;
1807 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1820 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1827 wxPy_BEGIN_ALLOW_THREADS
;
1828 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1830 wxPy_END_ALLOW_THREADS
;
1831 } _resultobj
= Py_BuildValue("i",_result
);
1835 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1836 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1838 wxGridCellEditor
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 wxGridCellEditor_Reset(_arg0
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } Py_INCREF(Py_None
);
1858 _resultobj
= Py_None
;
1862 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1863 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1865 wxGridCellEditor
* _result
;
1866 wxGridCellEditor
* _arg0
;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1882 wxPy_BEGIN_ALLOW_THREADS
;
1883 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
1885 wxPy_END_ALLOW_THREADS
;
1887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
1888 _resultobj
= Py_BuildValue("s",_ptemp
);
1891 _resultobj
= Py_None
;
1896 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1897 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1899 wxGridCellEditor
* _arg0
;
1901 PyObject
* _argo0
= 0;
1903 PyObject
* _obj1
= 0;
1904 char *_kwnames
[] = { "self","rect", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1918 if (! wxRect_helper(_obj1
, &_arg1
))
1922 wxPy_BEGIN_ALLOW_THREADS
;
1923 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
1925 wxPy_END_ALLOW_THREADS
;
1926 } Py_INCREF(Py_None
);
1927 _resultobj
= Py_None
;
1931 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1932 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1934 wxGridCellEditor
* _arg0
;
1936 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
1937 PyObject
* _argo0
= 0;
1939 PyObject
* _argo2
= 0;
1940 char *_kwnames
[] = { "self","show","attr", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1952 _arg1
= (bool ) tempbool1
;
1954 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } Py_INCREF(Py_None
);
1966 _resultobj
= Py_None
;
1970 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1971 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1973 wxGridCellEditor
* _arg0
;
1975 wxGridCellAttr
* _arg2
;
1976 PyObject
* _argo0
= 0;
1978 PyObject
* _obj1
= 0;
1979 PyObject
* _argo2
= 0;
1980 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1994 if (! wxRect_helper(_obj1
, &_arg1
))
1998 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2005 wxPy_BEGIN_ALLOW_THREADS
;
2006 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2008 wxPy_END_ALLOW_THREADS
;
2009 } Py_INCREF(Py_None
);
2010 _resultobj
= Py_None
;
2014 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2015 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2018 wxGridCellEditor
* _arg0
;
2020 PyObject
* _argo0
= 0;
2021 PyObject
* _argo1
= 0;
2022 char *_kwnames
[] = { "self","event", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2051 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2053 wxGridCellEditor
* _arg0
;
2055 PyObject
* _argo0
= 0;
2056 PyObject
* _argo1
= 0;
2057 char *_kwnames
[] = { "self","event", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2077 wxPy_BEGIN_ALLOW_THREADS
;
2078 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2080 wxPy_END_ALLOW_THREADS
;
2081 } Py_INCREF(Py_None
);
2082 _resultobj
= Py_None
;
2086 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2087 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2089 wxGridCellEditor
* _arg0
;
2090 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2104 wxPy_BEGIN_ALLOW_THREADS
;
2105 wxGridCellEditor_StartingClick(_arg0
);
2107 wxPy_END_ALLOW_THREADS
;
2108 } Py_INCREF(Py_None
);
2109 _resultobj
= Py_None
;
2113 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2114 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2116 wxGridCellEditor
* _arg0
;
2118 PyObject
* _argo0
= 0;
2119 PyObject
* _argo1
= 0;
2120 char *_kwnames
[] = { "self","event", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2133 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2140 wxPy_BEGIN_ALLOW_THREADS
;
2141 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2143 wxPy_END_ALLOW_THREADS
;
2144 } Py_INCREF(Py_None
);
2145 _resultobj
= Py_None
;
2149 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2150 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2152 wxGridCellEditor
* _arg0
;
2153 PyObject
* _argo0
= 0;
2154 char *_kwnames
[] = { "self", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 wxGridCellEditor_Destroy(_arg0
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2177 wxPyGridCellEditor
*src
;
2178 wxGridCellEditor
*dest
;
2179 src
= (wxPyGridCellEditor
*) ptr
;
2180 dest
= (wxGridCellEditor
*) src
;
2181 return (void *) dest
;
2184 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2185 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2187 wxPyGridCellEditor
* _result
;
2188 char *_kwnames
[] = { NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2195 wxPy_BEGIN_ALLOW_THREADS
;
2196 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2198 wxPy_END_ALLOW_THREADS
;
2200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2201 _resultobj
= Py_BuildValue("s",_ptemp
);
2204 _resultobj
= Py_None
;
2209 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2210 static PyObject
*_wrap_wxPyGridCellEditor__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2212 wxPyGridCellEditor
* _arg0
;
2215 PyObject
* _argo0
= 0;
2216 PyObject
* _obj1
= 0;
2217 PyObject
* _obj2
= 0;
2218 char *_kwnames
[] = { "self","self","_class", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2237 wxPy_BEGIN_ALLOW_THREADS
;
2238 wxPyGridCellEditor__setSelf(_arg0
,_arg1
,_arg2
);
2240 wxPy_END_ALLOW_THREADS
;
2241 } Py_INCREF(Py_None
);
2242 _resultobj
= Py_None
;
2246 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2247 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxPyGridCellEditor
* _arg0
;
2251 PyObject
* _argo0
= 0;
2253 PyObject
* _obj1
= 0;
2254 char *_kwnames
[] = { "self","rect", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2268 if (! wxRect_helper(_obj1
, &_arg1
))
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2275 wxPy_END_ALLOW_THREADS
;
2276 } Py_INCREF(Py_None
);
2277 _resultobj
= Py_None
;
2281 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2282 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2284 wxPyGridCellEditor
* _arg0
;
2286 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2287 PyObject
* _argo0
= 0;
2289 PyObject
* _argo2
= 0;
2290 char *_kwnames
[] = { "self","show","attr", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2302 _arg1
= (bool ) tempbool1
;
2304 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2305 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2314 wxPy_END_ALLOW_THREADS
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2321 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2323 wxPyGridCellEditor
* _arg0
;
2325 wxGridCellAttr
* _arg2
;
2326 PyObject
* _argo0
= 0;
2328 PyObject
* _obj1
= 0;
2329 PyObject
* _argo2
= 0;
2330 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2344 if (! wxRect_helper(_obj1
, &_arg1
))
2348 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2358 wxPy_END_ALLOW_THREADS
;
2359 } Py_INCREF(Py_None
);
2360 _resultobj
= Py_None
;
2364 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2365 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2367 wxPyGridCellEditor
* _arg0
;
2369 PyObject
* _argo0
= 0;
2370 PyObject
* _argo1
= 0;
2371 char *_kwnames
[] = { "self","event", NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2391 wxPy_BEGIN_ALLOW_THREADS
;
2392 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2394 wxPy_END_ALLOW_THREADS
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2401 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2403 wxPyGridCellEditor
* _arg0
;
2405 PyObject
* _argo0
= 0;
2406 PyObject
* _argo1
= 0;
2407 char *_kwnames
[] = { "self","event", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2427 wxPy_BEGIN_ALLOW_THREADS
;
2428 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2430 wxPy_END_ALLOW_THREADS
;
2431 } Py_INCREF(Py_None
);
2432 _resultobj
= Py_None
;
2436 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2437 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2439 wxPyGridCellEditor
* _arg0
;
2440 PyObject
* _argo0
= 0;
2441 char *_kwnames
[] = { "self", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 wxPyGridCellEditor_base_StartingClick(_arg0
);
2457 wxPy_END_ALLOW_THREADS
;
2458 } Py_INCREF(Py_None
);
2459 _resultobj
= Py_None
;
2463 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2464 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2466 wxPyGridCellEditor
* _arg0
;
2468 PyObject
* _argo0
= 0;
2469 PyObject
* _argo1
= 0;
2470 char *_kwnames
[] = { "self","event", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2493 wxPy_END_ALLOW_THREADS
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2499 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2500 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2502 wxPyGridCellEditor
* _arg0
;
2503 PyObject
* _argo0
= 0;
2504 char *_kwnames
[] = { "self", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2517 wxPy_BEGIN_ALLOW_THREADS
;
2518 wxPyGridCellEditor_base_Destroy(_arg0
);
2520 wxPy_END_ALLOW_THREADS
;
2521 } Py_INCREF(Py_None
);
2522 _resultobj
= Py_None
;
2526 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2527 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2529 wxPyGridCellEditor
* _arg0
;
2531 PyObject
* _argo0
= 0;
2532 PyObject
* _obj1
= 0;
2533 char *_kwnames
[] = { "self","params", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2546 #if PYTHON_API_VERSION >= 1009
2547 char* tmpPtr
; int tmpSize
;
2548 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2549 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2552 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2554 _arg1
= new wxString(tmpPtr
, tmpSize
);
2556 if (!PyString_Check(_obj1
)) {
2557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2560 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2567 wxPy_END_ALLOW_THREADS
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2577 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2578 wxGridCellTextEditor
*src
;
2579 wxGridCellEditor
*dest
;
2580 src
= (wxGridCellTextEditor
*) ptr
;
2581 dest
= (wxGridCellEditor
*) src
;
2582 return (void *) dest
;
2585 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2586 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2588 wxGridCellTextEditor
* _result
;
2589 char *_kwnames
[] = { NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2596 wxPy_BEGIN_ALLOW_THREADS
;
2597 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2599 wxPy_END_ALLOW_THREADS
;
2601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2602 _resultobj
= Py_BuildValue("s",_ptemp
);
2605 _resultobj
= Py_None
;
2610 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2611 wxGridCellNumberEditor
*src
;
2612 wxGridCellTextEditor
*dest
;
2613 src
= (wxGridCellNumberEditor
*) ptr
;
2614 dest
= (wxGridCellTextEditor
*) src
;
2615 return (void *) dest
;
2618 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2619 wxGridCellNumberEditor
*src
;
2620 wxGridCellEditor
*dest
;
2621 src
= (wxGridCellNumberEditor
*) ptr
;
2622 dest
= (wxGridCellEditor
*) src
;
2623 return (void *) dest
;
2626 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2627 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
* _resultobj
;
2629 wxGridCellNumberEditor
* _result
;
2630 int _arg0
= (int ) -1;
2631 int _arg1
= (int ) -1;
2632 char *_kwnames
[] = { "min","max", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2642 wxPy_END_ALLOW_THREADS
;
2644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2645 _resultobj
= Py_BuildValue("s",_ptemp
);
2648 _resultobj
= Py_None
;
2653 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2654 wxGridCellFloatEditor
*src
;
2655 wxGridCellTextEditor
*dest
;
2656 src
= (wxGridCellFloatEditor
*) ptr
;
2657 dest
= (wxGridCellTextEditor
*) src
;
2658 return (void *) dest
;
2661 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2662 wxGridCellFloatEditor
*src
;
2663 wxGridCellEditor
*dest
;
2664 src
= (wxGridCellFloatEditor
*) ptr
;
2665 dest
= (wxGridCellEditor
*) src
;
2666 return (void *) dest
;
2669 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2670 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2672 wxGridCellFloatEditor
* _result
;
2673 char *_kwnames
[] = { NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2680 wxPy_BEGIN_ALLOW_THREADS
;
2681 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2683 wxPy_END_ALLOW_THREADS
;
2685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2686 _resultobj
= Py_BuildValue("s",_ptemp
);
2689 _resultobj
= Py_None
;
2694 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2695 wxGridCellBoolEditor
*src
;
2696 wxGridCellEditor
*dest
;
2697 src
= (wxGridCellBoolEditor
*) ptr
;
2698 dest
= (wxGridCellEditor
*) src
;
2699 return (void *) dest
;
2702 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2703 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2705 wxGridCellBoolEditor
* _result
;
2706 char *_kwnames
[] = { NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2713 wxPy_BEGIN_ALLOW_THREADS
;
2714 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2716 wxPy_END_ALLOW_THREADS
;
2718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2719 _resultobj
= Py_BuildValue("s",_ptemp
);
2722 _resultobj
= Py_None
;
2727 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2728 wxGridCellChoiceEditor
*src
;
2729 wxGridCellEditor
*dest
;
2730 src
= (wxGridCellChoiceEditor
*) ptr
;
2731 dest
= (wxGridCellEditor
*) src
;
2732 return (void *) dest
;
2735 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2736 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2738 wxGridCellChoiceEditor
* _result
;
2739 int _arg0
= (int ) 0;
2740 wxString
* _arg1
= (wxString
*) NULL
;
2741 bool _arg2
= (bool ) FALSE
;
2742 PyObject
* _obj1
= 0;
2743 int tempbool2
= (int) FALSE
;
2744 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2752 _arg1
= wxString_LIST_helper(_obj1
);
2753 if (_arg1
== NULL
) {
2757 _arg2
= (bool ) tempbool2
;
2760 _arg0
= PyList_Size(_obj1
);
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2770 wxPy_END_ALLOW_THREADS
;
2772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2773 _resultobj
= Py_BuildValue("s",_ptemp
);
2776 _resultobj
= Py_None
;
2784 #define new_wxGridCellAttr() (new wxGridCellAttr())
2785 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2787 wxGridCellAttr
* _result
;
2788 char *_kwnames
[] = { NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttr",_kwnames
))
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 _result
= (wxGridCellAttr
*)new_wxGridCellAttr();
2798 wxPy_END_ALLOW_THREADS
;
2800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2801 _resultobj
= Py_BuildValue("s",_ptemp
);
2804 _resultobj
= Py_None
;
2809 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2810 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2812 wxGridCellAttr
* _result
;
2813 wxGridCellAttr
* _arg0
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2829 wxPy_BEGIN_ALLOW_THREADS
;
2830 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
2832 wxPy_END_ALLOW_THREADS
;
2834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2835 _resultobj
= Py_BuildValue("s",_ptemp
);
2838 _resultobj
= Py_None
;
2843 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
2844 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2846 wxGridCellAttr
* _arg0
;
2847 wxGridCellAttr
* _arg1
;
2848 PyObject
* _argo0
= 0;
2849 PyObject
* _argo1
= 0;
2850 char *_kwnames
[] = { "self","mergefrom", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2870 wxPy_BEGIN_ALLOW_THREADS
;
2871 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
2873 wxPy_END_ALLOW_THREADS
;
2874 } Py_INCREF(Py_None
);
2875 _resultobj
= Py_None
;
2879 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2880 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2882 wxGridCellAttr
* _arg0
;
2883 PyObject
* _argo0
= 0;
2884 char *_kwnames
[] = { "self", NULL
};
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
2890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2897 wxPy_BEGIN_ALLOW_THREADS
;
2898 wxGridCellAttr_IncRef(_arg0
);
2900 wxPy_END_ALLOW_THREADS
;
2901 } Py_INCREF(Py_None
);
2902 _resultobj
= Py_None
;
2906 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2907 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2909 wxGridCellAttr
* _arg0
;
2910 PyObject
* _argo0
= 0;
2911 char *_kwnames
[] = { "self", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
2917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2924 wxPy_BEGIN_ALLOW_THREADS
;
2925 wxGridCellAttr_DecRef(_arg0
);
2927 wxPy_END_ALLOW_THREADS
;
2928 } Py_INCREF(Py_None
);
2929 _resultobj
= Py_None
;
2933 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2934 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2936 wxGridCellAttr
* _arg0
;
2938 PyObject
* _argo0
= 0;
2940 PyObject
* _obj1
= 0;
2941 char *_kwnames
[] = { "self","colText", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
2947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2955 if (! wxColour_helper(_obj1
, &_arg1
))
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2969 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2971 wxGridCellAttr
* _arg0
;
2973 PyObject
* _argo0
= 0;
2975 PyObject
* _obj1
= 0;
2976 char *_kwnames
[] = { "self","colBack", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2990 if (! wxColour_helper(_obj1
, &_arg1
))
2994 wxPy_BEGIN_ALLOW_THREADS
;
2995 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
2997 wxPy_END_ALLOW_THREADS
;
2998 } Py_INCREF(Py_None
);
2999 _resultobj
= Py_None
;
3003 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3004 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
* _resultobj
;
3006 wxGridCellAttr
* _arg0
;
3008 PyObject
* _argo0
= 0;
3009 PyObject
* _argo1
= 0;
3010 char *_kwnames
[] = { "self","font", NULL
};
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3033 wxPy_END_ALLOW_THREADS
;
3034 } Py_INCREF(Py_None
);
3035 _resultobj
= Py_None
;
3039 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3040 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3042 wxGridCellAttr
* _arg0
;
3045 PyObject
* _argo0
= 0;
3046 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3062 wxPy_END_ALLOW_THREADS
;
3063 } Py_INCREF(Py_None
);
3064 _resultobj
= Py_None
;
3068 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3069 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3071 wxGridCellAttr
* _arg0
;
3072 bool _arg1
= (bool ) TRUE
;
3073 PyObject
* _argo0
= 0;
3074 int tempbool1
= (int) TRUE
;
3075 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3087 _arg1
= (bool ) tempbool1
;
3089 wxPy_BEGIN_ALLOW_THREADS
;
3090 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3092 wxPy_END_ALLOW_THREADS
;
3093 } Py_INCREF(Py_None
);
3094 _resultobj
= Py_None
;
3098 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3099 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3101 wxGridCellAttr
* _arg0
;
3102 wxGridCellRenderer
* _arg1
;
3103 PyObject
* _argo0
= 0;
3104 PyObject
* _argo1
= 0;
3105 char *_kwnames
[] = { "self","renderer", NULL
};
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3125 wxPy_BEGIN_ALLOW_THREADS
;
3126 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3128 wxPy_END_ALLOW_THREADS
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3135 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxGridCellAttr
* _arg0
;
3138 wxGridCellEditor
* _arg1
;
3139 PyObject
* _argo0
= 0;
3140 PyObject
* _argo1
= 0;
3141 char *_kwnames
[] = { "self","editor", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3161 wxPy_BEGIN_ALLOW_THREADS
;
3162 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3164 wxPy_END_ALLOW_THREADS
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3171 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3173 wxGridCellAttr
* _arg0
;
3174 wxGridCellAttr::wxAttrKind _arg1
;
3175 PyObject
* _argo0
= 0;
3176 char *_kwnames
[] = { "self","kind", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3192 wxPy_END_ALLOW_THREADS
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3198 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3199 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3202 wxGridCellAttr
* _arg0
;
3203 PyObject
* _argo0
= 0;
3204 char *_kwnames
[] = { "self", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3217 wxPy_BEGIN_ALLOW_THREADS
;
3218 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3220 wxPy_END_ALLOW_THREADS
;
3221 } _resultobj
= Py_BuildValue("i",_result
);
3225 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3226 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
* _resultobj
;
3229 wxGridCellAttr
* _arg0
;
3230 PyObject
* _argo0
= 0;
3231 char *_kwnames
[] = { "self", NULL
};
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3244 wxPy_BEGIN_ALLOW_THREADS
;
3245 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3247 wxPy_END_ALLOW_THREADS
;
3248 } _resultobj
= Py_BuildValue("i",_result
);
3252 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3253 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3256 wxGridCellAttr
* _arg0
;
3257 PyObject
* _argo0
= 0;
3258 char *_kwnames
[] = { "self", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3271 wxPy_BEGIN_ALLOW_THREADS
;
3272 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3274 wxPy_END_ALLOW_THREADS
;
3275 } _resultobj
= Py_BuildValue("i",_result
);
3279 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3280 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3283 wxGridCellAttr
* _arg0
;
3284 PyObject
* _argo0
= 0;
3285 char *_kwnames
[] = { "self", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3298 wxPy_BEGIN_ALLOW_THREADS
;
3299 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3301 wxPy_END_ALLOW_THREADS
;
3302 } _resultobj
= Py_BuildValue("i",_result
);
3306 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3307 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 wxGridCellAttr
* _arg0
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3325 wxPy_BEGIN_ALLOW_THREADS
;
3326 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3328 wxPy_END_ALLOW_THREADS
;
3329 } _resultobj
= Py_BuildValue("i",_result
);
3333 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3334 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3337 wxGridCellAttr
* _arg0
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self", NULL
};
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3352 wxPy_BEGIN_ALLOW_THREADS
;
3353 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3355 wxPy_END_ALLOW_THREADS
;
3356 } _resultobj
= Py_BuildValue("i",_result
);
3360 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3361 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3364 wxGridCellAttr
* _arg0
;
3365 PyObject
* _argo0
= 0;
3366 char *_kwnames
[] = { "self", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3379 wxPy_BEGIN_ALLOW_THREADS
;
3380 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3382 wxPy_END_ALLOW_THREADS
;
3383 } _resultobj
= Py_BuildValue("i",_result
);
3387 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3388 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3391 wxGridCellAttr
* _arg0
;
3392 PyObject
* _argo0
= 0;
3393 char *_kwnames
[] = { "self", NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3407 wxPy_BEGIN_ALLOW_THREADS
;
3408 const wxColour
& _result_ref
= wxGridCellAttr_GetTextColour(_arg0
);
3409 _result
= (wxColour
*) &_result_ref
;
3411 wxPy_END_ALLOW_THREADS
;
3413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3414 _resultobj
= Py_BuildValue("s",_ptemp
);
3417 _resultobj
= Py_None
;
3422 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3423 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3426 wxGridCellAttr
* _arg0
;
3427 PyObject
* _argo0
= 0;
3428 char *_kwnames
[] = { "self", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3442 wxPy_BEGIN_ALLOW_THREADS
;
3443 const wxColour
& _result_ref
= wxGridCellAttr_GetBackgroundColour(_arg0
);
3444 _result
= (wxColour
*) &_result_ref
;
3446 wxPy_END_ALLOW_THREADS
;
3448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3449 _resultobj
= Py_BuildValue("s",_ptemp
);
3452 _resultobj
= Py_None
;
3457 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3458 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3461 wxGridCellAttr
* _arg0
;
3462 PyObject
* _argo0
= 0;
3463 char *_kwnames
[] = { "self", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3477 wxPy_BEGIN_ALLOW_THREADS
;
3478 const wxFont
& _result_ref
= wxGridCellAttr_GetFont(_arg0
);
3479 _result
= (wxFont
*) &_result_ref
;
3481 wxPy_END_ALLOW_THREADS
;
3483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3484 _resultobj
= Py_BuildValue("s",_ptemp
);
3487 _resultobj
= Py_None
;
3492 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3493 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
* _resultobj
;
3495 wxGridCellAttr
* _arg0
;
3500 PyObject
* _argo0
= 0;
3501 char *_kwnames
[] = { "self", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3520 wxPy_BEGIN_ALLOW_THREADS
;
3521 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3523 wxPy_END_ALLOW_THREADS
;
3524 } Py_INCREF(Py_None
);
3525 _resultobj
= Py_None
;
3528 o
= PyInt_FromLong((long) (*_arg1
));
3529 _resultobj
= t_output_helper(_resultobj
, o
);
3533 o
= PyInt_FromLong((long) (*_arg2
));
3534 _resultobj
= t_output_helper(_resultobj
, o
);
3539 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3540 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3542 wxGridCellRenderer
* _result
;
3543 wxGridCellAttr
* _arg0
;
3547 PyObject
* _argo0
= 0;
3548 PyObject
* _argo1
= 0;
3549 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3570 wxPy_BEGIN_ALLOW_THREADS
;
3571 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3573 wxPy_END_ALLOW_THREADS
;
3575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3576 _resultobj
= Py_BuildValue("s",_ptemp
);
3579 _resultobj
= Py_None
;
3584 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3585 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3587 wxGridCellEditor
* _result
;
3588 wxGridCellAttr
* _arg0
;
3592 PyObject
* _argo0
= 0;
3593 PyObject
* _argo1
= 0;
3594 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3618 wxPy_END_ALLOW_THREADS
;
3620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3621 _resultobj
= Py_BuildValue("s",_ptemp
);
3624 _resultobj
= Py_None
;
3629 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3630 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3633 wxGridCellAttr
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3648 wxPy_BEGIN_ALLOW_THREADS
;
3649 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3651 wxPy_END_ALLOW_THREADS
;
3652 } _resultobj
= Py_BuildValue("i",_result
);
3656 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3657 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3659 wxGridCellAttr
* _arg0
;
3660 wxGridCellAttr
* _arg1
;
3661 PyObject
* _argo0
= 0;
3662 PyObject
* _argo1
= 0;
3663 char *_kwnames
[] = { "self","defAttr", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3683 wxPy_BEGIN_ALLOW_THREADS
;
3684 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3686 wxPy_END_ALLOW_THREADS
;
3687 } Py_INCREF(Py_None
);
3688 _resultobj
= Py_None
;
3692 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3693 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3695 wxGridCellAttrProvider
* _result
;
3696 char *_kwnames
[] = { NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3703 wxPy_BEGIN_ALLOW_THREADS
;
3704 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3706 wxPy_END_ALLOW_THREADS
;
3708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3709 _resultobj
= Py_BuildValue("s",_ptemp
);
3712 _resultobj
= Py_None
;
3717 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
3718 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3720 wxGridCellAttr
* _result
;
3721 wxGridCellAttrProvider
* _arg0
;
3724 wxGridCellAttr::wxAttrKind _arg3
;
3725 PyObject
* _argo0
= 0;
3726 char *_kwnames
[] = { "self","row","col","kind", NULL
};
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3740 wxPy_BEGIN_ALLOW_THREADS
;
3741 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3743 wxPy_END_ALLOW_THREADS
;
3745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3746 _resultobj
= Py_BuildValue("s",_ptemp
);
3749 _resultobj
= Py_None
;
3754 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3755 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3757 wxGridCellAttrProvider
* _arg0
;
3758 wxGridCellAttr
* _arg1
;
3761 PyObject
* _argo0
= 0;
3762 PyObject
* _argo1
= 0;
3763 char *_kwnames
[] = { "self","attr","row","col", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3783 wxPy_BEGIN_ALLOW_THREADS
;
3784 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3786 wxPy_END_ALLOW_THREADS
;
3787 } Py_INCREF(Py_None
);
3788 _resultobj
= Py_None
;
3792 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3793 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3795 wxGridCellAttrProvider
* _arg0
;
3796 wxGridCellAttr
* _arg1
;
3798 PyObject
* _argo0
= 0;
3799 PyObject
* _argo1
= 0;
3800 char *_kwnames
[] = { "self","attr","row", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3813 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3820 wxPy_BEGIN_ALLOW_THREADS
;
3821 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
3823 wxPy_END_ALLOW_THREADS
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3830 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3832 wxGridCellAttrProvider
* _arg0
;
3833 wxGridCellAttr
* _arg1
;
3835 PyObject
* _argo0
= 0;
3836 PyObject
* _argo1
= 0;
3837 char *_kwnames
[] = { "self","attr","col", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3857 wxPy_BEGIN_ALLOW_THREADS
;
3858 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
3860 wxPy_END_ALLOW_THREADS
;
3861 } Py_INCREF(Py_None
);
3862 _resultobj
= Py_None
;
3866 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3867 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxGridCellAttrProvider
* _arg0
;
3872 PyObject
* _argo0
= 0;
3873 char *_kwnames
[] = { "self","pos","numRows", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
3889 wxPy_END_ALLOW_THREADS
;
3890 } Py_INCREF(Py_None
);
3891 _resultobj
= Py_None
;
3895 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3896 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
* _resultobj
;
3898 wxGridCellAttrProvider
* _arg0
;
3901 PyObject
* _argo0
= 0;
3902 char *_kwnames
[] = { "self","pos","numCols", NULL
};
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3915 wxPy_BEGIN_ALLOW_THREADS
;
3916 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
3918 wxPy_END_ALLOW_THREADS
;
3919 } Py_INCREF(Py_None
);
3920 _resultobj
= Py_None
;
3924 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
3925 wxPyGridCellAttrProvider
*src
;
3926 wxGridCellAttrProvider
*dest
;
3927 src
= (wxPyGridCellAttrProvider
*) ptr
;
3928 dest
= (wxGridCellAttrProvider
*) src
;
3929 return (void *) dest
;
3932 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3933 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
* _resultobj
;
3935 wxPyGridCellAttrProvider
* _result
;
3936 char *_kwnames
[] = { NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
3943 wxPy_BEGIN_ALLOW_THREADS
;
3944 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
3946 wxPy_END_ALLOW_THREADS
;
3948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
3949 _resultobj
= Py_BuildValue("s",_ptemp
);
3952 _resultobj
= Py_None
;
3957 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3958 static PyObject
*_wrap_wxPyGridCellAttrProvider__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3960 wxPyGridCellAttrProvider
* _arg0
;
3963 PyObject
* _argo0
= 0;
3964 PyObject
* _obj1
= 0;
3965 PyObject
* _obj2
= 0;
3966 char *_kwnames
[] = { "self","self","_class", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3985 wxPy_BEGIN_ALLOW_THREADS
;
3986 wxPyGridCellAttrProvider__setSelf(_arg0
,_arg1
,_arg2
);
3988 wxPy_END_ALLOW_THREADS
;
3989 } Py_INCREF(Py_None
);
3990 _resultobj
= Py_None
;
3994 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
3995 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
* _resultobj
;
3997 wxGridCellAttr
* _result
;
3998 wxPyGridCellAttrProvider
* _arg0
;
4001 wxGridCellAttr::wxAttrKind _arg3
;
4002 PyObject
* _argo0
= 0;
4003 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4017 wxPy_BEGIN_ALLOW_THREADS
;
4018 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4020 wxPy_END_ALLOW_THREADS
;
4022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4023 _resultobj
= Py_BuildValue("s",_ptemp
);
4026 _resultobj
= Py_None
;
4031 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4032 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4034 wxPyGridCellAttrProvider
* _arg0
;
4035 wxGridCellAttr
* _arg1
;
4038 PyObject
* _argo0
= 0;
4039 PyObject
* _argo1
= 0;
4040 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4060 wxPy_BEGIN_ALLOW_THREADS
;
4061 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4063 wxPy_END_ALLOW_THREADS
;
4064 } Py_INCREF(Py_None
);
4065 _resultobj
= Py_None
;
4069 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4070 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4072 wxPyGridCellAttrProvider
* _arg0
;
4073 wxGridCellAttr
* _arg1
;
4075 PyObject
* _argo0
= 0;
4076 PyObject
* _argo1
= 0;
4077 char *_kwnames
[] = { "self","attr","row", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4097 wxPy_BEGIN_ALLOW_THREADS
;
4098 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4100 wxPy_END_ALLOW_THREADS
;
4101 } Py_INCREF(Py_None
);
4102 _resultobj
= Py_None
;
4106 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4107 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
* _resultobj
;
4109 wxPyGridCellAttrProvider
* _arg0
;
4110 wxGridCellAttr
* _arg1
;
4112 PyObject
* _argo0
= 0;
4113 PyObject
* _argo1
= 0;
4114 char *_kwnames
[] = { "self","attr","col", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4134 wxPy_BEGIN_ALLOW_THREADS
;
4135 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4137 wxPy_END_ALLOW_THREADS
;
4138 } Py_INCREF(Py_None
);
4139 _resultobj
= Py_None
;
4143 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4144 wxGridTableBase
*src
;
4146 src
= (wxGridTableBase
*) ptr
;
4147 dest
= (wxObject
*) src
;
4148 return (void *) dest
;
4151 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4152 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4154 wxGridTableBase
* _arg0
;
4155 wxGridCellAttrProvider
* _arg1
;
4156 PyObject
* _argo0
= 0;
4157 PyObject
* _argo1
= 0;
4158 char *_kwnames
[] = { "self","attrProvider", NULL
};
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4181 wxPy_END_ALLOW_THREADS
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4187 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4188 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4190 wxGridCellAttrProvider
* _result
;
4191 wxGridTableBase
* _arg0
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4210 wxPy_END_ALLOW_THREADS
;
4212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4213 _resultobj
= Py_BuildValue("s",_ptemp
);
4216 _resultobj
= Py_None
;
4221 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4222 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4224 wxGridTableBase
* _arg0
;
4226 PyObject
* _argo0
= 0;
4227 PyObject
* _argo1
= 0;
4228 char *_kwnames
[] = { "self","grid", NULL
};
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4241 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4242 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4248 wxPy_BEGIN_ALLOW_THREADS
;
4249 wxGridTableBase_SetView(_arg0
,_arg1
);
4251 wxPy_END_ALLOW_THREADS
;
4252 } Py_INCREF(Py_None
);
4253 _resultobj
= Py_None
;
4257 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4258 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4261 wxGridTableBase
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4279 wxPy_END_ALLOW_THREADS
;
4280 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4284 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4285 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4288 wxGridTableBase
* _arg0
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4306 wxPy_END_ALLOW_THREADS
;
4307 } _resultobj
= Py_BuildValue("i",_result
);
4311 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4312 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4315 wxGridTableBase
* _arg0
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4333 wxPy_END_ALLOW_THREADS
;
4334 } _resultobj
= Py_BuildValue("i",_result
);
4338 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4339 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4342 wxGridTableBase
* _arg0
;
4345 PyObject
* _argo0
= 0;
4346 char *_kwnames
[] = { "self","row","col", NULL
};
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4362 wxPy_END_ALLOW_THREADS
;
4363 } _resultobj
= Py_BuildValue("i",_result
);
4367 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4368 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
* _resultobj
;
4371 wxGridTableBase
* _arg0
;
4374 PyObject
* _argo0
= 0;
4375 char *_kwnames
[] = { "self","row","col", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4391 wxPy_END_ALLOW_THREADS
;
4393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4401 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4402 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4404 wxGridTableBase
* _arg0
;
4408 PyObject
* _argo0
= 0;
4409 PyObject
* _obj3
= 0;
4410 char *_kwnames
[] = { "self","row","col","value", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4423 #if PYTHON_API_VERSION >= 1009
4424 char* tmpPtr
; int tmpSize
;
4425 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4429 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4431 _arg3
= new wxString(tmpPtr
, tmpSize
);
4433 if (!PyString_Check(_obj3
)) {
4434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4437 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4441 wxPy_BEGIN_ALLOW_THREADS
;
4442 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4444 wxPy_END_ALLOW_THREADS
;
4445 } Py_INCREF(Py_None
);
4446 _resultobj
= Py_None
;
4454 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4455 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4458 wxGridTableBase
* _arg0
;
4461 PyObject
* _argo0
= 0;
4462 char *_kwnames
[] = { "self","row","col", NULL
};
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4475 wxPy_BEGIN_ALLOW_THREADS
;
4476 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4478 wxPy_END_ALLOW_THREADS
;
4480 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4488 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4489 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
* _resultobj
;
4492 wxGridTableBase
* _arg0
;
4496 PyObject
* _argo0
= 0;
4497 PyObject
* _obj3
= 0;
4498 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4511 #if PYTHON_API_VERSION >= 1009
4512 char* tmpPtr
; int tmpSize
;
4513 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4517 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4519 _arg3
= new wxString(tmpPtr
, tmpSize
);
4521 if (!PyString_Check(_obj3
)) {
4522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4525 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4532 wxPy_END_ALLOW_THREADS
;
4533 } _resultobj
= Py_BuildValue("i",_result
);
4541 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4542 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
* _resultobj
;
4545 wxGridTableBase
* _arg0
;
4549 PyObject
* _argo0
= 0;
4550 PyObject
* _obj3
= 0;
4551 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4564 #if PYTHON_API_VERSION >= 1009
4565 char* tmpPtr
; int tmpSize
;
4566 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4567 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4570 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4572 _arg3
= new wxString(tmpPtr
, tmpSize
);
4574 if (!PyString_Check(_obj3
)) {
4575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4578 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } _resultobj
= Py_BuildValue("i",_result
);
4594 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4595 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4598 wxGridTableBase
* _arg0
;
4601 PyObject
* _argo0
= 0;
4602 char *_kwnames
[] = { "self","row","col", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4615 wxPy_BEGIN_ALLOW_THREADS
;
4616 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4618 wxPy_END_ALLOW_THREADS
;
4619 } _resultobj
= Py_BuildValue("l",_result
);
4623 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4624 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4627 wxGridTableBase
* _arg0
;
4630 PyObject
* _argo0
= 0;
4631 char *_kwnames
[] = { "self","row","col", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4644 wxPy_BEGIN_ALLOW_THREADS
;
4645 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4647 wxPy_END_ALLOW_THREADS
;
4648 } _resultobj
= Py_BuildValue("d",_result
);
4652 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4653 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4656 wxGridTableBase
* _arg0
;
4659 PyObject
* _argo0
= 0;
4660 char *_kwnames
[] = { "self","row","col", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } _resultobj
= Py_BuildValue("i",_result
);
4681 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4682 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
* _resultobj
;
4684 wxGridTableBase
* _arg0
;
4688 PyObject
* _argo0
= 0;
4689 char *_kwnames
[] = { "self","row","col","value", NULL
};
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4702 wxPy_BEGIN_ALLOW_THREADS
;
4703 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4705 wxPy_END_ALLOW_THREADS
;
4706 } Py_INCREF(Py_None
);
4707 _resultobj
= Py_None
;
4711 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4712 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4714 wxGridTableBase
* _arg0
;
4718 PyObject
* _argo0
= 0;
4719 char *_kwnames
[] = { "self","row","col","value", NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4732 wxPy_BEGIN_ALLOW_THREADS
;
4733 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
4735 wxPy_END_ALLOW_THREADS
;
4736 } Py_INCREF(Py_None
);
4737 _resultobj
= Py_None
;
4741 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4742 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
* _resultobj
;
4744 wxGridTableBase
* _arg0
;
4748 PyObject
* _argo0
= 0;
4750 char *_kwnames
[] = { "self","row","col","value", NULL
};
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4762 _arg3
= (bool ) tempbool3
;
4764 wxPy_BEGIN_ALLOW_THREADS
;
4765 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
4767 wxPy_END_ALLOW_THREADS
;
4768 } Py_INCREF(Py_None
);
4769 _resultobj
= Py_None
;
4773 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4774 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4776 wxGridTableBase
* _arg0
;
4777 PyObject
* _argo0
= 0;
4778 char *_kwnames
[] = { "self", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4791 wxPy_BEGIN_ALLOW_THREADS
;
4792 wxGridTableBase_Clear(_arg0
);
4794 wxPy_END_ALLOW_THREADS
;
4795 } Py_INCREF(Py_None
);
4796 _resultobj
= Py_None
;
4800 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4801 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4804 wxGridTableBase
* _arg0
;
4805 size_t _arg1
= (size_t ) 0;
4806 size_t _arg2
= (size_t ) 1;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4821 wxPy_BEGIN_ALLOW_THREADS
;
4822 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
4824 wxPy_END_ALLOW_THREADS
;
4825 } _resultobj
= Py_BuildValue("i",_result
);
4829 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4830 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4833 wxGridTableBase
* _arg0
;
4834 size_t _arg1
= (size_t ) 1;
4835 PyObject
* _argo0
= 0;
4836 char *_kwnames
[] = { "self","numRows", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } _resultobj
= Py_BuildValue("i",_result
);
4857 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4858 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
* _resultobj
;
4861 wxGridTableBase
* _arg0
;
4862 size_t _arg1
= (size_t ) 0;
4863 size_t _arg2
= (size_t ) 1;
4864 PyObject
* _argo0
= 0;
4865 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4878 wxPy_BEGIN_ALLOW_THREADS
;
4879 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
4881 wxPy_END_ALLOW_THREADS
;
4882 } _resultobj
= Py_BuildValue("i",_result
);
4886 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4887 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
* _resultobj
;
4890 wxGridTableBase
* _arg0
;
4891 size_t _arg1
= (size_t ) 0;
4892 size_t _arg2
= (size_t ) 1;
4893 PyObject
* _argo0
= 0;
4894 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
4910 wxPy_END_ALLOW_THREADS
;
4911 } _resultobj
= Py_BuildValue("i",_result
);
4915 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4916 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4919 wxGridTableBase
* _arg0
;
4920 size_t _arg1
= (size_t ) 1;
4921 PyObject
* _argo0
= 0;
4922 char *_kwnames
[] = { "self","numCols", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4935 wxPy_BEGIN_ALLOW_THREADS
;
4936 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
4938 wxPy_END_ALLOW_THREADS
;
4939 } _resultobj
= Py_BuildValue("i",_result
);
4943 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4944 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
* _resultobj
;
4947 wxGridTableBase
* _arg0
;
4948 size_t _arg1
= (size_t ) 0;
4949 size_t _arg2
= (size_t ) 1;
4950 PyObject
* _argo0
= 0;
4951 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4964 wxPy_BEGIN_ALLOW_THREADS
;
4965 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
4967 wxPy_END_ALLOW_THREADS
;
4968 } _resultobj
= Py_BuildValue("i",_result
);
4972 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4973 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4976 wxGridTableBase
* _arg0
;
4978 PyObject
* _argo0
= 0;
4979 char *_kwnames
[] = { "self","row", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
4995 wxPy_END_ALLOW_THREADS
;
4997 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5005 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5006 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5009 wxGridTableBase
* _arg0
;
5011 PyObject
* _argo0
= 0;
5012 char *_kwnames
[] = { "self","col", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5025 wxPy_BEGIN_ALLOW_THREADS
;
5026 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5028 wxPy_END_ALLOW_THREADS
;
5030 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5038 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5039 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
* _resultobj
;
5041 wxGridTableBase
* _arg0
;
5044 PyObject
* _argo0
= 0;
5045 PyObject
* _obj2
= 0;
5046 char *_kwnames
[] = { "self","row","value", NULL
};
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5059 #if PYTHON_API_VERSION >= 1009
5060 char* tmpPtr
; int tmpSize
;
5061 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5062 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5065 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5067 _arg2
= new wxString(tmpPtr
, tmpSize
);
5069 if (!PyString_Check(_obj2
)) {
5070 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5073 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5077 wxPy_BEGIN_ALLOW_THREADS
;
5078 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5080 wxPy_END_ALLOW_THREADS
;
5081 } Py_INCREF(Py_None
);
5082 _resultobj
= Py_None
;
5090 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5091 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5093 wxGridTableBase
* _arg0
;
5096 PyObject
* _argo0
= 0;
5097 PyObject
* _obj2
= 0;
5098 char *_kwnames
[] = { "self","col","value", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5111 #if PYTHON_API_VERSION >= 1009
5112 char* tmpPtr
; int tmpSize
;
5113 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5114 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5117 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5119 _arg2
= new wxString(tmpPtr
, tmpSize
);
5121 if (!PyString_Check(_obj2
)) {
5122 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5125 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5129 wxPy_BEGIN_ALLOW_THREADS
;
5130 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5132 wxPy_END_ALLOW_THREADS
;
5133 } Py_INCREF(Py_None
);
5134 _resultobj
= Py_None
;
5142 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5143 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
* _resultobj
;
5146 wxGridTableBase
* _arg0
;
5147 PyObject
* _argo0
= 0;
5148 char *_kwnames
[] = { "self", NULL
};
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5161 wxPy_BEGIN_ALLOW_THREADS
;
5162 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5164 wxPy_END_ALLOW_THREADS
;
5165 } _resultobj
= Py_BuildValue("i",_result
);
5169 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5170 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
* _resultobj
;
5172 wxGridCellAttr
* _result
;
5173 wxGridTableBase
* _arg0
;
5176 wxGridCellAttr::wxAttrKind _arg3
;
5177 PyObject
* _argo0
= 0;
5178 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5192 wxPy_BEGIN_ALLOW_THREADS
;
5193 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5195 wxPy_END_ALLOW_THREADS
;
5197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5198 _resultobj
= Py_BuildValue("s",_ptemp
);
5201 _resultobj
= Py_None
;
5206 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5207 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5209 wxGridTableBase
* _arg0
;
5210 wxGridCellAttr
* _arg1
;
5213 PyObject
* _argo0
= 0;
5214 PyObject
* _argo1
= 0;
5215 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5228 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5229 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5235 wxPy_BEGIN_ALLOW_THREADS
;
5236 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5238 wxPy_END_ALLOW_THREADS
;
5239 } Py_INCREF(Py_None
);
5240 _resultobj
= Py_None
;
5244 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5245 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
* _resultobj
;
5247 wxGridTableBase
* _arg0
;
5248 wxGridCellAttr
* _arg1
;
5250 PyObject
* _argo0
= 0;
5251 PyObject
* _argo1
= 0;
5252 char *_kwnames
[] = { "self","attr","row", NULL
};
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5272 wxPy_BEGIN_ALLOW_THREADS
;
5273 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5275 wxPy_END_ALLOW_THREADS
;
5276 } Py_INCREF(Py_None
);
5277 _resultobj
= Py_None
;
5281 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5282 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
* _resultobj
;
5284 wxGridTableBase
* _arg0
;
5285 wxGridCellAttr
* _arg1
;
5287 PyObject
* _argo0
= 0;
5288 PyObject
* _argo1
= 0;
5289 char *_kwnames
[] = { "self","attr","col", NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5309 wxPy_BEGIN_ALLOW_THREADS
;
5310 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5312 wxPy_END_ALLOW_THREADS
;
5313 } Py_INCREF(Py_None
);
5314 _resultobj
= Py_None
;
5318 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5319 wxPyGridTableBase
*src
;
5320 wxGridTableBase
*dest
;
5321 src
= (wxPyGridTableBase
*) ptr
;
5322 dest
= (wxGridTableBase
*) src
;
5323 return (void *) dest
;
5326 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5327 wxPyGridTableBase
*src
;
5329 src
= (wxPyGridTableBase
*) ptr
;
5330 dest
= (wxObject
*) src
;
5331 return (void *) dest
;
5334 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5335 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
* _resultobj
;
5337 wxPyGridTableBase
* _result
;
5338 char *_kwnames
[] = { NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5345 wxPy_BEGIN_ALLOW_THREADS
;
5346 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5348 wxPy_END_ALLOW_THREADS
;
5350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5351 _resultobj
= Py_BuildValue("s",_ptemp
);
5354 _resultobj
= Py_None
;
5359 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5360 static PyObject
*_wrap_wxPyGridTableBase__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
* _resultobj
;
5362 wxPyGridTableBase
* _arg0
;
5365 PyObject
* _argo0
= 0;
5366 PyObject
* _obj1
= 0;
5367 PyObject
* _obj2
= 0;
5368 char *_kwnames
[] = { "self","self","_class", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5387 wxPy_BEGIN_ALLOW_THREADS
;
5388 wxPyGridTableBase__setSelf(_arg0
,_arg1
,_arg2
);
5390 wxPy_END_ALLOW_THREADS
;
5391 } Py_INCREF(Py_None
);
5392 _resultobj
= Py_None
;
5396 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5397 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
* _resultobj
;
5399 wxPyGridTableBase
* _arg0
;
5400 PyObject
* _argo0
= 0;
5401 char *_kwnames
[] = { "self", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5414 wxPy_BEGIN_ALLOW_THREADS
;
5415 wxPyGridTableBase_Destroy(_arg0
);
5417 wxPy_END_ALLOW_THREADS
;
5418 } Py_INCREF(Py_None
);
5419 _resultobj
= Py_None
;
5423 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5424 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5427 wxPyGridTableBase
* _arg0
;
5430 PyObject
* _argo0
= 0;
5431 char *_kwnames
[] = { "self","row","col", NULL
};
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5444 wxPy_BEGIN_ALLOW_THREADS
;
5445 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5447 wxPy_END_ALLOW_THREADS
;
5449 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5457 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5458 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
* _resultobj
;
5461 wxPyGridTableBase
* _arg0
;
5465 PyObject
* _argo0
= 0;
5466 PyObject
* _obj3
= 0;
5467 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5480 #if PYTHON_API_VERSION >= 1009
5481 char* tmpPtr
; int tmpSize
;
5482 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5483 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5486 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5488 _arg3
= new wxString(tmpPtr
, tmpSize
);
5490 if (!PyString_Check(_obj3
)) {
5491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5494 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5498 wxPy_BEGIN_ALLOW_THREADS
;
5499 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5501 wxPy_END_ALLOW_THREADS
;
5502 } _resultobj
= Py_BuildValue("i",_result
);
5510 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5511 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
* _resultobj
;
5514 wxPyGridTableBase
* _arg0
;
5518 PyObject
* _argo0
= 0;
5519 PyObject
* _obj3
= 0;
5520 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5533 #if PYTHON_API_VERSION >= 1009
5534 char* tmpPtr
; int tmpSize
;
5535 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5536 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5539 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5541 _arg3
= new wxString(tmpPtr
, tmpSize
);
5543 if (!PyString_Check(_obj3
)) {
5544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5547 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5551 wxPy_BEGIN_ALLOW_THREADS
;
5552 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5554 wxPy_END_ALLOW_THREADS
;
5555 } _resultobj
= Py_BuildValue("i",_result
);
5563 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5564 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5566 wxPyGridTableBase
* _arg0
;
5567 PyObject
* _argo0
= 0;
5568 char *_kwnames
[] = { "self", NULL
};
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5581 wxPy_BEGIN_ALLOW_THREADS
;
5582 wxPyGridTableBase_base_Clear(_arg0
);
5584 wxPy_END_ALLOW_THREADS
;
5585 } Py_INCREF(Py_None
);
5586 _resultobj
= Py_None
;
5590 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5591 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5594 wxPyGridTableBase
* _arg0
;
5595 size_t _arg1
= (size_t ) 0;
5596 size_t _arg2
= (size_t ) 1;
5597 PyObject
* _argo0
= 0;
5598 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5611 wxPy_BEGIN_ALLOW_THREADS
;
5612 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5614 wxPy_END_ALLOW_THREADS
;
5615 } _resultobj
= Py_BuildValue("i",_result
);
5619 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5620 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
* _resultobj
;
5623 wxPyGridTableBase
* _arg0
;
5624 size_t _arg1
= (size_t ) 1;
5625 PyObject
* _argo0
= 0;
5626 char *_kwnames
[] = { "self","numRows", NULL
};
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5639 wxPy_BEGIN_ALLOW_THREADS
;
5640 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5642 wxPy_END_ALLOW_THREADS
;
5643 } _resultobj
= Py_BuildValue("i",_result
);
5647 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5648 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
* _resultobj
;
5651 wxPyGridTableBase
* _arg0
;
5652 size_t _arg1
= (size_t ) 0;
5653 size_t _arg2
= (size_t ) 1;
5654 PyObject
* _argo0
= 0;
5655 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5668 wxPy_BEGIN_ALLOW_THREADS
;
5669 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5671 wxPy_END_ALLOW_THREADS
;
5672 } _resultobj
= Py_BuildValue("i",_result
);
5676 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5677 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
* _resultobj
;
5680 wxPyGridTableBase
* _arg0
;
5681 size_t _arg1
= (size_t ) 0;
5682 size_t _arg2
= (size_t ) 1;
5683 PyObject
* _argo0
= 0;
5684 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5697 wxPy_BEGIN_ALLOW_THREADS
;
5698 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5700 wxPy_END_ALLOW_THREADS
;
5701 } _resultobj
= Py_BuildValue("i",_result
);
5705 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5706 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
* _resultobj
;
5709 wxPyGridTableBase
* _arg0
;
5710 size_t _arg1
= (size_t ) 1;
5711 PyObject
* _argo0
= 0;
5712 char *_kwnames
[] = { "self","numCols", NULL
};
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5725 wxPy_BEGIN_ALLOW_THREADS
;
5726 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
5728 wxPy_END_ALLOW_THREADS
;
5729 } _resultobj
= Py_BuildValue("i",_result
);
5733 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5734 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
* _resultobj
;
5737 wxPyGridTableBase
* _arg0
;
5738 size_t _arg1
= (size_t ) 0;
5739 size_t _arg2
= (size_t ) 1;
5740 PyObject
* _argo0
= 0;
5741 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5754 wxPy_BEGIN_ALLOW_THREADS
;
5755 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
5757 wxPy_END_ALLOW_THREADS
;
5758 } _resultobj
= Py_BuildValue("i",_result
);
5762 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5763 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
* _resultobj
;
5766 wxPyGridTableBase
* _arg0
;
5768 PyObject
* _argo0
= 0;
5769 char *_kwnames
[] = { "self","row", NULL
};
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5782 wxPy_BEGIN_ALLOW_THREADS
;
5783 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
5785 wxPy_END_ALLOW_THREADS
;
5787 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5795 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5796 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
* _resultobj
;
5799 wxPyGridTableBase
* _arg0
;
5801 PyObject
* _argo0
= 0;
5802 char *_kwnames
[] = { "self","col", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5815 wxPy_BEGIN_ALLOW_THREADS
;
5816 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
5818 wxPy_END_ALLOW_THREADS
;
5820 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5828 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5829 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
* _resultobj
;
5831 wxPyGridTableBase
* _arg0
;
5834 PyObject
* _argo0
= 0;
5835 PyObject
* _obj2
= 0;
5836 char *_kwnames
[] = { "self","row","value", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5849 #if PYTHON_API_VERSION >= 1009
5850 char* tmpPtr
; int tmpSize
;
5851 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5855 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5857 _arg2
= new wxString(tmpPtr
, tmpSize
);
5859 if (!PyString_Check(_obj2
)) {
5860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5863 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5867 wxPy_BEGIN_ALLOW_THREADS
;
5868 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5870 wxPy_END_ALLOW_THREADS
;
5871 } Py_INCREF(Py_None
);
5872 _resultobj
= Py_None
;
5880 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5881 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
* _resultobj
;
5883 wxPyGridTableBase
* _arg0
;
5886 PyObject
* _argo0
= 0;
5887 PyObject
* _obj2
= 0;
5888 char *_kwnames
[] = { "self","col","value", NULL
};
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5901 #if PYTHON_API_VERSION >= 1009
5902 char* tmpPtr
; int tmpSize
;
5903 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5907 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5909 _arg2
= new wxString(tmpPtr
, tmpSize
);
5911 if (!PyString_Check(_obj2
)) {
5912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5915 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5919 wxPy_BEGIN_ALLOW_THREADS
;
5920 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5922 wxPy_END_ALLOW_THREADS
;
5923 } Py_INCREF(Py_None
);
5924 _resultobj
= Py_None
;
5932 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5933 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
* _resultobj
;
5936 wxPyGridTableBase
* _arg0
;
5937 PyObject
* _argo0
= 0;
5938 char *_kwnames
[] = { "self", NULL
};
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
5944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5951 wxPy_BEGIN_ALLOW_THREADS
;
5952 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
5954 wxPy_END_ALLOW_THREADS
;
5955 } _resultobj
= Py_BuildValue("i",_result
);
5959 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
5960 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
* _resultobj
;
5962 wxGridCellAttr
* _result
;
5963 wxPyGridTableBase
* _arg0
;
5966 wxGridCellAttr::wxAttrKind _arg3
;
5967 PyObject
* _argo0
= 0;
5968 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5982 wxPy_BEGIN_ALLOW_THREADS
;
5983 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5985 wxPy_END_ALLOW_THREADS
;
5987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5988 _resultobj
= Py_BuildValue("s",_ptemp
);
5991 _resultobj
= Py_None
;
5996 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5997 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
* _resultobj
;
5999 wxPyGridTableBase
* _arg0
;
6000 wxGridCellAttr
* _arg1
;
6003 PyObject
* _argo0
= 0;
6004 PyObject
* _argo1
= 0;
6005 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6018 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6025 wxPy_BEGIN_ALLOW_THREADS
;
6026 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6028 wxPy_END_ALLOW_THREADS
;
6029 } Py_INCREF(Py_None
);
6030 _resultobj
= Py_None
;
6034 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6035 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6037 wxPyGridTableBase
* _arg0
;
6038 wxGridCellAttr
* _arg1
;
6040 PyObject
* _argo0
= 0;
6041 PyObject
* _argo1
= 0;
6042 char *_kwnames
[] = { "self","attr","row", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6055 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6062 wxPy_BEGIN_ALLOW_THREADS
;
6063 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6065 wxPy_END_ALLOW_THREADS
;
6066 } Py_INCREF(Py_None
);
6067 _resultobj
= Py_None
;
6071 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6072 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
* _resultobj
;
6074 wxPyGridTableBase
* _arg0
;
6075 wxGridCellAttr
* _arg1
;
6077 PyObject
* _argo0
= 0;
6078 PyObject
* _argo1
= 0;
6079 char *_kwnames
[] = { "self","attr","col", NULL
};
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6099 wxPy_BEGIN_ALLOW_THREADS
;
6100 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6102 wxPy_END_ALLOW_THREADS
;
6103 } Py_INCREF(Py_None
);
6104 _resultobj
= Py_None
;
6108 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6109 wxGridStringTable
*src
;
6110 wxGridTableBase
*dest
;
6111 src
= (wxGridStringTable
*) ptr
;
6112 dest
= (wxGridTableBase
*) src
;
6113 return (void *) dest
;
6116 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6117 wxGridStringTable
*src
;
6119 src
= (wxGridStringTable
*) ptr
;
6120 dest
= (wxObject
*) src
;
6121 return (void *) dest
;
6124 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6125 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6127 wxGridStringTable
* _result
;
6128 int _arg0
= (int ) 0;
6129 int _arg1
= (int ) 0;
6130 char *_kwnames
[] = { "numRows","numCols", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6137 wxPy_BEGIN_ALLOW_THREADS
;
6138 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6140 wxPy_END_ALLOW_THREADS
;
6142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6143 _resultobj
= Py_BuildValue("s",_ptemp
);
6146 _resultobj
= Py_None
;
6151 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6152 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6154 wxGridTableMessage
* _result
;
6155 wxGridTableBase
* _arg0
;
6157 int _arg2
= (int ) -1;
6158 int _arg3
= (int ) -1;
6159 PyObject
* _argo0
= 0;
6160 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6174 wxPy_BEGIN_ALLOW_THREADS
;
6175 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6177 wxPy_END_ALLOW_THREADS
;
6179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6180 _resultobj
= Py_BuildValue("s",_ptemp
);
6183 _resultobj
= Py_None
;
6188 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6189 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6191 wxGridTableMessage
* _arg0
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6206 wxPy_BEGIN_ALLOW_THREADS
;
6207 delete_wxGridTableMessage(_arg0
);
6209 wxPy_END_ALLOW_THREADS
;
6210 } Py_INCREF(Py_None
);
6211 _resultobj
= Py_None
;
6215 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6216 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6218 wxGridTableMessage
* _arg0
;
6219 wxGridTableBase
* _arg1
;
6220 PyObject
* _argo0
= 0;
6221 PyObject
* _argo1
= 0;
6222 char *_kwnames
[] = { "self","table", NULL
};
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6242 wxPy_BEGIN_ALLOW_THREADS
;
6243 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6245 wxPy_END_ALLOW_THREADS
;
6246 } Py_INCREF(Py_None
);
6247 _resultobj
= Py_None
;
6251 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6252 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
* _resultobj
;
6254 wxGridTableBase
* _result
;
6255 wxGridTableMessage
* _arg0
;
6256 PyObject
* _argo0
= 0;
6257 char *_kwnames
[] = { "self", NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6270 wxPy_BEGIN_ALLOW_THREADS
;
6271 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6273 wxPy_END_ALLOW_THREADS
;
6274 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6278 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6279 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6281 wxGridTableMessage
* _arg0
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self","id", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6297 wxPy_BEGIN_ALLOW_THREADS
;
6298 wxGridTableMessage_SetId(_arg0
,_arg1
);
6300 wxPy_END_ALLOW_THREADS
;
6301 } Py_INCREF(Py_None
);
6302 _resultobj
= Py_None
;
6306 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6307 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6310 wxGridTableMessage
* _arg0
;
6311 PyObject
* _argo0
= 0;
6312 char *_kwnames
[] = { "self", NULL
};
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6325 wxPy_BEGIN_ALLOW_THREADS
;
6326 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6328 wxPy_END_ALLOW_THREADS
;
6329 } _resultobj
= Py_BuildValue("i",_result
);
6333 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6334 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
* _resultobj
;
6336 wxGridTableMessage
* _arg0
;
6338 PyObject
* _argo0
= 0;
6339 char *_kwnames
[] = { "self","comInt1", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6352 wxPy_BEGIN_ALLOW_THREADS
;
6353 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6355 wxPy_END_ALLOW_THREADS
;
6356 } Py_INCREF(Py_None
);
6357 _resultobj
= Py_None
;
6361 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6362 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6365 wxGridTableMessage
* _arg0
;
6366 PyObject
* _argo0
= 0;
6367 char *_kwnames
[] = { "self", NULL
};
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6380 wxPy_BEGIN_ALLOW_THREADS
;
6381 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6383 wxPy_END_ALLOW_THREADS
;
6384 } _resultobj
= Py_BuildValue("i",_result
);
6388 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6389 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6391 wxGridTableMessage
* _arg0
;
6393 PyObject
* _argo0
= 0;
6394 char *_kwnames
[] = { "self","comInt2", NULL
};
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6407 wxPy_BEGIN_ALLOW_THREADS
;
6408 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6410 wxPy_END_ALLOW_THREADS
;
6411 } Py_INCREF(Py_None
);
6412 _resultobj
= Py_None
;
6416 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6417 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
* _resultobj
;
6420 wxGridTableMessage
* _arg0
;
6421 PyObject
* _argo0
= 0;
6422 char *_kwnames
[] = { "self", NULL
};
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6435 wxPy_BEGIN_ALLOW_THREADS
;
6436 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6438 wxPy_END_ALLOW_THREADS
;
6439 } _resultobj
= Py_BuildValue("i",_result
);
6443 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6444 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
* _resultobj
;
6446 wxGridCellCoords
* _result
;
6447 int _arg0
= (int ) -1;
6448 int _arg1
= (int ) -1;
6449 char *_kwnames
[] = { "r","c", NULL
};
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6456 wxPy_BEGIN_ALLOW_THREADS
;
6457 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6459 wxPy_END_ALLOW_THREADS
;
6461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6462 _resultobj
= Py_BuildValue("s",_ptemp
);
6465 _resultobj
= Py_None
;
6470 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6471 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
* _resultobj
;
6473 wxGridCellCoords
* _arg0
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6488 wxPy_BEGIN_ALLOW_THREADS
;
6489 delete_wxGridCellCoords(_arg0
);
6491 wxPy_END_ALLOW_THREADS
;
6492 } Py_INCREF(Py_None
);
6493 _resultobj
= Py_None
;
6497 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6498 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
* _resultobj
;
6501 wxGridCellCoords
* _arg0
;
6502 PyObject
* _argo0
= 0;
6503 char *_kwnames
[] = { "self", NULL
};
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6516 wxPy_BEGIN_ALLOW_THREADS
;
6517 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6519 wxPy_END_ALLOW_THREADS
;
6520 } _resultobj
= Py_BuildValue("i",_result
);
6524 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6525 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
* _resultobj
;
6527 wxGridCellCoords
* _arg0
;
6529 PyObject
* _argo0
= 0;
6530 char *_kwnames
[] = { "self","n", NULL
};
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6543 wxPy_BEGIN_ALLOW_THREADS
;
6544 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6546 wxPy_END_ALLOW_THREADS
;
6547 } Py_INCREF(Py_None
);
6548 _resultobj
= Py_None
;
6552 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6553 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
* _resultobj
;
6556 wxGridCellCoords
* _arg0
;
6557 PyObject
* _argo0
= 0;
6558 char *_kwnames
[] = { "self", NULL
};
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6571 wxPy_BEGIN_ALLOW_THREADS
;
6572 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6574 wxPy_END_ALLOW_THREADS
;
6575 } _resultobj
= Py_BuildValue("i",_result
);
6579 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6580 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
* _resultobj
;
6582 wxGridCellCoords
* _arg0
;
6584 PyObject
* _argo0
= 0;
6585 char *_kwnames
[] = { "self","n", NULL
};
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6598 wxPy_BEGIN_ALLOW_THREADS
;
6599 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6601 wxPy_END_ALLOW_THREADS
;
6602 } Py_INCREF(Py_None
);
6603 _resultobj
= Py_None
;
6607 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6608 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
* _resultobj
;
6610 wxGridCellCoords
* _arg0
;
6613 PyObject
* _argo0
= 0;
6614 char *_kwnames
[] = { "self","row","col", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6627 wxPy_BEGIN_ALLOW_THREADS
;
6628 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6630 wxPy_END_ALLOW_THREADS
;
6631 } Py_INCREF(Py_None
);
6632 _resultobj
= Py_None
;
6636 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6637 PyObject
* tup
= PyTuple_New(2);
6638 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6639 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6642 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6645 wxGridCellCoords
* _arg0
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6660 wxPy_BEGIN_ALLOW_THREADS
;
6661 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6663 wxPy_END_ALLOW_THREADS
;
6665 _resultobj
= _result
;
6670 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6671 return *self
!= other
;
6673 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
* _resultobj
;
6676 wxGridCellCoords
* _arg0
;
6677 wxGridCellCoords
* _arg1
;
6678 PyObject
* _argo0
= 0;
6679 PyObject
* _argo1
= 0;
6680 char *_kwnames
[] = { "self","other", NULL
};
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6700 wxPy_BEGIN_ALLOW_THREADS
;
6701 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6703 wxPy_END_ALLOW_THREADS
;
6704 } _resultobj
= Py_BuildValue("i",_result
);
6708 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6710 wxScrolledWindow
*dest
;
6711 src
= (wxGrid
*) ptr
;
6712 dest
= (wxScrolledWindow
*) src
;
6713 return (void *) dest
;
6716 static void *SwigwxGridTowxPanel(void *ptr
) {
6719 src
= (wxGrid
*) ptr
;
6720 dest
= (wxPanel
*) src
;
6721 return (void *) dest
;
6724 static void *SwigwxGridTowxWindow(void *ptr
) {
6727 src
= (wxGrid
*) ptr
;
6728 dest
= (wxWindow
*) src
;
6729 return (void *) dest
;
6732 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
6735 src
= (wxGrid
*) ptr
;
6736 dest
= (wxEvtHandler
*) src
;
6737 return (void *) dest
;
6740 static void *SwigwxGridTowxObject(void *ptr
) {
6743 src
= (wxGrid
*) ptr
;
6744 dest
= (wxObject
*) src
;
6745 return (void *) dest
;
6748 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6749 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
* _resultobj
;
6754 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6755 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6756 long _arg4
= (long ) wxWANTS_CHARS
;
6757 char * _arg5
= (char *) wxPanelNameStr
;
6758 PyObject
* _argo0
= 0;
6760 PyObject
* _obj2
= 0;
6762 PyObject
* _obj3
= 0;
6763 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6779 if (! wxPoint_helper(_obj2
, &_arg2
))
6785 if (! wxSize_helper(_obj3
, &_arg3
))
6789 wxPy_BEGIN_ALLOW_THREADS
;
6790 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6792 wxPy_END_ALLOW_THREADS
;
6794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
6795 _resultobj
= Py_BuildValue("s",_ptemp
);
6798 _resultobj
= Py_None
;
6803 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6804 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6810 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6811 PyObject
* _argo0
= 0;
6812 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6825 wxPy_BEGIN_ALLOW_THREADS
;
6826 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
6828 wxPy_END_ALLOW_THREADS
;
6829 } _resultobj
= Py_BuildValue("i",_result
);
6833 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6834 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
* _resultobj
;
6837 WXGRIDSELECTIONMODES _arg1
;
6838 PyObject
* _argo0
= 0;
6839 char *_kwnames
[] = { "self","selmode", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6852 wxPy_BEGIN_ALLOW_THREADS
;
6853 wxGrid_SetSelectionMode(_arg0
,_arg1
);
6855 wxPy_END_ALLOW_THREADS
;
6856 } Py_INCREF(Py_None
);
6857 _resultobj
= Py_None
;
6861 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6862 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6866 PyObject
* _argo0
= 0;
6867 char *_kwnames
[] = { "self", NULL
};
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
6873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6880 wxPy_BEGIN_ALLOW_THREADS
;
6881 _result
= (int )wxGrid_GetNumberRows(_arg0
);
6883 wxPy_END_ALLOW_THREADS
;
6884 } _resultobj
= Py_BuildValue("i",_result
);
6888 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6889 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
* _resultobj
;
6893 PyObject
* _argo0
= 0;
6894 char *_kwnames
[] = { "self", NULL
};
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
6900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6907 wxPy_BEGIN_ALLOW_THREADS
;
6908 _result
= (int )wxGrid_GetNumberCols(_arg0
);
6910 wxPy_END_ALLOW_THREADS
;
6911 } _resultobj
= Py_BuildValue("i",_result
);
6915 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6916 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
* _resultobj
;
6920 wxGridTableMessage
* _arg1
;
6921 PyObject
* _argo0
= 0;
6922 PyObject
* _argo1
= 0;
6923 char *_kwnames
[] = { "self","arg2", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
6929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6943 wxPy_BEGIN_ALLOW_THREADS
;
6944 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
6946 wxPy_END_ALLOW_THREADS
;
6947 } _resultobj
= Py_BuildValue("i",_result
);
6951 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6952 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
* _resultobj
;
6954 wxGridTableBase
* _result
;
6956 PyObject
* _argo0
= 0;
6957 char *_kwnames
[] = { "self", NULL
};
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
6963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6970 wxPy_BEGIN_ALLOW_THREADS
;
6971 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
6973 wxPy_END_ALLOW_THREADS
;
6974 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6978 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6979 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
* _resultobj
;
6983 wxGridTableBase
* _arg1
;
6984 bool _arg2
= (bool ) FALSE
;
6985 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6986 PyObject
* _argo0
= 0;
6987 PyObject
* _argo1
= 0;
6988 int tempbool2
= (int) FALSE
;
6989 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
6995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7002 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7008 _arg2
= (bool ) tempbool2
;
7010 wxPy_BEGIN_ALLOW_THREADS
;
7011 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7013 wxPy_END_ALLOW_THREADS
;
7014 } _resultobj
= Py_BuildValue("i",_result
);
7018 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7019 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
* _resultobj
;
7022 PyObject
* _argo0
= 0;
7023 char *_kwnames
[] = { "self", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7036 wxPy_BEGIN_ALLOW_THREADS
;
7037 wxGrid_ClearGrid(_arg0
);
7039 wxPy_END_ALLOW_THREADS
;
7040 } Py_INCREF(Py_None
);
7041 _resultobj
= Py_None
;
7045 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7046 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7050 int _arg1
= (int ) 0;
7051 int _arg2
= (int ) 1;
7052 bool _arg3
= (bool ) TRUE
;
7053 PyObject
* _argo0
= 0;
7054 int tempbool3
= (int) TRUE
;
7055 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7067 _arg3
= (bool ) tempbool3
;
7069 wxPy_BEGIN_ALLOW_THREADS
;
7070 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7072 wxPy_END_ALLOW_THREADS
;
7073 } _resultobj
= Py_BuildValue("i",_result
);
7077 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7078 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7082 int _arg1
= (int ) 1;
7083 bool _arg2
= (bool ) TRUE
;
7084 PyObject
* _argo0
= 0;
7085 int tempbool2
= (int) TRUE
;
7086 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7098 _arg2
= (bool ) tempbool2
;
7100 wxPy_BEGIN_ALLOW_THREADS
;
7101 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7103 wxPy_END_ALLOW_THREADS
;
7104 } _resultobj
= Py_BuildValue("i",_result
);
7108 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7109 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
* _resultobj
;
7113 int _arg1
= (int ) 0;
7114 int _arg2
= (int ) 1;
7115 bool _arg3
= (bool ) TRUE
;
7116 PyObject
* _argo0
= 0;
7117 int tempbool3
= (int) TRUE
;
7118 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7130 _arg3
= (bool ) tempbool3
;
7132 wxPy_BEGIN_ALLOW_THREADS
;
7133 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7135 wxPy_END_ALLOW_THREADS
;
7136 } _resultobj
= Py_BuildValue("i",_result
);
7140 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7141 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
* _resultobj
;
7145 int _arg1
= (int ) 0;
7146 int _arg2
= (int ) 1;
7147 bool _arg3
= (bool ) TRUE
;
7148 PyObject
* _argo0
= 0;
7149 int tempbool3
= (int) TRUE
;
7150 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7162 _arg3
= (bool ) tempbool3
;
7164 wxPy_BEGIN_ALLOW_THREADS
;
7165 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7167 wxPy_END_ALLOW_THREADS
;
7168 } _resultobj
= Py_BuildValue("i",_result
);
7172 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7173 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
* _resultobj
;
7177 int _arg1
= (int ) 1;
7178 bool _arg2
= (bool ) TRUE
;
7179 PyObject
* _argo0
= 0;
7180 int tempbool2
= (int) TRUE
;
7181 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7193 _arg2
= (bool ) tempbool2
;
7195 wxPy_BEGIN_ALLOW_THREADS
;
7196 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7198 wxPy_END_ALLOW_THREADS
;
7199 } _resultobj
= Py_BuildValue("i",_result
);
7203 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7204 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7208 int _arg1
= (int ) 0;
7209 int _arg2
= (int ) 1;
7210 bool _arg3
= (bool ) TRUE
;
7211 PyObject
* _argo0
= 0;
7212 int tempbool3
= (int) TRUE
;
7213 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7225 _arg3
= (bool ) tempbool3
;
7227 wxPy_BEGIN_ALLOW_THREADS
;
7228 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7230 wxPy_END_ALLOW_THREADS
;
7231 } _resultobj
= Py_BuildValue("i",_result
);
7235 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7236 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
* _resultobj
;
7240 wxGridCellAttr
* _arg2
;
7241 PyObject
* _argo0
= 0;
7242 PyObject
* _argo1
= 0;
7243 PyObject
* _argo2
= 0;
7244 char *_kwnames
[] = { "self","dc","attr", NULL
};
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7264 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7271 wxPy_BEGIN_ALLOW_THREADS
;
7272 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7274 wxPy_END_ALLOW_THREADS
;
7275 } Py_INCREF(Py_None
);
7276 _resultobj
= Py_None
;
7280 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7281 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
* _resultobj
;
7287 int _arg4
= (int ) wxLEFT
;
7288 int _arg5
= (int ) wxTOP
;
7289 PyObject
* _argo0
= 0;
7290 PyObject
* _argo1
= 0;
7291 PyObject
* _obj2
= 0;
7293 PyObject
* _obj3
= 0;
7294 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7314 #if PYTHON_API_VERSION >= 1009
7315 char* tmpPtr
; int tmpSize
;
7316 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7320 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7322 _arg2
= new wxString(tmpPtr
, tmpSize
);
7324 if (!PyString_Check(_obj2
)) {
7325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7328 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7333 if (! wxRect_helper(_obj3
, &_arg3
))
7337 wxPy_BEGIN_ALLOW_THREADS
;
7338 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7340 wxPy_END_ALLOW_THREADS
;
7341 } Py_INCREF(Py_None
);
7342 _resultobj
= Py_None
;
7350 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7351 static PyObject
*_wrap_wxGrid_StringToLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
* _resultobj
;
7355 wxArrayString
* _arg2
;
7356 PyObject
* _argo0
= 0;
7357 PyObject
* _obj1
= 0;
7358 PyObject
* _argo2
= 0;
7359 char *_kwnames
[] = { "self","value","lines", NULL
};
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_StringToLines",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
7365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7372 #if PYTHON_API_VERSION >= 1009
7373 char* tmpPtr
; int tmpSize
;
7374 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7378 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7380 _arg1
= new wxString(tmpPtr
, tmpSize
);
7382 if (!PyString_Check(_obj1
)) {
7383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7386 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7390 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7397 wxPy_BEGIN_ALLOW_THREADS
;
7398 wxGrid_StringToLines(_arg0
,*_arg1
,*_arg2
);
7400 wxPy_END_ALLOW_THREADS
;
7401 } Py_INCREF(Py_None
);
7402 _resultobj
= Py_None
;
7410 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7411 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
* _resultobj
;
7415 wxArrayString
* _arg2
;
7420 PyObject
* _argo0
= 0;
7421 PyObject
* _argo1
= 0;
7422 PyObject
* _argo2
= 0;
7423 char *_kwnames
[] = { "self","dc","lines", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7449 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7456 wxPy_BEGIN_ALLOW_THREADS
;
7457 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7459 wxPy_END_ALLOW_THREADS
;
7460 } Py_INCREF(Py_None
);
7461 _resultobj
= Py_None
;
7464 o
= PyInt_FromLong((long) (*_arg3
));
7465 _resultobj
= t_output_helper(_resultobj
, o
);
7469 o
= PyInt_FromLong((long) (*_arg4
));
7470 _resultobj
= t_output_helper(_resultobj
, o
);
7475 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7476 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7493 wxPy_BEGIN_ALLOW_THREADS
;
7494 wxGrid_BeginBatch(_arg0
);
7496 wxPy_END_ALLOW_THREADS
;
7497 } Py_INCREF(Py_None
);
7498 _resultobj
= Py_None
;
7502 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7503 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7506 PyObject
* _argo0
= 0;
7507 char *_kwnames
[] = { "self", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7520 wxPy_BEGIN_ALLOW_THREADS
;
7521 wxGrid_EndBatch(_arg0
);
7523 wxPy_END_ALLOW_THREADS
;
7524 } Py_INCREF(Py_None
);
7525 _resultobj
= Py_None
;
7529 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7530 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
* _resultobj
;
7534 PyObject
* _argo0
= 0;
7535 char *_kwnames
[] = { "self", NULL
};
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7548 wxPy_BEGIN_ALLOW_THREADS
;
7549 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7551 wxPy_END_ALLOW_THREADS
;
7552 } _resultobj
= Py_BuildValue("i",_result
);
7556 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7557 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7561 PyObject
* _argo0
= 0;
7562 char *_kwnames
[] = { "self", NULL
};
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7575 wxPy_BEGIN_ALLOW_THREADS
;
7576 _result
= (bool )wxGrid_IsEditable(_arg0
);
7578 wxPy_END_ALLOW_THREADS
;
7579 } _resultobj
= Py_BuildValue("i",_result
);
7583 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7584 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7588 PyObject
* _argo0
= 0;
7590 char *_kwnames
[] = { "self","edit", NULL
};
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7602 _arg1
= (bool ) tempbool1
;
7604 wxPy_BEGIN_ALLOW_THREADS
;
7605 wxGrid_EnableEditing(_arg0
,_arg1
);
7607 wxPy_END_ALLOW_THREADS
;
7608 } Py_INCREF(Py_None
);
7609 _resultobj
= Py_None
;
7613 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7614 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
* _resultobj
;
7617 bool _arg1
= (bool ) TRUE
;
7618 PyObject
* _argo0
= 0;
7619 int tempbool1
= (int) TRUE
;
7620 char *_kwnames
[] = { "self","enable", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7632 _arg1
= (bool ) tempbool1
;
7634 wxPy_BEGIN_ALLOW_THREADS
;
7635 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7637 wxPy_END_ALLOW_THREADS
;
7638 } Py_INCREF(Py_None
);
7639 _resultobj
= Py_None
;
7643 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7644 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7647 PyObject
* _argo0
= 0;
7648 char *_kwnames
[] = { "self", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7661 wxPy_BEGIN_ALLOW_THREADS
;
7662 wxGrid_DisableCellEditControl(_arg0
);
7664 wxPy_END_ALLOW_THREADS
;
7665 } Py_INCREF(Py_None
);
7666 _resultobj
= Py_None
;
7670 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7671 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7675 PyObject
* _argo0
= 0;
7676 char *_kwnames
[] = { "self", NULL
};
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
7682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7689 wxPy_BEGIN_ALLOW_THREADS
;
7690 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7692 wxPy_END_ALLOW_THREADS
;
7693 } _resultobj
= Py_BuildValue("i",_result
);
7697 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7698 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
* _resultobj
;
7702 PyObject
* _argo0
= 0;
7703 char *_kwnames
[] = { "self", NULL
};
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
7709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7716 wxPy_BEGIN_ALLOW_THREADS
;
7717 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
7719 wxPy_END_ALLOW_THREADS
;
7720 } _resultobj
= Py_BuildValue("i",_result
);
7724 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7725 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
* _resultobj
;
7729 PyObject
* _argo0
= 0;
7730 char *_kwnames
[] = { "self", NULL
};
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
7736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7743 wxPy_BEGIN_ALLOW_THREADS
;
7744 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
7746 wxPy_END_ALLOW_THREADS
;
7747 } _resultobj
= Py_BuildValue("i",_result
);
7751 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7752 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7756 PyObject
* _argo0
= 0;
7757 char *_kwnames
[] = { "self", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7770 wxPy_BEGIN_ALLOW_THREADS
;
7771 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
7773 wxPy_END_ALLOW_THREADS
;
7774 } _resultobj
= Py_BuildValue("i",_result
);
7778 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7779 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
* _resultobj
;
7782 PyObject
* _argo0
= 0;
7783 char *_kwnames
[] = { "self", NULL
};
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
7789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7796 wxPy_BEGIN_ALLOW_THREADS
;
7797 wxGrid_ShowCellEditControl(_arg0
);
7799 wxPy_END_ALLOW_THREADS
;
7800 } Py_INCREF(Py_None
);
7801 _resultobj
= Py_None
;
7805 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7806 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
* _resultobj
;
7809 PyObject
* _argo0
= 0;
7810 char *_kwnames
[] = { "self", NULL
};
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
7816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7823 wxPy_BEGIN_ALLOW_THREADS
;
7824 wxGrid_HideCellEditControl(_arg0
);
7826 wxPy_END_ALLOW_THREADS
;
7827 } Py_INCREF(Py_None
);
7828 _resultobj
= Py_None
;
7832 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7833 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
* _resultobj
;
7836 PyObject
* _argo0
= 0;
7837 char *_kwnames
[] = { "self", NULL
};
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
7843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7850 wxPy_BEGIN_ALLOW_THREADS
;
7851 wxGrid_SaveEditControlValue(_arg0
);
7853 wxPy_END_ALLOW_THREADS
;
7854 } Py_INCREF(Py_None
);
7855 _resultobj
= Py_None
;
7859 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
7860 wxGridCellCoords rv
;
7861 self
->XYToCell(x
, y
, rv
);
7862 return new wxGridCellCoords(rv
);
7864 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7866 wxGridCellCoords
* _result
;
7870 PyObject
* _argo0
= 0;
7871 char *_kwnames
[] = { "self","x","y", NULL
};
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7885 wxPy_BEGIN_ALLOW_THREADS
;
7886 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
7888 wxPy_END_ALLOW_THREADS
;
7890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7891 _resultobj
= Py_BuildValue("s",_ptemp
);
7894 _resultobj
= Py_None
;
7899 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7900 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
* _resultobj
;
7905 PyObject
* _argo0
= 0;
7906 char *_kwnames
[] = { "self","y", NULL
};
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
7912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7919 wxPy_BEGIN_ALLOW_THREADS
;
7920 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
7922 wxPy_END_ALLOW_THREADS
;
7923 } _resultobj
= Py_BuildValue("i",_result
);
7927 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7928 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
* _resultobj
;
7933 PyObject
* _argo0
= 0;
7934 char *_kwnames
[] = { "self","x", NULL
};
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
7940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7947 wxPy_BEGIN_ALLOW_THREADS
;
7948 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
7950 wxPy_END_ALLOW_THREADS
;
7951 } _resultobj
= Py_BuildValue("i",_result
);
7955 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7956 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7961 PyObject
* _argo0
= 0;
7962 char *_kwnames
[] = { "self","y", NULL
};
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
7968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7975 wxPy_BEGIN_ALLOW_THREADS
;
7976 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
7978 wxPy_END_ALLOW_THREADS
;
7979 } _resultobj
= Py_BuildValue("i",_result
);
7983 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7984 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7989 PyObject
* _argo0
= 0;
7990 char *_kwnames
[] = { "self","x", NULL
};
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
7996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8003 wxPy_BEGIN_ALLOW_THREADS
;
8004 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8006 wxPy_END_ALLOW_THREADS
;
8007 } _resultobj
= Py_BuildValue("i",_result
);
8011 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8012 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
* _resultobj
;
8018 PyObject
* _argo0
= 0;
8019 char *_kwnames
[] = { "self","row","col", NULL
};
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8033 wxPy_BEGIN_ALLOW_THREADS
;
8034 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8036 wxPy_END_ALLOW_THREADS
;
8037 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8038 _resultobj
= Py_BuildValue("s",_ptemp
);
8042 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8043 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
* _resultobj
;
8047 PyObject
* _argo0
= 0;
8048 char *_kwnames
[] = { "self", NULL
};
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8061 wxPy_BEGIN_ALLOW_THREADS
;
8062 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8064 wxPy_END_ALLOW_THREADS
;
8065 } _resultobj
= Py_BuildValue("i",_result
);
8069 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8070 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
* _resultobj
;
8074 PyObject
* _argo0
= 0;
8075 char *_kwnames
[] = { "self", NULL
};
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8088 wxPy_BEGIN_ALLOW_THREADS
;
8089 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8091 wxPy_END_ALLOW_THREADS
;
8092 } _resultobj
= Py_BuildValue("i",_result
);
8096 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8097 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
* _resultobj
;
8103 bool _arg3
= (bool ) TRUE
;
8104 PyObject
* _argo0
= 0;
8105 int tempbool3
= (int) TRUE
;
8106 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8118 _arg3
= (bool ) tempbool3
;
8120 wxPy_BEGIN_ALLOW_THREADS
;
8121 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8123 wxPy_END_ALLOW_THREADS
;
8124 } _resultobj
= Py_BuildValue("i",_result
);
8128 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8129 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
* _resultobj
;
8134 PyObject
* _argo0
= 0;
8135 char *_kwnames
[] = { "self","row","col", NULL
};
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8148 wxPy_BEGIN_ALLOW_THREADS
;
8149 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8151 wxPy_END_ALLOW_THREADS
;
8152 } Py_INCREF(Py_None
);
8153 _resultobj
= Py_None
;
8157 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8158 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
* _resultobj
;
8163 PyObject
* _argo0
= 0;
8164 char *_kwnames
[] = { "self","row","col", NULL
};
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8177 wxPy_BEGIN_ALLOW_THREADS
;
8178 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8180 wxPy_END_ALLOW_THREADS
;
8181 } Py_INCREF(Py_None
);
8182 _resultobj
= Py_None
;
8186 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8187 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
* _resultobj
;
8192 PyObject
* _argo0
= 0;
8194 char *_kwnames
[] = { "self","expandSelection", NULL
};
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8206 _arg1
= (bool ) tempbool1
;
8208 wxPy_BEGIN_ALLOW_THREADS
;
8209 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8211 wxPy_END_ALLOW_THREADS
;
8212 } _resultobj
= Py_BuildValue("i",_result
);
8216 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8217 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
* _resultobj
;
8222 PyObject
* _argo0
= 0;
8224 char *_kwnames
[] = { "self","expandSelection", NULL
};
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8236 _arg1
= (bool ) tempbool1
;
8238 wxPy_BEGIN_ALLOW_THREADS
;
8239 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8241 wxPy_END_ALLOW_THREADS
;
8242 } _resultobj
= Py_BuildValue("i",_result
);
8246 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8247 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
* _resultobj
;
8252 PyObject
* _argo0
= 0;
8254 char *_kwnames
[] = { "self","expandSelection", NULL
};
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8266 _arg1
= (bool ) tempbool1
;
8268 wxPy_BEGIN_ALLOW_THREADS
;
8269 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8271 wxPy_END_ALLOW_THREADS
;
8272 } _resultobj
= Py_BuildValue("i",_result
);
8276 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8277 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
* _resultobj
;
8282 PyObject
* _argo0
= 0;
8284 char *_kwnames
[] = { "self","expandSelection", NULL
};
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8296 _arg1
= (bool ) tempbool1
;
8298 wxPy_BEGIN_ALLOW_THREADS
;
8299 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8301 wxPy_END_ALLOW_THREADS
;
8302 } _resultobj
= Py_BuildValue("i",_result
);
8306 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8307 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
* _resultobj
;
8311 PyObject
* _argo0
= 0;
8312 char *_kwnames
[] = { "self", NULL
};
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8325 wxPy_BEGIN_ALLOW_THREADS
;
8326 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8328 wxPy_END_ALLOW_THREADS
;
8329 } _resultobj
= Py_BuildValue("i",_result
);
8333 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8334 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
* _resultobj
;
8338 PyObject
* _argo0
= 0;
8339 char *_kwnames
[] = { "self", NULL
};
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8352 wxPy_BEGIN_ALLOW_THREADS
;
8353 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8355 wxPy_END_ALLOW_THREADS
;
8356 } _resultobj
= Py_BuildValue("i",_result
);
8360 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8361 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
* _resultobj
;
8366 PyObject
* _argo0
= 0;
8368 char *_kwnames
[] = { "self","expandSelection", NULL
};
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8380 _arg1
= (bool ) tempbool1
;
8382 wxPy_BEGIN_ALLOW_THREADS
;
8383 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8385 wxPy_END_ALLOW_THREADS
;
8386 } _resultobj
= Py_BuildValue("i",_result
);
8390 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8391 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
* _resultobj
;
8396 PyObject
* _argo0
= 0;
8398 char *_kwnames
[] = { "self","expandSelection", NULL
};
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8410 _arg1
= (bool ) tempbool1
;
8412 wxPy_BEGIN_ALLOW_THREADS
;
8413 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8415 wxPy_END_ALLOW_THREADS
;
8416 } _resultobj
= Py_BuildValue("i",_result
);
8420 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8421 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
* _resultobj
;
8426 PyObject
* _argo0
= 0;
8428 char *_kwnames
[] = { "self","expandSelection", NULL
};
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8440 _arg1
= (bool ) tempbool1
;
8442 wxPy_BEGIN_ALLOW_THREADS
;
8443 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8445 wxPy_END_ALLOW_THREADS
;
8446 } _resultobj
= Py_BuildValue("i",_result
);
8450 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8451 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
* _resultobj
;
8456 PyObject
* _argo0
= 0;
8458 char *_kwnames
[] = { "self","expandSelection", NULL
};
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8470 _arg1
= (bool ) tempbool1
;
8472 wxPy_BEGIN_ALLOW_THREADS
;
8473 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8475 wxPy_END_ALLOW_THREADS
;
8476 } _resultobj
= Py_BuildValue("i",_result
);
8480 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8481 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
* _resultobj
;
8485 PyObject
* _argo0
= 0;
8486 char *_kwnames
[] = { "self", NULL
};
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8499 wxPy_BEGIN_ALLOW_THREADS
;
8500 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8502 wxPy_END_ALLOW_THREADS
;
8503 } _resultobj
= Py_BuildValue("i",_result
);
8507 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8508 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8512 PyObject
* _argo0
= 0;
8513 char *_kwnames
[] = { "self", NULL
};
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8526 wxPy_BEGIN_ALLOW_THREADS
;
8527 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8529 wxPy_END_ALLOW_THREADS
;
8530 } _resultobj
= Py_BuildValue("i",_result
);
8534 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8535 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
* _resultobj
;
8539 PyObject
* _argo0
= 0;
8540 char *_kwnames
[] = { "self", NULL
};
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8553 wxPy_BEGIN_ALLOW_THREADS
;
8554 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8556 wxPy_END_ALLOW_THREADS
;
8557 } _resultobj
= Py_BuildValue("i",_result
);
8561 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8562 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
* _resultobj
;
8566 PyObject
* _argo0
= 0;
8567 char *_kwnames
[] = { "self", NULL
};
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8580 wxPy_BEGIN_ALLOW_THREADS
;
8581 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8583 wxPy_END_ALLOW_THREADS
;
8584 } _resultobj
= Py_BuildValue("i",_result
);
8588 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8589 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
* _resultobj
;
8593 PyObject
* _argo0
= 0;
8594 char *_kwnames
[] = { "self", NULL
};
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8608 wxPy_BEGIN_ALLOW_THREADS
;
8609 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8611 wxPy_END_ALLOW_THREADS
;
8612 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8613 _resultobj
= Py_BuildValue("s",_ptemp
);
8617 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8618 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
* _resultobj
;
8622 PyObject
* _argo0
= 0;
8623 char *_kwnames
[] = { "self", NULL
};
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8637 wxPy_BEGIN_ALLOW_THREADS
;
8638 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8640 wxPy_END_ALLOW_THREADS
;
8641 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8642 _resultobj
= Py_BuildValue("s",_ptemp
);
8646 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8647 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
* _resultobj
;
8651 PyObject
* _argo0
= 0;
8652 char *_kwnames
[] = { "self", NULL
};
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8666 wxPy_BEGIN_ALLOW_THREADS
;
8667 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8669 wxPy_END_ALLOW_THREADS
;
8670 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8671 _resultobj
= Py_BuildValue("s",_ptemp
);
8675 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8676 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
* _resultobj
;
8683 PyObject
* _argo0
= 0;
8684 char *_kwnames
[] = { "self", NULL
};
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
8696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8703 wxPy_BEGIN_ALLOW_THREADS
;
8704 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8706 wxPy_END_ALLOW_THREADS
;
8707 } Py_INCREF(Py_None
);
8708 _resultobj
= Py_None
;
8711 o
= PyInt_FromLong((long) (*_arg1
));
8712 _resultobj
= t_output_helper(_resultobj
, o
);
8716 o
= PyInt_FromLong((long) (*_arg2
));
8717 _resultobj
= t_output_helper(_resultobj
, o
);
8722 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8723 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
* _resultobj
;
8730 PyObject
* _argo0
= 0;
8731 char *_kwnames
[] = { "self", NULL
};
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
8743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8750 wxPy_BEGIN_ALLOW_THREADS
;
8751 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
8753 wxPy_END_ALLOW_THREADS
;
8754 } Py_INCREF(Py_None
);
8755 _resultobj
= Py_None
;
8758 o
= PyInt_FromLong((long) (*_arg1
));
8759 _resultobj
= t_output_helper(_resultobj
, o
);
8763 o
= PyInt_FromLong((long) (*_arg2
));
8764 _resultobj
= t_output_helper(_resultobj
, o
);
8769 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8770 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
* _resultobj
;
8775 PyObject
* _argo0
= 0;
8776 char *_kwnames
[] = { "self","row", NULL
};
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
8782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8789 wxPy_BEGIN_ALLOW_THREADS
;
8790 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
8792 wxPy_END_ALLOW_THREADS
;
8794 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8802 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8803 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
* _resultobj
;
8808 PyObject
* _argo0
= 0;
8809 char *_kwnames
[] = { "self","col", NULL
};
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
8815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8822 wxPy_BEGIN_ALLOW_THREADS
;
8823 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
8825 wxPy_END_ALLOW_THREADS
;
8827 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8835 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8836 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
* _resultobj
;
8840 PyObject
* _argo0
= 0;
8841 char *_kwnames
[] = { "self", NULL
};
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
8848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8855 wxPy_BEGIN_ALLOW_THREADS
;
8856 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
8858 wxPy_END_ALLOW_THREADS
;
8859 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8860 _resultobj
= Py_BuildValue("s",_ptemp
);
8864 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8865 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
* _resultobj
;
8869 PyObject
* _argo0
= 0;
8870 char *_kwnames
[] = { "self", NULL
};
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
8877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8884 wxPy_BEGIN_ALLOW_THREADS
;
8885 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
8887 wxPy_END_ALLOW_THREADS
;
8888 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8889 _resultobj
= Py_BuildValue("s",_ptemp
);
8893 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
8894 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
* _resultobj
;
8898 PyObject
* _argo0
= 0;
8899 char *_kwnames
[] = { "self", NULL
};
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
8905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
8912 wxPy_BEGIN_ALLOW_THREADS
;
8913 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
8915 wxPy_END_ALLOW_THREADS
;
8916 } _resultobj
= Py_BuildValue("i",_result
);
8920 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
8921 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
* _resultobj
;
8925 PyObject
* _argo0
= 0;
8926 char *_kwnames
[] = { "self", NULL
};
8929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
8932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
8939 wxPy_BEGIN_ALLOW_THREADS
;
8940 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
8942 wxPy_END_ALLOW_THREADS
;
8943 } _resultobj
= Py_BuildValue("i",_result
);
8947 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8948 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
* _resultobj
;
8952 PyObject
* _argo0
= 0;
8953 char *_kwnames
[] = { "self","width", NULL
};
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
8959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8966 wxPy_BEGIN_ALLOW_THREADS
;
8967 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
8969 wxPy_END_ALLOW_THREADS
;
8970 } Py_INCREF(Py_None
);
8971 _resultobj
= Py_None
;
8975 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8976 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
* _resultobj
;
8980 PyObject
* _argo0
= 0;
8981 char *_kwnames
[] = { "self","height", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8994 wxPy_BEGIN_ALLOW_THREADS
;
8995 wxGrid_SetColLabelSize(_arg0
,_arg1
);
8997 wxPy_END_ALLOW_THREADS
;
8998 } Py_INCREF(Py_None
);
8999 _resultobj
= Py_None
;
9003 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9004 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
* _resultobj
;
9008 PyObject
* _argo0
= 0;
9010 PyObject
* _obj1
= 0;
9011 char *_kwnames
[] = { "self","arg2", NULL
};
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9025 if (! wxColour_helper(_obj1
, &_arg1
))
9029 wxPy_BEGIN_ALLOW_THREADS
;
9030 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9032 wxPy_END_ALLOW_THREADS
;
9033 } Py_INCREF(Py_None
);
9034 _resultobj
= Py_None
;
9038 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9039 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
* _resultobj
;
9043 PyObject
* _argo0
= 0;
9045 PyObject
* _obj1
= 0;
9046 char *_kwnames
[] = { "self","arg2", NULL
};
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9060 if (! wxColour_helper(_obj1
, &_arg1
))
9064 wxPy_BEGIN_ALLOW_THREADS
;
9065 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9067 wxPy_END_ALLOW_THREADS
;
9068 } Py_INCREF(Py_None
);
9069 _resultobj
= Py_None
;
9073 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9074 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
* _resultobj
;
9078 PyObject
* _argo0
= 0;
9079 PyObject
* _argo1
= 0;
9080 char *_kwnames
[] = { "self","arg2", NULL
};
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9100 wxPy_BEGIN_ALLOW_THREADS
;
9101 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9103 wxPy_END_ALLOW_THREADS
;
9104 } Py_INCREF(Py_None
);
9105 _resultobj
= Py_None
;
9109 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9110 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
* _resultobj
;
9115 PyObject
* _argo0
= 0;
9116 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9129 wxPy_BEGIN_ALLOW_THREADS
;
9130 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9132 wxPy_END_ALLOW_THREADS
;
9133 } Py_INCREF(Py_None
);
9134 _resultobj
= Py_None
;
9138 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9139 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
* _resultobj
;
9144 PyObject
* _argo0
= 0;
9145 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9158 wxPy_BEGIN_ALLOW_THREADS
;
9159 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9161 wxPy_END_ALLOW_THREADS
;
9162 } Py_INCREF(Py_None
);
9163 _resultobj
= Py_None
;
9167 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9168 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
* _resultobj
;
9173 PyObject
* _argo0
= 0;
9174 PyObject
* _obj2
= 0;
9175 char *_kwnames
[] = { "self","row","arg3", NULL
};
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9188 #if PYTHON_API_VERSION >= 1009
9189 char* tmpPtr
; int tmpSize
;
9190 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9194 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9196 _arg2
= new wxString(tmpPtr
, tmpSize
);
9198 if (!PyString_Check(_obj2
)) {
9199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9202 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9206 wxPy_BEGIN_ALLOW_THREADS
;
9207 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9209 wxPy_END_ALLOW_THREADS
;
9210 } Py_INCREF(Py_None
);
9211 _resultobj
= Py_None
;
9219 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9220 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
* _resultobj
;
9225 PyObject
* _argo0
= 0;
9226 PyObject
* _obj2
= 0;
9227 char *_kwnames
[] = { "self","col","arg3", NULL
};
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9240 #if PYTHON_API_VERSION >= 1009
9241 char* tmpPtr
; int tmpSize
;
9242 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9246 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9248 _arg2
= new wxString(tmpPtr
, tmpSize
);
9250 if (!PyString_Check(_obj2
)) {
9251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9254 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9258 wxPy_BEGIN_ALLOW_THREADS
;
9259 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9261 wxPy_END_ALLOW_THREADS
;
9262 } Py_INCREF(Py_None
);
9263 _resultobj
= Py_None
;
9271 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9272 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
* _resultobj
;
9276 PyObject
* _argo0
= 0;
9278 PyObject
* _obj1
= 0;
9279 char *_kwnames
[] = { "self","arg2", NULL
};
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9293 if (! wxColour_helper(_obj1
, &_arg1
))
9297 wxPy_BEGIN_ALLOW_THREADS
;
9298 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9300 wxPy_END_ALLOW_THREADS
;
9301 } Py_INCREF(Py_None
);
9302 _resultobj
= Py_None
;
9306 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9307 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
* _resultobj
;
9311 PyObject
* _argo0
= 0;
9313 PyObject
* _obj1
= 0;
9314 char *_kwnames
[] = { "self","arg2", NULL
};
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9328 if (! wxColour_helper(_obj1
, &_arg1
))
9332 wxPy_BEGIN_ALLOW_THREADS
;
9333 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9335 wxPy_END_ALLOW_THREADS
;
9336 } Py_INCREF(Py_None
);
9337 _resultobj
= Py_None
;
9341 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9342 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9346 PyObject
* _argo0
= 0;
9347 char *_kwnames
[] = { "self","width", NULL
};
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9360 wxPy_BEGIN_ALLOW_THREADS
;
9361 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9363 wxPy_END_ALLOW_THREADS
;
9364 } Py_INCREF(Py_None
);
9365 _resultobj
= Py_None
;
9369 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9370 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
* _resultobj
;
9374 PyObject
* _argo0
= 0;
9375 char *_kwnames
[] = { "self","width", NULL
};
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9388 wxPy_BEGIN_ALLOW_THREADS
;
9389 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9391 wxPy_END_ALLOW_THREADS
;
9392 } Py_INCREF(Py_None
);
9393 _resultobj
= Py_None
;
9397 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9398 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
* _resultobj
;
9401 bool _arg1
= (bool ) TRUE
;
9402 PyObject
* _argo0
= 0;
9403 int tempbool1
= (int) TRUE
;
9404 char *_kwnames
[] = { "self","enable", NULL
};
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9416 _arg1
= (bool ) tempbool1
;
9418 wxPy_BEGIN_ALLOW_THREADS
;
9419 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9421 wxPy_END_ALLOW_THREADS
;
9422 } Py_INCREF(Py_None
);
9423 _resultobj
= Py_None
;
9427 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9428 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
* _resultobj
;
9431 PyObject
* _argo0
= 0;
9432 char *_kwnames
[] = { "self", NULL
};
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9445 wxPy_BEGIN_ALLOW_THREADS
;
9446 wxGrid_DisableDragRowSize(_arg0
);
9448 wxPy_END_ALLOW_THREADS
;
9449 } Py_INCREF(Py_None
);
9450 _resultobj
= Py_None
;
9454 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9455 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
* _resultobj
;
9459 PyObject
* _argo0
= 0;
9460 char *_kwnames
[] = { "self", NULL
};
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9473 wxPy_BEGIN_ALLOW_THREADS
;
9474 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9476 wxPy_END_ALLOW_THREADS
;
9477 } _resultobj
= Py_BuildValue("i",_result
);
9481 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9482 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
* _resultobj
;
9485 bool _arg1
= (bool ) TRUE
;
9486 PyObject
* _argo0
= 0;
9487 int tempbool1
= (int) TRUE
;
9488 char *_kwnames
[] = { "self","enable", NULL
};
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9500 _arg1
= (bool ) tempbool1
;
9502 wxPy_BEGIN_ALLOW_THREADS
;
9503 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9505 wxPy_END_ALLOW_THREADS
;
9506 } Py_INCREF(Py_None
);
9507 _resultobj
= Py_None
;
9511 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9512 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
* _resultobj
;
9515 PyObject
* _argo0
= 0;
9516 char *_kwnames
[] = { "self", NULL
};
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9529 wxPy_BEGIN_ALLOW_THREADS
;
9530 wxGrid_DisableDragColSize(_arg0
);
9532 wxPy_END_ALLOW_THREADS
;
9533 } Py_INCREF(Py_None
);
9534 _resultobj
= Py_None
;
9538 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9539 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
* _resultobj
;
9543 PyObject
* _argo0
= 0;
9544 char *_kwnames
[] = { "self", NULL
};
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9557 wxPy_BEGIN_ALLOW_THREADS
;
9558 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9560 wxPy_END_ALLOW_THREADS
;
9561 } _resultobj
= Py_BuildValue("i",_result
);
9565 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9566 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
* _resultobj
;
9569 bool _arg1
= (bool ) TRUE
;
9570 PyObject
* _argo0
= 0;
9571 int tempbool1
= (int) TRUE
;
9572 char *_kwnames
[] = { "self","enable", NULL
};
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9584 _arg1
= (bool ) tempbool1
;
9586 wxPy_BEGIN_ALLOW_THREADS
;
9587 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9589 wxPy_END_ALLOW_THREADS
;
9590 } Py_INCREF(Py_None
);
9591 _resultobj
= Py_None
;
9595 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9596 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
* _resultobj
;
9599 PyObject
* _argo0
= 0;
9600 char *_kwnames
[] = { "self", NULL
};
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9613 wxPy_BEGIN_ALLOW_THREADS
;
9614 wxGrid_DisableDragGridSize(_arg0
);
9616 wxPy_END_ALLOW_THREADS
;
9617 } Py_INCREF(Py_None
);
9618 _resultobj
= Py_None
;
9622 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9623 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
* _resultobj
;
9627 PyObject
* _argo0
= 0;
9628 char *_kwnames
[] = { "self", NULL
};
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9641 wxPy_BEGIN_ALLOW_THREADS
;
9642 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9644 wxPy_END_ALLOW_THREADS
;
9645 } _resultobj
= Py_BuildValue("i",_result
);
9649 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9650 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
* _resultobj
;
9654 wxGridCellAttr
* _arg2
;
9655 PyObject
* _argo0
= 0;
9656 PyObject
* _argo2
= 0;
9657 char *_kwnames
[] = { "self","row","attr", NULL
};
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9670 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9671 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9677 wxPy_BEGIN_ALLOW_THREADS
;
9678 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
9680 wxPy_END_ALLOW_THREADS
;
9681 } Py_INCREF(Py_None
);
9682 _resultobj
= Py_None
;
9686 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9687 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
* _resultobj
;
9691 wxGridCellAttr
* _arg2
;
9692 PyObject
* _argo0
= 0;
9693 PyObject
* _argo2
= 0;
9694 char *_kwnames
[] = { "self","col","attr", NULL
};
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9707 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9708 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9714 wxPy_BEGIN_ALLOW_THREADS
;
9715 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
9717 wxPy_END_ALLOW_THREADS
;
9718 } Py_INCREF(Py_None
);
9719 _resultobj
= Py_None
;
9723 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9724 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
* _resultobj
;
9728 PyObject
* _argo0
= 0;
9729 char *_kwnames
[] = { "self","col", NULL
};
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
9735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9742 wxPy_BEGIN_ALLOW_THREADS
;
9743 wxGrid_SetColFormatBool(_arg0
,_arg1
);
9745 wxPy_END_ALLOW_THREADS
;
9746 } Py_INCREF(Py_None
);
9747 _resultobj
= Py_None
;
9751 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9752 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
* _resultobj
;
9756 PyObject
* _argo0
= 0;
9757 char *_kwnames
[] = { "self","col", NULL
};
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
9763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9770 wxPy_BEGIN_ALLOW_THREADS
;
9771 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
9773 wxPy_END_ALLOW_THREADS
;
9774 } Py_INCREF(Py_None
);
9775 _resultobj
= Py_None
;
9779 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9780 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
* _resultobj
;
9784 int _arg2
= (int ) -1;
9785 int _arg3
= (int ) -1;
9786 PyObject
* _argo0
= 0;
9787 char *_kwnames
[] = { "self","col","width","precision", NULL
};
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9800 wxPy_BEGIN_ALLOW_THREADS
;
9801 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
9803 wxPy_END_ALLOW_THREADS
;
9804 } Py_INCREF(Py_None
);
9805 _resultobj
= Py_None
;
9809 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9810 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
* _resultobj
;
9815 PyObject
* _argo0
= 0;
9816 PyObject
* _obj2
= 0;
9817 char *_kwnames
[] = { "self","col","typeName", NULL
};
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9830 #if PYTHON_API_VERSION >= 1009
9831 char* tmpPtr
; int tmpSize
;
9832 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9836 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9838 _arg2
= new wxString(tmpPtr
, tmpSize
);
9840 if (!PyString_Check(_obj2
)) {
9841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9844 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9848 wxPy_BEGIN_ALLOW_THREADS
;
9849 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
9851 wxPy_END_ALLOW_THREADS
;
9852 } Py_INCREF(Py_None
);
9853 _resultobj
= Py_None
;
9861 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9862 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
* _resultobj
;
9865 bool _arg1
= (bool ) TRUE
;
9866 PyObject
* _argo0
= 0;
9867 int tempbool1
= (int) TRUE
;
9868 char *_kwnames
[] = { "self","enable", NULL
};
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
9874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9880 _arg1
= (bool ) tempbool1
;
9882 wxPy_BEGIN_ALLOW_THREADS
;
9883 wxGrid_EnableGridLines(_arg0
,_arg1
);
9885 wxPy_END_ALLOW_THREADS
;
9886 } Py_INCREF(Py_None
);
9887 _resultobj
= Py_None
;
9891 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9892 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
* _resultobj
;
9896 PyObject
* _argo0
= 0;
9897 char *_kwnames
[] = { "self", NULL
};
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
9903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9910 wxPy_BEGIN_ALLOW_THREADS
;
9911 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
9913 wxPy_END_ALLOW_THREADS
;
9914 } _resultobj
= Py_BuildValue("i",_result
);
9918 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9919 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
* _resultobj
;
9923 PyObject
* _argo0
= 0;
9924 char *_kwnames
[] = { "self", NULL
};
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
9930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9937 wxPy_BEGIN_ALLOW_THREADS
;
9938 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
9940 wxPy_END_ALLOW_THREADS
;
9941 } _resultobj
= Py_BuildValue("i",_result
);
9945 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9946 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
* _resultobj
;
9951 PyObject
* _argo0
= 0;
9952 char *_kwnames
[] = { "self","row", NULL
};
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
9958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9965 wxPy_BEGIN_ALLOW_THREADS
;
9966 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
9968 wxPy_END_ALLOW_THREADS
;
9969 } _resultobj
= Py_BuildValue("i",_result
);
9973 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9974 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
* _resultobj
;
9978 PyObject
* _argo0
= 0;
9979 char *_kwnames
[] = { "self", NULL
};
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
9985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9992 wxPy_BEGIN_ALLOW_THREADS
;
9993 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
9995 wxPy_END_ALLOW_THREADS
;
9996 } _resultobj
= Py_BuildValue("i",_result
);
10000 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10001 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
* _resultobj
;
10006 PyObject
* _argo0
= 0;
10007 char *_kwnames
[] = { "self","col", NULL
};
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10020 wxPy_BEGIN_ALLOW_THREADS
;
10021 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10023 wxPy_END_ALLOW_THREADS
;
10024 } _resultobj
= Py_BuildValue("i",_result
);
10028 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10029 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
* _resultobj
;
10031 wxColour
* _result
;
10033 PyObject
* _argo0
= 0;
10034 char *_kwnames
[] = { "self", NULL
};
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10048 wxPy_BEGIN_ALLOW_THREADS
;
10049 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10051 wxPy_END_ALLOW_THREADS
;
10052 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10053 _resultobj
= Py_BuildValue("s",_ptemp
);
10057 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10058 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
* _resultobj
;
10060 wxColour
* _result
;
10064 PyObject
* _argo0
= 0;
10065 char *_kwnames
[] = { "self","row","col", NULL
};
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10079 wxPy_BEGIN_ALLOW_THREADS
;
10080 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10082 wxPy_END_ALLOW_THREADS
;
10083 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10084 _resultobj
= Py_BuildValue("s",_ptemp
);
10088 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10089 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
* _resultobj
;
10091 wxColour
* _result
;
10093 PyObject
* _argo0
= 0;
10094 char *_kwnames
[] = { "self", NULL
};
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10108 wxPy_BEGIN_ALLOW_THREADS
;
10109 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10111 wxPy_END_ALLOW_THREADS
;
10112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10113 _resultobj
= Py_BuildValue("s",_ptemp
);
10117 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10118 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
* _resultobj
;
10120 wxColour
* _result
;
10124 PyObject
* _argo0
= 0;
10125 char *_kwnames
[] = { "self","row","col", NULL
};
10129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10139 wxPy_BEGIN_ALLOW_THREADS
;
10140 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10142 wxPy_END_ALLOW_THREADS
;
10143 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10144 _resultobj
= Py_BuildValue("s",_ptemp
);
10148 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10149 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
* _resultobj
;
10153 PyObject
* _argo0
= 0;
10154 char *_kwnames
[] = { "self", NULL
};
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10168 wxPy_BEGIN_ALLOW_THREADS
;
10169 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10171 wxPy_END_ALLOW_THREADS
;
10172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10173 _resultobj
= Py_BuildValue("s",_ptemp
);
10177 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10178 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
* _resultobj
;
10184 PyObject
* _argo0
= 0;
10185 char *_kwnames
[] = { "self","row","col", NULL
};
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10199 wxPy_BEGIN_ALLOW_THREADS
;
10200 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10202 wxPy_END_ALLOW_THREADS
;
10203 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10204 _resultobj
= Py_BuildValue("s",_ptemp
);
10208 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10209 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
* _resultobj
;
10214 PyObject
* _argo0
= 0;
10215 PyObject
* _argo1
= 0;
10216 PyObject
* _argo2
= 0;
10217 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10237 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10238 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10244 wxPy_BEGIN_ALLOW_THREADS
;
10245 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10247 wxPy_END_ALLOW_THREADS
;
10248 } Py_INCREF(Py_None
);
10249 _resultobj
= Py_None
;
10253 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10254 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
* _resultobj
;
10261 PyObject
* _argo0
= 0;
10262 PyObject
* _argo3
= 0;
10263 PyObject
* _argo4
= 0;
10264 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10277 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10278 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10284 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10285 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10291 wxPy_BEGIN_ALLOW_THREADS
;
10292 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10294 wxPy_END_ALLOW_THREADS
;
10295 } Py_INCREF(Py_None
);
10296 _resultobj
= Py_None
;
10300 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10301 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
* _resultobj
;
10305 bool _arg2
= (bool ) FALSE
;
10306 PyObject
* _argo0
= 0;
10307 int tempbool2
= (int) FALSE
;
10308 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10320 _arg2
= (bool ) tempbool2
;
10322 wxPy_BEGIN_ALLOW_THREADS
;
10323 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10325 wxPy_END_ALLOW_THREADS
;
10326 } Py_INCREF(Py_None
);
10327 _resultobj
= Py_None
;
10331 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10332 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
* _resultobj
;
10337 PyObject
* _argo0
= 0;
10338 char *_kwnames
[] = { "self","row","height", NULL
};
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10351 wxPy_BEGIN_ALLOW_THREADS
;
10352 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10354 wxPy_END_ALLOW_THREADS
;
10355 } Py_INCREF(Py_None
);
10356 _resultobj
= Py_None
;
10360 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10361 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
* _resultobj
;
10365 bool _arg2
= (bool ) FALSE
;
10366 PyObject
* _argo0
= 0;
10367 int tempbool2
= (int) FALSE
;
10368 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10380 _arg2
= (bool ) tempbool2
;
10382 wxPy_BEGIN_ALLOW_THREADS
;
10383 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10385 wxPy_END_ALLOW_THREADS
;
10386 } Py_INCREF(Py_None
);
10387 _resultobj
= Py_None
;
10391 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10392 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
* _resultobj
;
10397 PyObject
* _argo0
= 0;
10398 char *_kwnames
[] = { "self","col","width", NULL
};
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10411 wxPy_BEGIN_ALLOW_THREADS
;
10412 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10414 wxPy_END_ALLOW_THREADS
;
10415 } Py_INCREF(Py_None
);
10416 _resultobj
= Py_None
;
10420 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10421 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
* _resultobj
;
10425 bool _arg2
= (bool ) TRUE
;
10426 PyObject
* _argo0
= 0;
10427 int tempbool2
= (int) TRUE
;
10428 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10440 _arg2
= (bool ) tempbool2
;
10442 wxPy_BEGIN_ALLOW_THREADS
;
10443 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10445 wxPy_END_ALLOW_THREADS
;
10446 } Py_INCREF(Py_None
);
10447 _resultobj
= Py_None
;
10451 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10452 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
* _resultobj
;
10456 bool _arg2
= (bool ) TRUE
;
10457 PyObject
* _argo0
= 0;
10458 int tempbool2
= (int) TRUE
;
10459 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10471 _arg2
= (bool ) tempbool2
;
10473 wxPy_BEGIN_ALLOW_THREADS
;
10474 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10476 wxPy_END_ALLOW_THREADS
;
10477 } Py_INCREF(Py_None
);
10478 _resultobj
= Py_None
;
10482 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10483 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
* _resultobj
;
10486 bool _arg1
= (bool ) TRUE
;
10487 PyObject
* _argo0
= 0;
10488 int tempbool1
= (int) TRUE
;
10489 char *_kwnames
[] = { "self","setAsMin", NULL
};
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10501 _arg1
= (bool ) tempbool1
;
10503 wxPy_BEGIN_ALLOW_THREADS
;
10504 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10506 wxPy_END_ALLOW_THREADS
;
10507 } Py_INCREF(Py_None
);
10508 _resultobj
= Py_None
;
10512 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10513 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
* _resultobj
;
10516 bool _arg1
= (bool ) TRUE
;
10517 PyObject
* _argo0
= 0;
10518 int tempbool1
= (int) TRUE
;
10519 char *_kwnames
[] = { "self","setAsMin", NULL
};
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10531 _arg1
= (bool ) tempbool1
;
10533 wxPy_BEGIN_ALLOW_THREADS
;
10534 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10536 wxPy_END_ALLOW_THREADS
;
10537 } Py_INCREF(Py_None
);
10538 _resultobj
= Py_None
;
10542 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10543 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
* _resultobj
;
10546 PyObject
* _argo0
= 0;
10547 char *_kwnames
[] = { "self", NULL
};
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
10553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10560 wxPy_BEGIN_ALLOW_THREADS
;
10561 wxGrid_AutoSize(_arg0
);
10563 wxPy_END_ALLOW_THREADS
;
10564 } Py_INCREF(Py_None
);
10565 _resultobj
= Py_None
;
10569 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10570 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
* _resultobj
;
10575 PyObject
* _argo0
= 0;
10576 char *_kwnames
[] = { "self","col","width", NULL
};
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10589 wxPy_BEGIN_ALLOW_THREADS
;
10590 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10592 wxPy_END_ALLOW_THREADS
;
10593 } Py_INCREF(Py_None
);
10594 _resultobj
= Py_None
;
10598 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10599 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
* _resultobj
;
10604 PyObject
* _argo0
= 0;
10605 char *_kwnames
[] = { "self","row","width", NULL
};
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10618 wxPy_BEGIN_ALLOW_THREADS
;
10619 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10621 wxPy_END_ALLOW_THREADS
;
10622 } Py_INCREF(Py_None
);
10623 _resultobj
= Py_None
;
10627 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10628 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
* _resultobj
;
10632 PyObject
* _argo0
= 0;
10634 PyObject
* _obj1
= 0;
10635 char *_kwnames
[] = { "self","arg2", NULL
};
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10649 if (! wxColour_helper(_obj1
, &_arg1
))
10653 wxPy_BEGIN_ALLOW_THREADS
;
10654 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
10656 wxPy_END_ALLOW_THREADS
;
10657 } Py_INCREF(Py_None
);
10658 _resultobj
= Py_None
;
10662 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10663 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
* _resultobj
;
10669 PyObject
* _argo0
= 0;
10671 PyObject
* _obj3
= 0;
10672 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10686 if (! wxColour_helper(_obj3
, &_arg3
))
10690 wxPy_BEGIN_ALLOW_THREADS
;
10691 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10693 wxPy_END_ALLOW_THREADS
;
10694 } Py_INCREF(Py_None
);
10695 _resultobj
= Py_None
;
10699 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10700 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
* _resultobj
;
10704 PyObject
* _argo0
= 0;
10706 PyObject
* _obj1
= 0;
10707 char *_kwnames
[] = { "self","arg2", NULL
};
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
10713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10721 if (! wxColour_helper(_obj1
, &_arg1
))
10725 wxPy_BEGIN_ALLOW_THREADS
;
10726 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
10728 wxPy_END_ALLOW_THREADS
;
10729 } Py_INCREF(Py_None
);
10730 _resultobj
= Py_None
;
10734 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10735 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
* _resultobj
;
10741 PyObject
* _argo0
= 0;
10743 PyObject
* _obj3
= 0;
10744 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10758 if (! wxColour_helper(_obj3
, &_arg3
))
10762 wxPy_BEGIN_ALLOW_THREADS
;
10763 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10765 wxPy_END_ALLOW_THREADS
;
10766 } Py_INCREF(Py_None
);
10767 _resultobj
= Py_None
;
10771 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10772 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
* _resultobj
;
10776 PyObject
* _argo0
= 0;
10777 PyObject
* _argo1
= 0;
10778 char *_kwnames
[] = { "self","arg2", NULL
};
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
10784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10791 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10792 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10798 wxPy_BEGIN_ALLOW_THREADS
;
10799 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
10801 wxPy_END_ALLOW_THREADS
;
10802 } Py_INCREF(Py_None
);
10803 _resultobj
= Py_None
;
10807 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10808 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
* _resultobj
;
10814 PyObject
* _argo0
= 0;
10815 PyObject
* _argo3
= 0;
10816 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10829 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10830 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
10831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10836 wxPy_BEGIN_ALLOW_THREADS
;
10837 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
10839 wxPy_END_ALLOW_THREADS
;
10840 } Py_INCREF(Py_None
);
10841 _resultobj
= Py_None
;
10845 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10846 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
* _resultobj
;
10851 PyObject
* _argo0
= 0;
10852 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10865 wxPy_BEGIN_ALLOW_THREADS
;
10866 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10868 wxPy_END_ALLOW_THREADS
;
10869 } Py_INCREF(Py_None
);
10870 _resultobj
= Py_None
;
10874 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10875 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
* _resultobj
;
10882 PyObject
* _argo0
= 0;
10883 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10896 wxPy_BEGIN_ALLOW_THREADS
;
10897 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10899 wxPy_END_ALLOW_THREADS
;
10900 } Py_INCREF(Py_None
);
10901 _resultobj
= Py_None
;
10905 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10906 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
* _resultobj
;
10909 wxGridCellRenderer
* _arg1
;
10910 PyObject
* _argo0
= 0;
10911 PyObject
* _argo1
= 0;
10912 char *_kwnames
[] = { "self","renderer", NULL
};
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
10918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10925 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10926 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
10927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10932 wxPy_BEGIN_ALLOW_THREADS
;
10933 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
10935 wxPy_END_ALLOW_THREADS
;
10936 } Py_INCREF(Py_None
);
10937 _resultobj
= Py_None
;
10941 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10942 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
* _resultobj
;
10947 wxGridCellRenderer
* _arg3
;
10948 PyObject
* _argo0
= 0;
10949 PyObject
* _argo3
= 0;
10950 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10963 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10964 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
10965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10970 wxPy_BEGIN_ALLOW_THREADS
;
10971 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
10973 wxPy_END_ALLOW_THREADS
;
10974 } Py_INCREF(Py_None
);
10975 _resultobj
= Py_None
;
10979 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10980 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
* _resultobj
;
10982 wxGridCellRenderer
* _result
;
10984 PyObject
* _argo0
= 0;
10985 char *_kwnames
[] = { "self", NULL
};
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
10992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10999 wxPy_BEGIN_ALLOW_THREADS
;
11000 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11002 wxPy_END_ALLOW_THREADS
;
11004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11005 _resultobj
= Py_BuildValue("s",_ptemp
);
11007 Py_INCREF(Py_None
);
11008 _resultobj
= Py_None
;
11013 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11014 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
* _resultobj
;
11016 wxGridCellRenderer
* _result
;
11020 PyObject
* _argo0
= 0;
11021 char *_kwnames
[] = { "self","row","col", NULL
};
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11035 wxPy_BEGIN_ALLOW_THREADS
;
11036 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11038 wxPy_END_ALLOW_THREADS
;
11040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11041 _resultobj
= Py_BuildValue("s",_ptemp
);
11043 Py_INCREF(Py_None
);
11044 _resultobj
= Py_None
;
11049 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11050 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
* _resultobj
;
11053 wxGridCellEditor
* _arg1
;
11054 PyObject
* _argo0
= 0;
11055 PyObject
* _argo1
= 0;
11056 char *_kwnames
[] = { "self","editor", NULL
};
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11076 wxPy_BEGIN_ALLOW_THREADS
;
11077 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11079 wxPy_END_ALLOW_THREADS
;
11080 } Py_INCREF(Py_None
);
11081 _resultobj
= Py_None
;
11085 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11086 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
* _resultobj
;
11091 wxGridCellEditor
* _arg3
;
11092 PyObject
* _argo0
= 0;
11093 PyObject
* _argo3
= 0;
11094 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11107 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11108 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11114 wxPy_BEGIN_ALLOW_THREADS
;
11115 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11117 wxPy_END_ALLOW_THREADS
;
11118 } Py_INCREF(Py_None
);
11119 _resultobj
= Py_None
;
11123 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11124 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
* _resultobj
;
11126 wxGridCellEditor
* _result
;
11128 PyObject
* _argo0
= 0;
11129 char *_kwnames
[] = { "self", NULL
};
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11143 wxPy_BEGIN_ALLOW_THREADS
;
11144 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11146 wxPy_END_ALLOW_THREADS
;
11148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11149 _resultobj
= Py_BuildValue("s",_ptemp
);
11151 Py_INCREF(Py_None
);
11152 _resultobj
= Py_None
;
11157 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11158 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
* _resultobj
;
11160 wxGridCellEditor
* _result
;
11164 PyObject
* _argo0
= 0;
11165 char *_kwnames
[] = { "self","row","col", NULL
};
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11179 wxPy_BEGIN_ALLOW_THREADS
;
11180 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11182 wxPy_END_ALLOW_THREADS
;
11184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11185 _resultobj
= Py_BuildValue("s",_ptemp
);
11187 Py_INCREF(Py_None
);
11188 _resultobj
= Py_None
;
11193 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11194 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
* _resultobj
;
11196 wxString
* _result
;
11200 PyObject
* _argo0
= 0;
11201 char *_kwnames
[] = { "self","row","col", NULL
};
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11214 wxPy_BEGIN_ALLOW_THREADS
;
11215 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11217 wxPy_END_ALLOW_THREADS
;
11219 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11227 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11228 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
* _resultobj
;
11234 PyObject
* _argo0
= 0;
11235 PyObject
* _obj3
= 0;
11236 char *_kwnames
[] = { "self","row","col","s", NULL
};
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11249 #if PYTHON_API_VERSION >= 1009
11250 char* tmpPtr
; int tmpSize
;
11251 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11255 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11257 _arg3
= new wxString(tmpPtr
, tmpSize
);
11259 if (!PyString_Check(_obj3
)) {
11260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11263 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11267 wxPy_BEGIN_ALLOW_THREADS
;
11268 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11270 wxPy_END_ALLOW_THREADS
;
11271 } Py_INCREF(Py_None
);
11272 _resultobj
= Py_None
;
11280 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11281 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
* _resultobj
;
11287 PyObject
* _argo0
= 0;
11288 char *_kwnames
[] = { "self","row","col", NULL
};
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11301 wxPy_BEGIN_ALLOW_THREADS
;
11302 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11304 wxPy_END_ALLOW_THREADS
;
11305 } _resultobj
= Py_BuildValue("i",_result
);
11309 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11310 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
* _resultobj
;
11315 bool _arg3
= (bool ) TRUE
;
11316 PyObject
* _argo0
= 0;
11317 int tempbool3
= (int) TRUE
;
11318 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11330 _arg3
= (bool ) tempbool3
;
11332 wxPy_BEGIN_ALLOW_THREADS
;
11333 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11335 wxPy_END_ALLOW_THREADS
;
11336 } Py_INCREF(Py_None
);
11337 _resultobj
= Py_None
;
11341 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11342 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
* _resultobj
;
11346 bool _arg2
= (bool ) FALSE
;
11347 PyObject
* _argo0
= 0;
11348 int tempbool2
= (int) FALSE
;
11349 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11361 _arg2
= (bool ) tempbool2
;
11363 wxPy_BEGIN_ALLOW_THREADS
;
11364 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11366 wxPy_END_ALLOW_THREADS
;
11367 } Py_INCREF(Py_None
);
11368 _resultobj
= Py_None
;
11372 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11373 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
* _resultobj
;
11377 bool _arg2
= (bool ) FALSE
;
11378 PyObject
* _argo0
= 0;
11379 int tempbool2
= (int) FALSE
;
11380 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11392 _arg2
= (bool ) tempbool2
;
11394 wxPy_BEGIN_ALLOW_THREADS
;
11395 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11397 wxPy_END_ALLOW_THREADS
;
11398 } Py_INCREF(Py_None
);
11399 _resultobj
= Py_None
;
11403 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11404 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
* _resultobj
;
11411 bool _arg5
= (bool ) FALSE
;
11412 PyObject
* _argo0
= 0;
11413 int tempbool5
= (int) FALSE
;
11414 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11426 _arg5
= (bool ) tempbool5
;
11428 wxPy_BEGIN_ALLOW_THREADS
;
11429 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11431 wxPy_END_ALLOW_THREADS
;
11432 } Py_INCREF(Py_None
);
11433 _resultobj
= Py_None
;
11437 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11438 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
* _resultobj
;
11441 PyObject
* _argo0
= 0;
11442 char *_kwnames
[] = { "self", NULL
};
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11455 wxPy_BEGIN_ALLOW_THREADS
;
11456 wxGrid_SelectAll(_arg0
);
11458 wxPy_END_ALLOW_THREADS
;
11459 } Py_INCREF(Py_None
);
11460 _resultobj
= Py_None
;
11464 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11465 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
* _resultobj
;
11469 PyObject
* _argo0
= 0;
11470 char *_kwnames
[] = { "self", NULL
};
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11483 wxPy_BEGIN_ALLOW_THREADS
;
11484 _result
= (bool )wxGrid_IsSelection(_arg0
);
11486 wxPy_END_ALLOW_THREADS
;
11487 } _resultobj
= Py_BuildValue("i",_result
);
11491 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11492 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
* _resultobj
;
11495 PyObject
* _argo0
= 0;
11496 char *_kwnames
[] = { "self", NULL
};
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11509 wxPy_BEGIN_ALLOW_THREADS
;
11510 wxGrid_ClearSelection(_arg0
);
11512 wxPy_END_ALLOW_THREADS
;
11513 } Py_INCREF(Py_None
);
11514 _resultobj
= Py_None
;
11518 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11519 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
* _resultobj
;
11525 PyObject
* _argo0
= 0;
11526 char *_kwnames
[] = { "self","row","col", NULL
};
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11539 wxPy_BEGIN_ALLOW_THREADS
;
11540 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11542 wxPy_END_ALLOW_THREADS
;
11543 } _resultobj
= Py_BuildValue("i",_result
);
11547 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11548 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
* _resultobj
;
11552 wxGridCellCoords
* _arg1
;
11553 wxGridCellCoords
* _arg2
;
11554 PyObject
* _argo0
= 0;
11555 wxGridCellCoords temp
;
11556 PyObject
* _obj1
= 0;
11557 wxGridCellCoords temp0
;
11558 PyObject
* _obj2
= 0;
11559 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11574 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11579 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11583 wxPy_BEGIN_ALLOW_THREADS
;
11584 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11586 wxPy_END_ALLOW_THREADS
;
11587 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11588 _resultobj
= Py_BuildValue("s",_ptemp
);
11592 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11593 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
* _resultobj
;
11595 wxColour
* _result
;
11597 PyObject
* _argo0
= 0;
11598 char *_kwnames
[] = { "self", NULL
};
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11612 wxPy_BEGIN_ALLOW_THREADS
;
11613 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11615 wxPy_END_ALLOW_THREADS
;
11616 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11617 _resultobj
= Py_BuildValue("s",_ptemp
);
11621 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11622 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
* _resultobj
;
11624 wxColour
* _result
;
11626 PyObject
* _argo0
= 0;
11627 char *_kwnames
[] = { "self", NULL
};
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
11634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11641 wxPy_BEGIN_ALLOW_THREADS
;
11642 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
11644 wxPy_END_ALLOW_THREADS
;
11645 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11646 _resultobj
= Py_BuildValue("s",_ptemp
);
11650 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11651 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
* _resultobj
;
11655 PyObject
* _argo0
= 0;
11657 PyObject
* _obj1
= 0;
11658 char *_kwnames
[] = { "self","c", NULL
};
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
11664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11672 if (! wxColour_helper(_obj1
, &_arg1
))
11676 wxPy_BEGIN_ALLOW_THREADS
;
11677 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
11679 wxPy_END_ALLOW_THREADS
;
11680 } Py_INCREF(Py_None
);
11681 _resultobj
= Py_None
;
11685 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11686 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
* _resultobj
;
11690 PyObject
* _argo0
= 0;
11692 PyObject
* _obj1
= 0;
11693 char *_kwnames
[] = { "self","c", NULL
};
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
11699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11707 if (! wxColour_helper(_obj1
, &_arg1
))
11711 wxPy_BEGIN_ALLOW_THREADS
;
11712 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
11714 wxPy_END_ALLOW_THREADS
;
11715 } Py_INCREF(Py_None
);
11716 _resultobj
= Py_None
;
11720 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11721 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
* _resultobj
;
11725 wxGridCellRenderer
* _arg2
;
11726 wxGridCellEditor
* _arg3
;
11727 PyObject
* _argo0
= 0;
11728 PyObject
* _obj1
= 0;
11729 PyObject
* _argo2
= 0;
11730 PyObject
* _argo3
= 0;
11731 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11744 #if PYTHON_API_VERSION >= 1009
11745 char* tmpPtr
; int tmpSize
;
11746 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11750 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11752 _arg1
= new wxString(tmpPtr
, tmpSize
);
11754 if (!PyString_Check(_obj1
)) {
11755 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11758 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11762 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11763 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
11764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11769 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11770 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11776 wxPy_BEGIN_ALLOW_THREADS
;
11777 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
11779 wxPy_END_ALLOW_THREADS
;
11780 } Py_INCREF(Py_None
);
11781 _resultobj
= Py_None
;
11789 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11790 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
* _resultobj
;
11792 wxGridCellEditor
* _result
;
11796 PyObject
* _argo0
= 0;
11797 char *_kwnames
[] = { "self","row","col", NULL
};
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11811 wxPy_BEGIN_ALLOW_THREADS
;
11812 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
11814 wxPy_END_ALLOW_THREADS
;
11816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11817 _resultobj
= Py_BuildValue("s",_ptemp
);
11819 Py_INCREF(Py_None
);
11820 _resultobj
= Py_None
;
11825 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11826 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
* _resultobj
;
11828 wxGridCellRenderer
* _result
;
11832 PyObject
* _argo0
= 0;
11833 char *_kwnames
[] = { "self","row","col", NULL
};
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11847 wxPy_BEGIN_ALLOW_THREADS
;
11848 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
11850 wxPy_END_ALLOW_THREADS
;
11852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11853 _resultobj
= Py_BuildValue("s",_ptemp
);
11855 Py_INCREF(Py_None
);
11856 _resultobj
= Py_None
;
11861 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11862 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
* _resultobj
;
11864 wxGridCellEditor
* _result
;
11867 PyObject
* _argo0
= 0;
11868 PyObject
* _obj1
= 0;
11869 char *_kwnames
[] = { "self","typeName", NULL
};
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
11876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11883 #if PYTHON_API_VERSION >= 1009
11884 char* tmpPtr
; int tmpSize
;
11885 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11889 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11891 _arg1
= new wxString(tmpPtr
, tmpSize
);
11893 if (!PyString_Check(_obj1
)) {
11894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11897 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11901 wxPy_BEGIN_ALLOW_THREADS
;
11902 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
11904 wxPy_END_ALLOW_THREADS
;
11906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11907 _resultobj
= Py_BuildValue("s",_ptemp
);
11909 Py_INCREF(Py_None
);
11910 _resultobj
= Py_None
;
11919 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11920 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
* _resultobj
;
11922 wxGridCellRenderer
* _result
;
11925 PyObject
* _argo0
= 0;
11926 PyObject
* _obj1
= 0;
11927 char *_kwnames
[] = { "self","typeName", NULL
};
11931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
11934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11941 #if PYTHON_API_VERSION >= 1009
11942 char* tmpPtr
; int tmpSize
;
11943 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11944 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11947 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11949 _arg1
= new wxString(tmpPtr
, tmpSize
);
11951 if (!PyString_Check(_obj1
)) {
11952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11955 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11959 wxPy_BEGIN_ALLOW_THREADS
;
11960 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
11962 wxPy_END_ALLOW_THREADS
;
11964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11965 _resultobj
= Py_BuildValue("s",_ptemp
);
11967 Py_INCREF(Py_None
);
11968 _resultobj
= Py_None
;
11977 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11978 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
* _resultobj
;
11983 PyObject
* _argo0
= 0;
11984 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11997 wxPy_BEGIN_ALLOW_THREADS
;
11998 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12000 wxPy_END_ALLOW_THREADS
;
12001 } Py_INCREF(Py_None
);
12002 _resultobj
= Py_None
;
12006 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12007 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
* _resultobj
;
12009 wxWindow
* _result
;
12011 PyObject
* _argo0
= 0;
12012 char *_kwnames
[] = { "self", NULL
};
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12025 wxPy_BEGIN_ALLOW_THREADS
;
12026 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12028 wxPy_END_ALLOW_THREADS
;
12029 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12033 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12034 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
* _resultobj
;
12036 wxWindow
* _result
;
12038 PyObject
* _argo0
= 0;
12039 char *_kwnames
[] = { "self", NULL
};
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12052 wxPy_BEGIN_ALLOW_THREADS
;
12053 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12055 wxPy_END_ALLOW_THREADS
;
12056 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12060 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12061 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
* _resultobj
;
12063 wxWindow
* _result
;
12065 PyObject
* _argo0
= 0;
12066 char *_kwnames
[] = { "self", NULL
};
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12079 wxPy_BEGIN_ALLOW_THREADS
;
12080 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12082 wxPy_END_ALLOW_THREADS
;
12083 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12087 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12088 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
* _resultobj
;
12090 wxWindow
* _result
;
12092 PyObject
* _argo0
= 0;
12093 char *_kwnames
[] = { "self", NULL
};
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12106 wxPy_BEGIN_ALLOW_THREADS
;
12107 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12109 wxPy_END_ALLOW_THREADS
;
12110 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12114 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12116 wxNotifyEvent
*dest
;
12117 src
= (wxGridEvent
*) ptr
;
12118 dest
= (wxNotifyEvent
*) src
;
12119 return (void *) dest
;
12122 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12124 wxCommandEvent
*dest
;
12125 src
= (wxGridEvent
*) ptr
;
12126 dest
= (wxCommandEvent
*) src
;
12127 return (void *) dest
;
12130 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12133 src
= (wxGridEvent
*) ptr
;
12134 dest
= (wxEvent
*) src
;
12135 return (void *) dest
;
12138 static void *SwigwxGridEventTowxObject(void *ptr
) {
12141 src
= (wxGridEvent
*) ptr
;
12142 dest
= (wxObject
*) src
;
12143 return (void *) dest
;
12146 #define new_wxGridEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11) (new wxGridEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11))
12147 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
* _resultobj
;
12149 wxGridEvent
* _result
;
12153 int _arg3
= (int ) -1;
12154 int _arg4
= (int ) -1;
12155 int _arg5
= (int ) -1;
12156 int _arg6
= (int ) -1;
12157 bool _arg7
= (bool ) TRUE
;
12158 bool _arg8
= (bool ) FALSE
;
12159 bool _arg9
= (bool ) FALSE
;
12160 bool _arg10
= (bool ) FALSE
;
12161 bool _arg11
= (bool ) FALSE
;
12162 PyObject
* _argo2
= 0;
12163 int tempbool7
= (int) TRUE
;
12164 int tempbool8
= (int) FALSE
;
12165 int tempbool9
= (int) FALSE
;
12166 int tempbool10
= (int) FALSE
;
12167 int tempbool11
= (int) FALSE
;
12168 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12175 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12176 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12181 _arg7
= (bool ) tempbool7
;
12182 _arg8
= (bool ) tempbool8
;
12183 _arg9
= (bool ) tempbool9
;
12184 _arg10
= (bool ) tempbool10
;
12185 _arg11
= (bool ) tempbool11
;
12187 wxPy_BEGIN_ALLOW_THREADS
;
12188 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12190 wxPy_END_ALLOW_THREADS
;
12192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12193 _resultobj
= Py_BuildValue("s",_ptemp
);
12195 Py_INCREF(Py_None
);
12196 _resultobj
= Py_None
;
12201 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12202 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
* _resultobj
;
12205 wxGridEvent
* _arg0
;
12206 PyObject
* _argo0
= 0;
12207 char *_kwnames
[] = { "self", NULL
};
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12220 wxPy_BEGIN_ALLOW_THREADS
;
12221 _result
= (int )wxGridEvent_GetRow(_arg0
);
12223 wxPy_END_ALLOW_THREADS
;
12224 } _resultobj
= Py_BuildValue("i",_result
);
12228 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12229 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
* _resultobj
;
12232 wxGridEvent
* _arg0
;
12233 PyObject
* _argo0
= 0;
12234 char *_kwnames
[] = { "self", NULL
};
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12247 wxPy_BEGIN_ALLOW_THREADS
;
12248 _result
= (int )wxGridEvent_GetCol(_arg0
);
12250 wxPy_END_ALLOW_THREADS
;
12251 } _resultobj
= Py_BuildValue("i",_result
);
12255 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12256 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
* _resultobj
;
12259 wxGridEvent
* _arg0
;
12260 PyObject
* _argo0
= 0;
12261 char *_kwnames
[] = { "self", NULL
};
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12275 wxPy_BEGIN_ALLOW_THREADS
;
12276 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12278 wxPy_END_ALLOW_THREADS
;
12279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12280 _resultobj
= Py_BuildValue("s",_ptemp
);
12284 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12285 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
* _resultobj
;
12288 wxGridEvent
* _arg0
;
12289 PyObject
* _argo0
= 0;
12290 char *_kwnames
[] = { "self", NULL
};
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12303 wxPy_BEGIN_ALLOW_THREADS
;
12304 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12306 wxPy_END_ALLOW_THREADS
;
12307 } _resultobj
= Py_BuildValue("i",_result
);
12311 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12312 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
* _resultobj
;
12315 wxGridEvent
* _arg0
;
12316 PyObject
* _argo0
= 0;
12317 char *_kwnames
[] = { "self", NULL
};
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12330 wxPy_BEGIN_ALLOW_THREADS
;
12331 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12333 wxPy_END_ALLOW_THREADS
;
12334 } _resultobj
= Py_BuildValue("i",_result
);
12338 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12339 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
* _resultobj
;
12342 wxGridEvent
* _arg0
;
12343 PyObject
* _argo0
= 0;
12344 char *_kwnames
[] = { "self", NULL
};
12347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12357 wxPy_BEGIN_ALLOW_THREADS
;
12358 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12360 wxPy_END_ALLOW_THREADS
;
12361 } _resultobj
= Py_BuildValue("i",_result
);
12365 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12366 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
* _resultobj
;
12369 wxGridEvent
* _arg0
;
12370 PyObject
* _argo0
= 0;
12371 char *_kwnames
[] = { "self", NULL
};
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12384 wxPy_BEGIN_ALLOW_THREADS
;
12385 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12387 wxPy_END_ALLOW_THREADS
;
12388 } _resultobj
= Py_BuildValue("i",_result
);
12392 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12393 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
* _resultobj
;
12396 wxGridEvent
* _arg0
;
12397 PyObject
* _argo0
= 0;
12398 char *_kwnames
[] = { "self", NULL
};
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12411 wxPy_BEGIN_ALLOW_THREADS
;
12412 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12414 wxPy_END_ALLOW_THREADS
;
12415 } _resultobj
= Py_BuildValue("i",_result
);
12419 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12420 wxGridSizeEvent
*src
;
12421 wxNotifyEvent
*dest
;
12422 src
= (wxGridSizeEvent
*) ptr
;
12423 dest
= (wxNotifyEvent
*) src
;
12424 return (void *) dest
;
12427 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12428 wxGridSizeEvent
*src
;
12429 wxCommandEvent
*dest
;
12430 src
= (wxGridSizeEvent
*) ptr
;
12431 dest
= (wxCommandEvent
*) src
;
12432 return (void *) dest
;
12435 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12436 wxGridSizeEvent
*src
;
12438 src
= (wxGridSizeEvent
*) ptr
;
12439 dest
= (wxEvent
*) src
;
12440 return (void *) dest
;
12443 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12444 wxGridSizeEvent
*src
;
12446 src
= (wxGridSizeEvent
*) ptr
;
12447 dest
= (wxObject
*) src
;
12448 return (void *) dest
;
12451 #define new_wxGridSizeEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxGridSizeEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
12452 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
* _resultobj
;
12454 wxGridSizeEvent
* _result
;
12458 int _arg3
= (int ) -1;
12459 int _arg4
= (int ) -1;
12460 int _arg5
= (int ) -1;
12461 bool _arg6
= (bool ) FALSE
;
12462 bool _arg7
= (bool ) FALSE
;
12463 bool _arg8
= (bool ) FALSE
;
12464 bool _arg9
= (bool ) FALSE
;
12465 PyObject
* _argo2
= 0;
12466 int tempbool6
= (int) FALSE
;
12467 int tempbool7
= (int) FALSE
;
12468 int tempbool8
= (int) FALSE
;
12469 int tempbool9
= (int) FALSE
;
12470 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12477 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12478 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12483 _arg6
= (bool ) tempbool6
;
12484 _arg7
= (bool ) tempbool7
;
12485 _arg8
= (bool ) tempbool8
;
12486 _arg9
= (bool ) tempbool9
;
12488 wxPy_BEGIN_ALLOW_THREADS
;
12489 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12491 wxPy_END_ALLOW_THREADS
;
12493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12494 _resultobj
= Py_BuildValue("s",_ptemp
);
12496 Py_INCREF(Py_None
);
12497 _resultobj
= Py_None
;
12502 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12503 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
* _resultobj
;
12506 wxGridSizeEvent
* _arg0
;
12507 PyObject
* _argo0
= 0;
12508 char *_kwnames
[] = { "self", NULL
};
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12521 wxPy_BEGIN_ALLOW_THREADS
;
12522 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12524 wxPy_END_ALLOW_THREADS
;
12525 } _resultobj
= Py_BuildValue("i",_result
);
12529 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12530 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
* _resultobj
;
12533 wxGridSizeEvent
* _arg0
;
12534 PyObject
* _argo0
= 0;
12535 char *_kwnames
[] = { "self", NULL
};
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12549 wxPy_BEGIN_ALLOW_THREADS
;
12550 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12552 wxPy_END_ALLOW_THREADS
;
12553 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12554 _resultobj
= Py_BuildValue("s",_ptemp
);
12558 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12559 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
* _resultobj
;
12562 wxGridSizeEvent
* _arg0
;
12563 PyObject
* _argo0
= 0;
12564 char *_kwnames
[] = { "self", NULL
};
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12577 wxPy_BEGIN_ALLOW_THREADS
;
12578 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12580 wxPy_END_ALLOW_THREADS
;
12581 } _resultobj
= Py_BuildValue("i",_result
);
12585 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12586 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
* _resultobj
;
12589 wxGridSizeEvent
* _arg0
;
12590 PyObject
* _argo0
= 0;
12591 char *_kwnames
[] = { "self", NULL
};
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12604 wxPy_BEGIN_ALLOW_THREADS
;
12605 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12607 wxPy_END_ALLOW_THREADS
;
12608 } _resultobj
= Py_BuildValue("i",_result
);
12612 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12613 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
* _resultobj
;
12616 wxGridSizeEvent
* _arg0
;
12617 PyObject
* _argo0
= 0;
12618 char *_kwnames
[] = { "self", NULL
};
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12631 wxPy_BEGIN_ALLOW_THREADS
;
12632 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12634 wxPy_END_ALLOW_THREADS
;
12635 } _resultobj
= Py_BuildValue("i",_result
);
12639 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12640 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
* _resultobj
;
12643 wxGridSizeEvent
* _arg0
;
12644 PyObject
* _argo0
= 0;
12645 char *_kwnames
[] = { "self", NULL
};
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
12651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12658 wxPy_BEGIN_ALLOW_THREADS
;
12659 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
12661 wxPy_END_ALLOW_THREADS
;
12662 } _resultobj
= Py_BuildValue("i",_result
);
12666 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
12667 wxGridRangeSelectEvent
*src
;
12668 wxNotifyEvent
*dest
;
12669 src
= (wxGridRangeSelectEvent
*) ptr
;
12670 dest
= (wxNotifyEvent
*) src
;
12671 return (void *) dest
;
12674 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
12675 wxGridRangeSelectEvent
*src
;
12676 wxCommandEvent
*dest
;
12677 src
= (wxGridRangeSelectEvent
*) ptr
;
12678 dest
= (wxCommandEvent
*) src
;
12679 return (void *) dest
;
12682 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
12683 wxGridRangeSelectEvent
*src
;
12685 src
= (wxGridRangeSelectEvent
*) ptr
;
12686 dest
= (wxEvent
*) src
;
12687 return (void *) dest
;
12690 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
12691 wxGridRangeSelectEvent
*src
;
12693 src
= (wxGridRangeSelectEvent
*) ptr
;
12694 dest
= (wxObject
*) src
;
12695 return (void *) dest
;
12698 #define new_wxGridRangeSelectEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxGridRangeSelectEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
12699 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
* _resultobj
;
12701 wxGridRangeSelectEvent
* _result
;
12705 wxGridCellCoords
* _arg3
;
12706 wxGridCellCoords
* _arg4
;
12707 bool _arg5
= (bool ) TRUE
;
12708 bool _arg6
= (bool ) FALSE
;
12709 bool _arg7
= (bool ) FALSE
;
12710 bool _arg8
= (bool ) FALSE
;
12711 bool _arg9
= (bool ) FALSE
;
12712 PyObject
* _argo2
= 0;
12713 wxGridCellCoords temp
;
12714 PyObject
* _obj3
= 0;
12715 wxGridCellCoords temp0
;
12716 PyObject
* _obj4
= 0;
12717 int tempbool5
= (int) TRUE
;
12718 int tempbool6
= (int) FALSE
;
12719 int tempbool7
= (int) FALSE
;
12720 int tempbool8
= (int) FALSE
;
12721 int tempbool9
= (int) FALSE
;
12722 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12729 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12730 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12737 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
12742 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
12745 _arg5
= (bool ) tempbool5
;
12746 _arg6
= (bool ) tempbool6
;
12747 _arg7
= (bool ) tempbool7
;
12748 _arg8
= (bool ) tempbool8
;
12749 _arg9
= (bool ) tempbool9
;
12751 wxPy_BEGIN_ALLOW_THREADS
;
12752 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12754 wxPy_END_ALLOW_THREADS
;
12756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
12757 _resultobj
= Py_BuildValue("s",_ptemp
);
12759 Py_INCREF(Py_None
);
12760 _resultobj
= Py_None
;
12765 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12766 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
* _resultobj
;
12768 wxGridCellCoords
* _result
;
12769 wxGridRangeSelectEvent
* _arg0
;
12770 PyObject
* _argo0
= 0;
12771 char *_kwnames
[] = { "self", NULL
};
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
12778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12785 wxPy_BEGIN_ALLOW_THREADS
;
12786 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
12788 wxPy_END_ALLOW_THREADS
;
12789 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
12790 _resultobj
= Py_BuildValue("s",_ptemp
);
12794 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12795 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
* _resultobj
;
12797 wxGridCellCoords
* _result
;
12798 wxGridRangeSelectEvent
* _arg0
;
12799 PyObject
* _argo0
= 0;
12800 char *_kwnames
[] = { "self", NULL
};
12804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
12807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12814 wxPy_BEGIN_ALLOW_THREADS
;
12815 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
12817 wxPy_END_ALLOW_THREADS
;
12818 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
12819 _resultobj
= Py_BuildValue("s",_ptemp
);
12823 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12824 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
* _resultobj
;
12827 wxGridRangeSelectEvent
* _arg0
;
12828 PyObject
* _argo0
= 0;
12829 char *_kwnames
[] = { "self", NULL
};
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
12835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12842 wxPy_BEGIN_ALLOW_THREADS
;
12843 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
12845 wxPy_END_ALLOW_THREADS
;
12846 } _resultobj
= Py_BuildValue("i",_result
);
12850 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12851 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
* _resultobj
;
12854 wxGridRangeSelectEvent
* _arg0
;
12855 PyObject
* _argo0
= 0;
12856 char *_kwnames
[] = { "self", NULL
};
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
12862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12869 wxPy_BEGIN_ALLOW_THREADS
;
12870 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
12872 wxPy_END_ALLOW_THREADS
;
12873 } _resultobj
= Py_BuildValue("i",_result
);
12877 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12878 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12879 PyObject
* _resultobj
;
12881 wxGridRangeSelectEvent
* _arg0
;
12882 PyObject
* _argo0
= 0;
12883 char *_kwnames
[] = { "self", NULL
};
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
12889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12896 wxPy_BEGIN_ALLOW_THREADS
;
12897 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
12899 wxPy_END_ALLOW_THREADS
;
12900 } _resultobj
= Py_BuildValue("i",_result
);
12904 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12905 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
* _resultobj
;
12908 wxGridRangeSelectEvent
* _arg0
;
12909 PyObject
* _argo0
= 0;
12910 char *_kwnames
[] = { "self", NULL
};
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
12916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12923 wxPy_BEGIN_ALLOW_THREADS
;
12924 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
12926 wxPy_END_ALLOW_THREADS
;
12927 } _resultobj
= Py_BuildValue("i",_result
);
12931 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12932 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
* _resultobj
;
12935 wxGridRangeSelectEvent
* _arg0
;
12936 PyObject
* _argo0
= 0;
12937 char *_kwnames
[] = { "self", NULL
};
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
12943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12950 wxPy_BEGIN_ALLOW_THREADS
;
12951 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
12953 wxPy_END_ALLOW_THREADS
;
12954 } _resultobj
= Py_BuildValue("i",_result
);
12958 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12959 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
* _resultobj
;
12962 wxGridRangeSelectEvent
* _arg0
;
12963 PyObject
* _argo0
= 0;
12964 char *_kwnames
[] = { "self", NULL
};
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
12970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12977 wxPy_BEGIN_ALLOW_THREADS
;
12978 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
12980 wxPy_END_ALLOW_THREADS
;
12981 } _resultobj
= Py_BuildValue("i",_result
);
12985 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12986 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
* _resultobj
;
12989 wxGridRangeSelectEvent
* _arg0
;
12990 PyObject
* _argo0
= 0;
12991 char *_kwnames
[] = { "self", NULL
};
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
12997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13004 wxPy_BEGIN_ALLOW_THREADS
;
13005 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13007 wxPy_END_ALLOW_THREADS
;
13008 } _resultobj
= Py_BuildValue("i",_result
);
13012 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13013 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
* _resultobj
;
13016 wxGridRangeSelectEvent
* _arg0
;
13017 PyObject
* _argo0
= 0;
13018 char *_kwnames
[] = { "self", NULL
};
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13031 wxPy_BEGIN_ALLOW_THREADS
;
13032 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13034 wxPy_END_ALLOW_THREADS
;
13035 } _resultobj
= Py_BuildValue("i",_result
);
13039 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13040 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
* _resultobj
;
13043 wxGridRangeSelectEvent
* _arg0
;
13044 PyObject
* _argo0
= 0;
13045 char *_kwnames
[] = { "self", NULL
};
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13058 wxPy_BEGIN_ALLOW_THREADS
;
13059 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13061 wxPy_END_ALLOW_THREADS
;
13062 } _resultobj
= Py_BuildValue("i",_result
);
13066 static PyMethodDef gridcMethods
[] = {
13067 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13068 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13069 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13070 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13071 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13072 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13073 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13074 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13075 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13076 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13077 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13078 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13079 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13080 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13081 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13082 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13083 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13084 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13085 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13086 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13087 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13088 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13089 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13090 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13091 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13092 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13093 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13094 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13095 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13096 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13097 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13098 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13099 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13100 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13101 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13102 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13103 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13104 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13105 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13106 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13107 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13108 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13109 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13110 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13111 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13112 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13113 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13114 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13115 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13116 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13117 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13118 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13119 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13120 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13121 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13122 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13123 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13124 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13125 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13126 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13127 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13128 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13129 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13130 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13131 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13132 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13133 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13134 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13135 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13136 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13137 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13138 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13139 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13140 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13141 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13142 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13143 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13144 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13145 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13146 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13147 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13148 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13149 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13150 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13151 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13152 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13153 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13154 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13155 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13156 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13157 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13158 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13159 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13160 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13161 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13162 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13163 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13164 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13165 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13166 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13167 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13168 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13169 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13170 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13171 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13172 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13173 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13174 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13175 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13176 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13177 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13178 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13179 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13180 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13181 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13182 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13183 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13184 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13185 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13186 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13187 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13188 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13189 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13190 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13191 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13192 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13193 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13194 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13195 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13196 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13197 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13198 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13199 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13200 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13201 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13202 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13203 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13204 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13205 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13206 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13207 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13208 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13209 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13210 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13211 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13212 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13213 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13214 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13215 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13216 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13217 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13218 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13219 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13220 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13221 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13222 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13223 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13224 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13225 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13226 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13227 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13228 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13229 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13230 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13231 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13232 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13233 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13234 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13235 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13236 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13237 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13238 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13239 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13240 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13241 { "wxGrid_StringToLines", (PyCFunction
) _wrap_wxGrid_StringToLines
, METH_VARARGS
| METH_KEYWORDS
},
13242 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13243 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13244 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13245 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13246 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13247 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13248 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13249 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13250 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13251 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13252 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13253 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13254 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13255 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13256 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13257 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13258 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
13259 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
13260 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13261 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13262 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13263 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13264 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13265 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13266 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13267 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13268 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13269 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13270 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13271 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13272 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13273 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13274 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13275 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13276 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13277 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13278 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13279 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13280 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13281 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13282 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13283 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13284 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13285 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13286 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13287 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13288 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13289 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13290 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13291 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13292 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13293 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13294 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13295 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13296 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13297 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13298 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13299 { "wxPyGridTableBase__setSelf", (PyCFunction
) _wrap_wxPyGridTableBase__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13300 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13301 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13302 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13303 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13304 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13305 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13306 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13307 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13308 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13309 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13310 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13311 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13312 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13313 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13314 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13315 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13316 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13317 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13318 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13319 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13320 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13321 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13322 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13323 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13324 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13325 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13326 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13327 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13328 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13329 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13330 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13331 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13332 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13333 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13334 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13335 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13336 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13337 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13338 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13339 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13340 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13341 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13342 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13343 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13344 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13345 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13346 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13347 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13348 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13349 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13350 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13351 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13352 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13353 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13354 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13355 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13356 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13357 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13358 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13359 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13360 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13361 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13362 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13363 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13364 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13365 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13366 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13367 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13368 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13369 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13370 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13371 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13372 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13373 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
13374 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13375 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13376 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13377 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13378 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13379 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13380 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13381 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13382 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13383 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13384 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13385 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13386 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13387 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13388 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13389 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13390 { "wxPyGridCellEditor__setSelf", (PyCFunction
) _wrap_wxPyGridCellEditor__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13391 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13392 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13393 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13394 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13395 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13396 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13397 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13398 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13399 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13400 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13401 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13402 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
13403 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
13404 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
13405 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13406 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13407 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13408 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13409 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13410 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
13411 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13412 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13413 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13414 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13415 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13416 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13417 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13418 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13419 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13420 { "wxPyGridCellRenderer__setSelf", (PyCFunction
) _wrap_wxPyGridCellRenderer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13421 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13422 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13423 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
13424 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13425 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13426 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13427 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13434 * This table is used by the pointer type-checker
13436 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
13437 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13438 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13439 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13440 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13441 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13442 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
13443 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
13444 { "_wxEvent","_class_wxEvent",0},
13445 { "_class_wxActivateEvent","_wxActivateEvent",0},
13446 { "_signed_long","_long",0},
13447 { "_wxMenuEvent","_class_wxMenuEvent",0},
13448 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13449 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13450 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13451 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13452 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13453 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13454 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13455 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13456 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13457 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13458 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13459 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13460 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13461 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13462 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13463 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13464 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13465 { "_wxPrintQuality","_wxCoord",0},
13466 { "_wxPrintQuality","_int",0},
13467 { "_wxPrintQuality","_signed_int",0},
13468 { "_wxPrintQuality","_unsigned_int",0},
13469 { "_wxPrintQuality","_wxWindowID",0},
13470 { "_wxPrintQuality","_uint",0},
13471 { "_wxPrintQuality","_EBool",0},
13472 { "_wxPrintQuality","_size_t",0},
13473 { "_wxPrintQuality","_time_t",0},
13474 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13475 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13476 { "_class_wxRegionIterator","_wxRegionIterator",0},
13477 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13478 { "_class_wxMenuBar","_wxMenuBar",0},
13479 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13480 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
13481 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
13482 { "_class_wxEvtHandler","_wxEvtHandler",0},
13483 { "_wxPaintEvent","_class_wxPaintEvent",0},
13484 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13485 { "_wxCursor","_class_wxCursor",0},
13486 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13487 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13488 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13489 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13490 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13491 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13492 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13493 { "_wxMask","_class_wxMask",0},
13494 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13495 { "_wxGrid","_class_wxGrid",0},
13496 { "_wxPen","_class_wxPen",0},
13497 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13498 { "_byte","_unsigned_char",0},
13499 { "_wxDataObject","_class_wxDataObject",0},
13500 { "_wxStaticBox","_class_wxStaticBox",0},
13501 { "_wxColourDatabase","_class_wxColourDatabase",0},
13502 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13503 { "_wxPyDropSource","_class_wxPyDropSource",0},
13504 { "_wxChoice","_class_wxChoice",0},
13505 { "_wxSlider","_class_wxSlider",0},
13506 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13507 { "_long","_unsigned_long",0},
13508 { "_long","_signed_long",0},
13509 { "_wxImageList","_class_wxImageList",0},
13510 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13511 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13512 { "_wxBitmapButton","_class_wxBitmapButton",0},
13513 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13514 { "_class_wxClipboard","_wxClipboard",0},
13515 { "_class_wxGauge","_wxGauge",0},
13516 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13517 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
13518 { "_wxGDIObject","_class_wxGDIObject",0},
13519 { "_wxDC","_class_wxDC",0},
13520 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13521 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13522 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
13523 { "_class_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
13524 { "_class_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
13525 { "_class_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
13526 { "_class_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
13527 { "_class_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject
},
13528 { "_class_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
13529 { "_class_wxObject","_class_wxGrid",SwigwxGridTowxObject
},
13530 { "_class_wxObject","_wxGrid",SwigwxGridTowxObject
},
13531 { "_class_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject
},
13532 { "_class_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
13533 { "_class_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
13534 { "_class_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
13535 { "_class_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
13536 { "_class_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
13537 { "_class_wxObject","_wxObject",0},
13538 { "_wxSpinEvent","_class_wxSpinEvent",0},
13539 { "_size_t","_WXGRIDSELECTIONMODES",0},
13540 { "_size_t","_wxCoord",0},
13541 { "_size_t","_wxPrintQuality",0},
13542 { "_size_t","_time_t",0},
13543 { "_size_t","_unsigned_int",0},
13544 { "_size_t","_int",0},
13545 { "_size_t","_wxWindowID",0},
13546 { "_size_t","_uint",0},
13547 { "_class_wxRealPoint","_wxRealPoint",0},
13548 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13549 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
13550 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13551 { "_class_wxMenuItem","_wxMenuItem",0},
13552 { "_class_wxPaintEvent","_wxPaintEvent",0},
13553 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13554 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
13555 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
13556 { "_wxPanel","_class_wxPanel",0},
13557 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13558 { "_wxCheckBox","_class_wxCheckBox",0},
13559 { "_wxPyEvent","_class_wxPyEvent",0},
13560 { "_wxTextCtrl","_class_wxTextCtrl",0},
13561 { "_class_wxMask","_wxMask",0},
13562 { "_wxTextDataObject","_class_wxTextDataObject",0},
13563 { "_class_wxKeyEvent","_wxKeyEvent",0},
13564 { "_class_wxGrid","_wxGrid",0},
13565 { "_wxColour","_class_wxColour",0},
13566 { "_class_wxDialog","_wxDialog",0},
13567 { "_class_wxFileDataObject","_wxFileDataObject",0},
13568 { "_wxIdleEvent","_class_wxIdleEvent",0},
13569 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13570 { "_class_wxDataObject","_wxDataObject",0},
13571 { "_wxStaticLine","_class_wxStaticLine",0},
13572 { "_wxBrush","_class_wxBrush",0},
13573 { "_wxToggleButton","_class_wxToggleButton",0},
13574 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13575 { "_wxDataFormat","_class_wxDataFormat",0},
13576 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13577 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13578 { "_wxShowEvent","_class_wxShowEvent",0},
13579 { "_uint","_WXGRIDSELECTIONMODES",0},
13580 { "_uint","_wxCoord",0},
13581 { "_uint","_wxPrintQuality",0},
13582 { "_uint","_time_t",0},
13583 { "_uint","_size_t",0},
13584 { "_uint","_unsigned_int",0},
13585 { "_uint","_int",0},
13586 { "_uint","_wxWindowID",0},
13587 { "_wxChar","_char",0},
13588 { "_wxPyValidator","_class_wxPyValidator",0},
13589 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13590 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13591 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13592 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13593 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
13594 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
13595 { "_class_wxEvent","_wxEvent",0},
13596 { "_wxCheckListBox","_class_wxCheckListBox",0},
13597 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13598 { "_wxGridEvent","_class_wxGridEvent",0},
13599 { "_wxRect","_class_wxRect",0},
13600 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13601 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13602 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13603 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13604 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13605 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13606 { "_wxCommandEvent","_class_wxCommandEvent",0},
13607 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13608 { "_wxSizeEvent","_class_wxSizeEvent",0},
13609 { "_wxPoint","_class_wxPoint",0},
13610 { "_class_wxButton","_wxButton",0},
13611 { "_wxRadioBox","_class_wxRadioBox",0},
13612 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13613 { "_char","_wxChar",0},
13614 { "_wxBitmap","_class_wxBitmap",0},
13615 { "_wxPenList","_class_wxPenList",0},
13616 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13617 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13618 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13619 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13620 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13621 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13622 { "_wxWindowDC","_class_wxWindowDC",0},
13623 { "_wxTimerEvent","_class_wxTimerEvent",0},
13624 { "_wxScrollBar","_class_wxScrollBar",0},
13625 { "_wxSpinButton","_class_wxSpinButton",0},
13626 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13627 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13628 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13629 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13630 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13631 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13632 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13633 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13634 { "_class_wxValidator","_wxValidator",0},
13635 { "_class_wxPyEvent","_wxPyEvent",0},
13636 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13637 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13638 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13639 { "_wxDropTarget","_class_wxDropTarget",0},
13640 { "_class_wxStaticLine","_wxStaticLine",0},
13641 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13642 { "_class_wxColourDatabase","_wxColourDatabase",0},
13643 { "_wxScrollEvent","_class_wxScrollEvent",0},
13644 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13645 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13646 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13647 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13648 { "_wxGridTableBase","_class_wxGridTableBase",0},
13649 { "_wxGridStringTable","_class_wxGridStringTable",0},
13650 { "_EBool","_WXGRIDSELECTIONMODES",0},
13651 { "_EBool","_wxCoord",0},
13652 { "_EBool","_wxPrintQuality",0},
13653 { "_EBool","_signed_int",0},
13654 { "_EBool","_int",0},
13655 { "_EBool","_wxWindowID",0},
13656 { "_class_wxRegion","_wxRegion",0},
13657 { "_class_wxDataFormat","_wxDataFormat",0},
13658 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13659 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13660 { "_wxStaticText","_class_wxStaticText",0},
13661 { "_wxFont","_class_wxFont",0},
13662 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13663 { "_wxCloseEvent","_class_wxCloseEvent",0},
13664 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13665 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13666 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13667 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13668 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13669 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13670 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13671 { "_unsigned_long","_long",0},
13672 { "_class_wxRect","_wxRect",0},
13673 { "_class_wxDC","_wxDC",0},
13674 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13675 { "_WXGRIDSELECTIONMODES","_int",0},
13676 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13677 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13678 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13679 { "_WXGRIDSELECTIONMODES","_uint",0},
13680 { "_WXGRIDSELECTIONMODES","_EBool",0},
13681 { "_WXGRIDSELECTIONMODES","_size_t",0},
13682 { "_WXGRIDSELECTIONMODES","_time_t",0},
13683 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13684 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13685 { "_class_wxBrushList","_wxBrushList",0},
13686 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13687 { "_class_wxPenList","_wxPenList",0},
13688 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13689 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13690 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13691 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13692 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13693 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13694 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13695 { "_wxFocusEvent","_class_wxFocusEvent",0},
13696 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13697 { "_class_wxTimerEvent","_wxTimerEvent",0},
13698 { "_class_wxSpinButton","_wxSpinButton",0},
13699 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13700 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
13701 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
13702 { "_class_wxPanel","_wxPanel",0},
13703 { "_class_wxCheckBox","_wxCheckBox",0},
13704 { "_wxComboBox","_class_wxComboBox",0},
13705 { "_wxRadioButton","_class_wxRadioButton",0},
13706 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13707 { "_signed_int","_wxCoord",0},
13708 { "_signed_int","_wxPrintQuality",0},
13709 { "_signed_int","_EBool",0},
13710 { "_signed_int","_wxWindowID",0},
13711 { "_signed_int","_int",0},
13712 { "_class_wxTextCtrl","_wxTextCtrl",0},
13713 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13714 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
13715 { "_class_wxTextDataObject","_wxTextDataObject",0},
13716 { "_wxMenu","_class_wxMenu",0},
13717 { "_class_wxMoveEvent","_wxMoveEvent",0},
13718 { "_wxListBox","_class_wxListBox",0},
13719 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13720 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13721 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13722 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13723 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13724 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13725 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13726 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13727 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13728 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13729 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13730 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13731 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13732 { "_wxScreenDC","_class_wxScreenDC",0},
13733 { "_WXTYPE","_short",0},
13734 { "_WXTYPE","_signed_short",0},
13735 { "_WXTYPE","_unsigned_short",0},
13736 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13737 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13738 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13739 { "_class_wxDropTarget","_wxDropTarget",0},
13740 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13741 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13742 { "_class_wxBrush","_wxBrush",0},
13743 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13744 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13745 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13746 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13747 { "_class_wxGridTableBase","_wxGridTableBase",0},
13748 { "_unsigned_short","_WXTYPE",0},
13749 { "_unsigned_short","_short",0},
13750 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
13751 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
13752 { "_class_wxWindow","_wxWindow",0},
13753 { "_class_wxStaticText","_wxStaticText",0},
13754 { "_class_wxFont","_wxFont",0},
13755 { "_wxClipboard","_class_wxClipboard",0},
13756 { "_class_wxPyValidator","_wxPyValidator",0},
13757 { "_class_wxCloseEvent","_wxCloseEvent",0},
13758 { "_wxBusyInfo","_class_wxBusyInfo",0},
13759 { "_wxFontList","_class_wxFontList",0},
13760 { "_class_wxMenuEvent","_wxMenuEvent",0},
13761 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13762 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13763 { "_wxClientDC","_class_wxClientDC",0},
13764 { "_wxMouseEvent","_class_wxMouseEvent",0},
13765 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13766 { "_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
13767 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
13768 { "_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
13769 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
13770 { "_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject
},
13771 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
13772 { "_wxObject","_class_wxGrid",SwigwxGridTowxObject
},
13773 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
13774 { "_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject
},
13775 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
13776 { "_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
13777 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
13778 { "_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
13779 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
13780 { "_wxObject","_class_wxObject",0},
13781 { "_class_wxPoint","_wxPoint",0},
13782 { "_wxRealPoint","_class_wxRealPoint",0},
13783 { "_class_wxRadioBox","_wxRadioBox",0},
13784 { "_signed_short","_WXTYPE",0},
13785 { "_signed_short","_short",0},
13786 { "_wxMemoryDC","_class_wxMemoryDC",0},
13787 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13788 { "_wxPaintDC","_class_wxPaintDC",0},
13789 { "_class_wxWindowDC","_wxWindowDC",0},
13790 { "_class_wxFocusEvent","_wxFocusEvent",0},
13791 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13792 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13793 { "_class_wxCursor","_wxCursor",0},
13794 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13795 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
13796 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
13797 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13798 { "_unsigned_char","_byte",0},
13799 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
13800 { "_class_wxMenu","_wxMenu",0},
13801 { "_wxControl","_class_wxControl",0},
13802 { "_class_wxListBox","_wxListBox",0},
13803 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13804 { "_unsigned_int","_wxCoord",0},
13805 { "_unsigned_int","_wxPrintQuality",0},
13806 { "_unsigned_int","_time_t",0},
13807 { "_unsigned_int","_size_t",0},
13808 { "_unsigned_int","_uint",0},
13809 { "_unsigned_int","_wxWindowID",0},
13810 { "_unsigned_int","_int",0},
13811 { "_wxIcon","_class_wxIcon",0},
13812 { "_wxDialog","_class_wxDialog",0},
13813 { "_class_wxPen","_wxPen",0},
13814 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13815 { "_short","_WXTYPE",0},
13816 { "_short","_unsigned_short",0},
13817 { "_short","_signed_short",0},
13818 { "_class_wxStaticBox","_wxStaticBox",0},
13819 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13820 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13821 { "_class_wxPyDropSource","_wxPyDropSource",0},
13822 { "_class_wxScrollEvent","_wxScrollEvent",0},
13823 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13824 { "_class_wxChoice","_wxChoice",0},
13825 { "_class_wxSlider","_wxSlider",0},
13826 { "_class_wxImageList","_wxImageList",0},
13827 { "_class_wxBitmapButton","_wxBitmapButton",0},
13828 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13829 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13830 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13831 { "_wxWindowID","_wxCoord",0},
13832 { "_wxWindowID","_wxPrintQuality",0},
13833 { "_wxWindowID","_time_t",0},
13834 { "_wxWindowID","_size_t",0},
13835 { "_wxWindowID","_EBool",0},
13836 { "_wxWindowID","_uint",0},
13837 { "_wxWindowID","_int",0},
13838 { "_wxWindowID","_signed_int",0},
13839 { "_wxWindowID","_unsigned_int",0},
13840 { "_class_wxGDIObject","_wxGDIObject",0},
13841 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13842 { "_int","_WXGRIDSELECTIONMODES",0},
13843 { "_int","_wxCoord",0},
13844 { "_int","_wxPrintQuality",0},
13845 { "_int","_time_t",0},
13846 { "_int","_size_t",0},
13847 { "_int","_EBool",0},
13848 { "_int","_uint",0},
13849 { "_int","_wxWindowID",0},
13850 { "_int","_unsigned_int",0},
13851 { "_int","_signed_int",0},
13852 { "_class_wxMouseEvent","_wxMouseEvent",0},
13853 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13854 { "_class_wxSpinEvent","_wxSpinEvent",0},
13855 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
13856 { "_time_t","_WXGRIDSELECTIONMODES",0},
13857 { "_time_t","_wxCoord",0},
13858 { "_time_t","_wxPrintQuality",0},
13859 { "_time_t","_unsigned_int",0},
13860 { "_time_t","_int",0},
13861 { "_time_t","_wxWindowID",0},
13862 { "_time_t","_uint",0},
13863 { "_time_t","_size_t",0},
13864 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13865 { "_wxButton","_class_wxButton",0},
13866 { "_wxSize","_class_wxSize",0},
13867 { "_wxRegionIterator","_class_wxRegionIterator",0},
13868 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13869 { "_class_wxPaintDC","_wxPaintDC",0},
13870 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13871 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13872 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13873 { "_class_wxComboBox","_wxComboBox",0},
13874 { "_class_wxRadioButton","_wxRadioButton",0},
13875 { "_wxValidator","_class_wxValidator",0},
13876 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13877 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13878 { "_class_wxControl","_wxControl",0},
13879 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13880 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13881 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13882 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13883 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13884 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13885 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13886 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13887 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13888 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13889 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13890 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13891 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13892 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13893 { "_class_wxIcon","_wxIcon",0},
13894 { "_class_wxColour","_wxColour",0},
13895 { "_class_wxScreenDC","_wxScreenDC",0},
13896 { "_wxPalette","_class_wxPalette",0},
13897 { "_class_wxIdleEvent","_wxIdleEvent",0},
13898 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13899 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13900 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13901 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13902 { "_wxCoord","_int",0},
13903 { "_wxCoord","_signed_int",0},
13904 { "_wxCoord","_unsigned_int",0},
13905 { "_wxCoord","_wxWindowID",0},
13906 { "_wxCoord","_uint",0},
13907 { "_wxCoord","_EBool",0},
13908 { "_wxCoord","_size_t",0},
13909 { "_wxCoord","_time_t",0},
13910 { "_wxCoord","_wxPrintQuality",0},
13911 { "_wxEraseEvent","_class_wxEraseEvent",0},
13912 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13913 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13914 { "_class_wxToggleButton","_wxToggleButton",0},
13915 { "_wxRegion","_class_wxRegion",0},
13916 { "_class_wxShowEvent","_wxShowEvent",0},
13917 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13918 { "_wxActivateEvent","_class_wxActivateEvent",0},
13919 { "_wxGauge","_class_wxGauge",0},
13920 { "_class_wxCheckListBox","_wxCheckListBox",0},
13921 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13922 { "_class_wxBusyInfo","_wxBusyInfo",0},
13923 { "_class_wxFontList","_wxFontList",0},
13924 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13925 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13926 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13927 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13928 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13929 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13930 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13931 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13932 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13933 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13934 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13935 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13936 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13937 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13938 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13939 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13940 { "_class_wxGridEvent","_wxGridEvent",0},
13941 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13942 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13943 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13944 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13945 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13946 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13947 { "_class_wxCommandEvent","_wxCommandEvent",0},
13948 { "_class_wxClientDC","_wxClientDC",0},
13949 { "_class_wxSizeEvent","_wxSizeEvent",0},
13950 { "_wxBrushList","_class_wxBrushList",0},
13951 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13952 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13953 { "_class_wxSize","_wxSize",0},
13954 { "_class_wxBitmap","_wxBitmap",0},
13955 { "_class_wxMemoryDC","_wxMemoryDC",0},
13956 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13957 { "_wxMenuBar","_class_wxMenuBar",0},
13958 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13959 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13960 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13961 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
13962 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
13963 { "_wxEvtHandler","_class_wxEvtHandler",0},
13964 { "_wxMenuItem","_class_wxMenuItem",0},
13965 { "_class_wxScrollBar","_wxScrollBar",0},
13966 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
13967 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
13968 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13969 { "_wxKeyEvent","_class_wxKeyEvent",0},
13970 { "_wxMoveEvent","_class_wxMoveEvent",0},
13971 { "_class_wxPalette","_wxPalette",0},
13972 { "_wxFileDataObject","_class_wxFileDataObject",0},
13973 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13974 { "_class_wxEraseEvent","_wxEraseEvent",0},
13975 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13976 { "_class_wxGridStringTable","_wxGridStringTable",0},
13977 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
13978 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
13979 { "_wxWindow","_class_wxWindow",0},
13980 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13983 static PyObject
*SWIG_globals
;
13987 SWIGEXPORT(void) initgridc() {
13989 SWIG_globals
= SWIG_newvarlink();
13990 m
= Py_InitModule("gridc", gridcMethods
);
13991 d
= PyModule_GetDict(m
);
13992 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13993 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13994 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13995 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13996 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13997 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13998 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13999 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14000 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14001 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14002 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14003 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14004 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14005 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14006 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14007 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14008 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14009 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14010 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14011 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14012 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14013 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14014 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14015 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14016 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14017 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14018 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14019 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14020 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14021 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14022 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14023 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14024 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14026 wxClassInfo::CleanUpClasses();
14027 wxClassInfo::InitializeClasses();
14028 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14029 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14030 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14031 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14032 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14033 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14034 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14035 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14036 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14039 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14040 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);