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_INTINT(PCLASS, CBNAME) \
114 wxGridCellAttr* CBNAME(int a, int b) { \
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("(ii)", a, b)); \
122 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
128 rval = PCLASS::CBNAME(a, b); \
129 wxPySaveThread(doSave); \
132 wxGridCellAttr *base_##CBNAME(int a, int b) { \
133 return PCLASS::CBNAME(a, b); \
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_INTINT(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_INTINT(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
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1565 wxPy_BEGIN_ALLOW_THREADS
;
1566 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1568 wxPy_END_ALLOW_THREADS
;
1570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
1571 _resultobj
= Py_BuildValue("s",_ptemp
);
1574 _resultobj
= Py_None
;
1579 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1580 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1582 wxGridCellEditor
* _arg0
;
1584 PyObject
* _argo0
= 0;
1585 PyObject
* _argo1
= 0;
1586 char *_kwnames
[] = { "self","control", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1599 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1609 wxPy_END_ALLOW_THREADS
;
1610 } Py_INCREF(Py_None
);
1611 _resultobj
= Py_None
;
1615 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1616 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1618 wxGridCellEditor
* _arg0
;
1620 PyObject
* _argo0
= 0;
1621 PyObject
* _obj1
= 0;
1622 char *_kwnames
[] = { "self","params", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1635 #if PYTHON_API_VERSION >= 1009
1636 char* tmpPtr
; int tmpSize
;
1637 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1641 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1643 _arg1
= new wxString(tmpPtr
, tmpSize
);
1645 if (!PyString_Check(_obj1
)) {
1646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1649 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } Py_INCREF(Py_None
);
1658 _resultobj
= Py_None
;
1666 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1667 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1669 wxGridCellEditor
* _arg0
;
1670 PyObject
* _argo0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1684 wxPy_BEGIN_ALLOW_THREADS
;
1685 wxGridCellEditor_IncRef(_arg0
);
1687 wxPy_END_ALLOW_THREADS
;
1688 } Py_INCREF(Py_None
);
1689 _resultobj
= Py_None
;
1693 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1694 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxGridCellEditor
* _arg0
;
1697 PyObject
* _argo0
= 0;
1698 char *_kwnames
[] = { "self", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1711 wxPy_BEGIN_ALLOW_THREADS
;
1712 wxGridCellEditor_DecRef(_arg0
);
1714 wxPy_END_ALLOW_THREADS
;
1715 } Py_INCREF(Py_None
);
1716 _resultobj
= Py_None
;
1720 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1721 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1723 wxGridCellEditor
* _arg0
;
1726 wxEvtHandler
* _arg3
;
1727 PyObject
* _argo0
= 0;
1728 PyObject
* _argo1
= 0;
1729 PyObject
* _argo3
= 0;
1730 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1750 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1760 wxPy_END_ALLOW_THREADS
;
1761 } Py_INCREF(Py_None
);
1762 _resultobj
= Py_None
;
1766 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1767 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1769 wxGridCellEditor
* _arg0
;
1773 PyObject
* _argo0
= 0;
1774 PyObject
* _argo3
= 0;
1775 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1788 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1795 wxPy_BEGIN_ALLOW_THREADS
;
1796 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1798 wxPy_END_ALLOW_THREADS
;
1799 } Py_INCREF(Py_None
);
1800 _resultobj
= Py_None
;
1804 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1805 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1808 wxGridCellEditor
* _arg0
;
1812 PyObject
* _argo0
= 0;
1813 PyObject
* _argo3
= 0;
1814 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1827 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1828 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1837 wxPy_END_ALLOW_THREADS
;
1838 } _resultobj
= Py_BuildValue("i",_result
);
1842 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1843 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1845 wxGridCellEditor
* _arg0
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 wxGridCellEditor_Reset(_arg0
);
1863 wxPy_END_ALLOW_THREADS
;
1864 } Py_INCREF(Py_None
);
1865 _resultobj
= Py_None
;
1869 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1870 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1872 wxGridCellEditor
* _result
;
1873 wxGridCellEditor
* _arg0
;
1874 PyObject
* _argo0
= 0;
1875 char *_kwnames
[] = { "self", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
1882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1889 wxPy_BEGIN_ALLOW_THREADS
;
1890 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
1892 wxPy_END_ALLOW_THREADS
;
1894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
1895 _resultobj
= Py_BuildValue("s",_ptemp
);
1898 _resultobj
= Py_None
;
1903 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1904 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1906 wxGridCellEditor
* _arg0
;
1908 PyObject
* _argo0
= 0;
1910 PyObject
* _obj1
= 0;
1911 char *_kwnames
[] = { "self","rect", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1925 if (! wxRect_helper(_obj1
, &_arg1
))
1929 wxPy_BEGIN_ALLOW_THREADS
;
1930 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
1932 wxPy_END_ALLOW_THREADS
;
1933 } Py_INCREF(Py_None
);
1934 _resultobj
= Py_None
;
1938 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1939 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1941 wxGridCellEditor
* _arg0
;
1943 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
1944 PyObject
* _argo0
= 0;
1946 PyObject
* _argo2
= 0;
1947 char *_kwnames
[] = { "self","show","attr", NULL
};
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
1953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1959 _arg1
= (bool ) tempbool1
;
1961 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1968 wxPy_BEGIN_ALLOW_THREADS
;
1969 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
1971 wxPy_END_ALLOW_THREADS
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1977 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1978 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1980 wxGridCellEditor
* _arg0
;
1982 wxGridCellAttr
* _arg2
;
1983 PyObject
* _argo0
= 0;
1985 PyObject
* _obj1
= 0;
1986 PyObject
* _argo2
= 0;
1987 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
1993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2001 if (! wxRect_helper(_obj1
, &_arg1
))
2005 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2012 wxPy_BEGIN_ALLOW_THREADS
;
2013 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2015 wxPy_END_ALLOW_THREADS
;
2016 } Py_INCREF(Py_None
);
2017 _resultobj
= Py_None
;
2021 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2022 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2025 wxGridCellEditor
* _arg0
;
2027 PyObject
* _argo0
= 0;
2028 PyObject
* _argo1
= 0;
2029 char *_kwnames
[] = { "self","event", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } _resultobj
= Py_BuildValue("i",_result
);
2057 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2058 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2060 wxGridCellEditor
* _arg0
;
2062 PyObject
* _argo0
= 0;
2063 PyObject
* _argo1
= 0;
2064 char *_kwnames
[] = { "self","event", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2087 wxPy_END_ALLOW_THREADS
;
2088 } Py_INCREF(Py_None
);
2089 _resultobj
= Py_None
;
2093 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2094 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2096 wxGridCellEditor
* _arg0
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 wxGridCellEditor_StartingClick(_arg0
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2121 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2123 wxGridCellEditor
* _arg0
;
2125 PyObject
* _argo0
= 0;
2126 PyObject
* _argo1
= 0;
2127 char *_kwnames
[] = { "self","event", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2150 wxPy_END_ALLOW_THREADS
;
2151 } Py_INCREF(Py_None
);
2152 _resultobj
= Py_None
;
2156 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2157 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2159 wxGridCellEditor
* _arg0
;
2160 PyObject
* _argo0
= 0;
2161 char *_kwnames
[] = { "self", NULL
};
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2174 wxPy_BEGIN_ALLOW_THREADS
;
2175 wxGridCellEditor_Destroy(_arg0
);
2177 wxPy_END_ALLOW_THREADS
;
2178 } Py_INCREF(Py_None
);
2179 _resultobj
= Py_None
;
2183 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2184 wxPyGridCellEditor
*src
;
2185 wxGridCellEditor
*dest
;
2186 src
= (wxPyGridCellEditor
*) ptr
;
2187 dest
= (wxGridCellEditor
*) src
;
2188 return (void *) dest
;
2191 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2192 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2194 wxPyGridCellEditor
* _result
;
2195 char *_kwnames
[] = { NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2202 wxPy_BEGIN_ALLOW_THREADS
;
2203 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2205 wxPy_END_ALLOW_THREADS
;
2207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2208 _resultobj
= Py_BuildValue("s",_ptemp
);
2211 _resultobj
= Py_None
;
2216 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2217 static PyObject
*_wrap_wxPyGridCellEditor__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2219 wxPyGridCellEditor
* _arg0
;
2222 PyObject
* _argo0
= 0;
2223 PyObject
* _obj1
= 0;
2224 PyObject
* _obj2
= 0;
2225 char *_kwnames
[] = { "self","self","_class", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2244 wxPy_BEGIN_ALLOW_THREADS
;
2245 wxPyGridCellEditor__setSelf(_arg0
,_arg1
,_arg2
);
2247 wxPy_END_ALLOW_THREADS
;
2248 } Py_INCREF(Py_None
);
2249 _resultobj
= Py_None
;
2253 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2254 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
* _resultobj
;
2256 wxPyGridCellEditor
* _arg0
;
2258 PyObject
* _argo0
= 0;
2260 PyObject
* _obj1
= 0;
2261 char *_kwnames
[] = { "self","rect", NULL
};
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2275 if (! wxRect_helper(_obj1
, &_arg1
))
2279 wxPy_BEGIN_ALLOW_THREADS
;
2280 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2282 wxPy_END_ALLOW_THREADS
;
2283 } Py_INCREF(Py_None
);
2284 _resultobj
= Py_None
;
2288 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2289 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2291 wxPyGridCellEditor
* _arg0
;
2293 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2294 PyObject
* _argo0
= 0;
2296 PyObject
* _argo2
= 0;
2297 char *_kwnames
[] = { "self","show","attr", NULL
};
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2309 _arg1
= (bool ) tempbool1
;
2311 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2321 wxPy_END_ALLOW_THREADS
;
2322 } Py_INCREF(Py_None
);
2323 _resultobj
= Py_None
;
2327 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2328 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2330 wxPyGridCellEditor
* _arg0
;
2332 wxGridCellAttr
* _arg2
;
2333 PyObject
* _argo0
= 0;
2335 PyObject
* _obj1
= 0;
2336 PyObject
* _argo2
= 0;
2337 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2351 if (! wxRect_helper(_obj1
, &_arg1
))
2355 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2362 wxPy_BEGIN_ALLOW_THREADS
;
2363 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2365 wxPy_END_ALLOW_THREADS
;
2366 } Py_INCREF(Py_None
);
2367 _resultobj
= Py_None
;
2371 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2372 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2374 wxPyGridCellEditor
* _arg0
;
2376 PyObject
* _argo0
= 0;
2377 PyObject
* _argo1
= 0;
2378 char *_kwnames
[] = { "self","event", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2408 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2410 wxPyGridCellEditor
* _arg0
;
2412 PyObject
* _argo0
= 0;
2413 PyObject
* _argo1
= 0;
2414 char *_kwnames
[] = { "self","event", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } Py_INCREF(Py_None
);
2439 _resultobj
= Py_None
;
2443 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2444 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2446 wxPyGridCellEditor
* _arg0
;
2447 PyObject
* _argo0
= 0;
2448 char *_kwnames
[] = { "self", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2461 wxPy_BEGIN_ALLOW_THREADS
;
2462 wxPyGridCellEditor_base_StartingClick(_arg0
);
2464 wxPy_END_ALLOW_THREADS
;
2465 } Py_INCREF(Py_None
);
2466 _resultobj
= Py_None
;
2470 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2471 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2473 wxPyGridCellEditor
* _arg0
;
2475 PyObject
* _argo0
= 0;
2476 PyObject
* _argo1
= 0;
2477 char *_kwnames
[] = { "self","event", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2497 wxPy_BEGIN_ALLOW_THREADS
;
2498 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2500 wxPy_END_ALLOW_THREADS
;
2501 } Py_INCREF(Py_None
);
2502 _resultobj
= Py_None
;
2506 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2507 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2509 wxPyGridCellEditor
* _arg0
;
2510 PyObject
* _argo0
= 0;
2511 char *_kwnames
[] = { "self", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2524 wxPy_BEGIN_ALLOW_THREADS
;
2525 wxPyGridCellEditor_base_Destroy(_arg0
);
2527 wxPy_END_ALLOW_THREADS
;
2528 } Py_INCREF(Py_None
);
2529 _resultobj
= Py_None
;
2533 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2534 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2536 wxPyGridCellEditor
* _arg0
;
2538 PyObject
* _argo0
= 0;
2539 PyObject
* _obj1
= 0;
2540 char *_kwnames
[] = { "self","params", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2553 #if PYTHON_API_VERSION >= 1009
2554 char* tmpPtr
; int tmpSize
;
2555 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2559 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2561 _arg1
= new wxString(tmpPtr
, tmpSize
);
2563 if (!PyString_Check(_obj1
)) {
2564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2567 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2571 wxPy_BEGIN_ALLOW_THREADS
;
2572 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2574 wxPy_END_ALLOW_THREADS
;
2575 } Py_INCREF(Py_None
);
2576 _resultobj
= Py_None
;
2584 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2585 wxGridCellTextEditor
*src
;
2586 wxGridCellEditor
*dest
;
2587 src
= (wxGridCellTextEditor
*) ptr
;
2588 dest
= (wxGridCellEditor
*) src
;
2589 return (void *) dest
;
2592 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2593 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
* _resultobj
;
2595 wxGridCellTextEditor
* _result
;
2596 char *_kwnames
[] = { NULL
};
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2603 wxPy_BEGIN_ALLOW_THREADS
;
2604 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2606 wxPy_END_ALLOW_THREADS
;
2608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2612 _resultobj
= Py_None
;
2617 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2618 wxGridCellNumberEditor
*src
;
2619 wxGridCellTextEditor
*dest
;
2620 src
= (wxGridCellNumberEditor
*) ptr
;
2621 dest
= (wxGridCellTextEditor
*) src
;
2622 return (void *) dest
;
2625 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2626 wxGridCellNumberEditor
*src
;
2627 wxGridCellEditor
*dest
;
2628 src
= (wxGridCellNumberEditor
*) ptr
;
2629 dest
= (wxGridCellEditor
*) src
;
2630 return (void *) dest
;
2633 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2634 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2636 wxGridCellNumberEditor
* _result
;
2637 int _arg0
= (int ) -1;
2638 int _arg1
= (int ) -1;
2639 char *_kwnames
[] = { "min","max", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2649 wxPy_END_ALLOW_THREADS
;
2651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2652 _resultobj
= Py_BuildValue("s",_ptemp
);
2655 _resultobj
= Py_None
;
2660 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2661 wxGridCellFloatEditor
*src
;
2662 wxGridCellTextEditor
*dest
;
2663 src
= (wxGridCellFloatEditor
*) ptr
;
2664 dest
= (wxGridCellTextEditor
*) src
;
2665 return (void *) dest
;
2668 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2669 wxGridCellFloatEditor
*src
;
2670 wxGridCellEditor
*dest
;
2671 src
= (wxGridCellFloatEditor
*) ptr
;
2672 dest
= (wxGridCellEditor
*) src
;
2673 return (void *) dest
;
2676 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2677 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2679 wxGridCellFloatEditor
* _result
;
2680 char *_kwnames
[] = { NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2687 wxPy_BEGIN_ALLOW_THREADS
;
2688 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2690 wxPy_END_ALLOW_THREADS
;
2692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2693 _resultobj
= Py_BuildValue("s",_ptemp
);
2696 _resultobj
= Py_None
;
2701 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2702 wxGridCellBoolEditor
*src
;
2703 wxGridCellEditor
*dest
;
2704 src
= (wxGridCellBoolEditor
*) ptr
;
2705 dest
= (wxGridCellEditor
*) src
;
2706 return (void *) dest
;
2709 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2710 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2712 wxGridCellBoolEditor
* _result
;
2713 char *_kwnames
[] = { NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2723 wxPy_END_ALLOW_THREADS
;
2725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2726 _resultobj
= Py_BuildValue("s",_ptemp
);
2729 _resultobj
= Py_None
;
2734 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2735 wxGridCellChoiceEditor
*src
;
2736 wxGridCellEditor
*dest
;
2737 src
= (wxGridCellChoiceEditor
*) ptr
;
2738 dest
= (wxGridCellEditor
*) src
;
2739 return (void *) dest
;
2742 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2743 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2745 wxGridCellChoiceEditor
* _result
;
2746 int _arg0
= (int ) 0;
2747 wxString
* _arg1
= (wxString
*) NULL
;
2748 bool _arg2
= (bool ) FALSE
;
2749 PyObject
* _obj1
= 0;
2750 int tempbool2
= (int) FALSE
;
2751 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2759 _arg1
= wxString_LIST_helper(_obj1
);
2760 if (_arg1
== NULL
) {
2764 _arg2
= (bool ) tempbool2
;
2767 _arg0
= PyList_Size(_obj1
);
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2777 wxPy_END_ALLOW_THREADS
;
2779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2780 _resultobj
= Py_BuildValue("s",_ptemp
);
2783 _resultobj
= Py_None
;
2791 #define new_wxGridCellAttr() (new wxGridCellAttr())
2792 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2794 wxGridCellAttr
* _result
;
2795 char *_kwnames
[] = { NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttr",_kwnames
))
2802 wxPy_BEGIN_ALLOW_THREADS
;
2803 _result
= (wxGridCellAttr
*)new_wxGridCellAttr();
2805 wxPy_END_ALLOW_THREADS
;
2807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2808 _resultobj
= Py_BuildValue("s",_ptemp
);
2811 _resultobj
= Py_None
;
2816 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2817 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2819 wxGridCellAttr
* _result
;
2820 wxGridCellAttr
* _arg0
;
2821 PyObject
* _argo0
= 0;
2822 char *_kwnames
[] = { "self", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
2839 wxPy_END_ALLOW_THREADS
;
2841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2842 _resultobj
= Py_BuildValue("s",_ptemp
);
2845 _resultobj
= Py_None
;
2850 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2851 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2853 wxGridCellAttr
* _arg0
;
2854 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2868 wxPy_BEGIN_ALLOW_THREADS
;
2869 wxGridCellAttr_IncRef(_arg0
);
2871 wxPy_END_ALLOW_THREADS
;
2872 } Py_INCREF(Py_None
);
2873 _resultobj
= Py_None
;
2877 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2878 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2880 wxGridCellAttr
* _arg0
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 wxGridCellAttr_DecRef(_arg0
);
2898 wxPy_END_ALLOW_THREADS
;
2899 } Py_INCREF(Py_None
);
2900 _resultobj
= Py_None
;
2904 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2905 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2907 wxGridCellAttr
* _arg0
;
2909 PyObject
* _argo0
= 0;
2911 PyObject
* _obj1
= 0;
2912 char *_kwnames
[] = { "self","colText", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2926 if (! wxColour_helper(_obj1
, &_arg1
))
2930 wxPy_BEGIN_ALLOW_THREADS
;
2931 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
2933 wxPy_END_ALLOW_THREADS
;
2934 } Py_INCREF(Py_None
);
2935 _resultobj
= Py_None
;
2939 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2940 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2942 wxGridCellAttr
* _arg0
;
2944 PyObject
* _argo0
= 0;
2946 PyObject
* _obj1
= 0;
2947 char *_kwnames
[] = { "self","colBack", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2961 if (! wxColour_helper(_obj1
, &_arg1
))
2965 wxPy_BEGIN_ALLOW_THREADS
;
2966 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
2968 wxPy_END_ALLOW_THREADS
;
2969 } Py_INCREF(Py_None
);
2970 _resultobj
= Py_None
;
2974 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2975 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2977 wxGridCellAttr
* _arg0
;
2979 PyObject
* _argo0
= 0;
2980 PyObject
* _argo1
= 0;
2981 char *_kwnames
[] = { "self","font", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3001 wxPy_BEGIN_ALLOW_THREADS
;
3002 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3004 wxPy_END_ALLOW_THREADS
;
3005 } Py_INCREF(Py_None
);
3006 _resultobj
= Py_None
;
3010 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3011 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3013 wxGridCellAttr
* _arg0
;
3016 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3033 wxPy_END_ALLOW_THREADS
;
3034 } Py_INCREF(Py_None
);
3035 _resultobj
= Py_None
;
3039 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3040 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3042 wxGridCellAttr
* _arg0
;
3043 bool _arg1
= (bool ) TRUE
;
3044 PyObject
* _argo0
= 0;
3045 int tempbool1
= (int) TRUE
;
3046 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
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_SetReadOnly. Expected _wxGridCellAttr_p.");
3058 _arg1
= (bool ) tempbool1
;
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3063 wxPy_END_ALLOW_THREADS
;
3064 } Py_INCREF(Py_None
);
3065 _resultobj
= Py_None
;
3069 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3070 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3072 wxGridCellAttr
* _arg0
;
3073 wxGridCellRenderer
* _arg1
;
3074 PyObject
* _argo0
= 0;
3075 PyObject
* _argo1
= 0;
3076 char *_kwnames
[] = { "self","renderer", NULL
};
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3106 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3108 wxGridCellAttr
* _arg0
;
3109 wxGridCellEditor
* _arg1
;
3110 PyObject
* _argo0
= 0;
3111 PyObject
* _argo1
= 0;
3112 char *_kwnames
[] = { "self","editor", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3132 wxPy_BEGIN_ALLOW_THREADS
;
3133 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3135 wxPy_END_ALLOW_THREADS
;
3136 } Py_INCREF(Py_None
);
3137 _resultobj
= Py_None
;
3141 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3142 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3145 wxGridCellAttr
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } _resultobj
= Py_BuildValue("i",_result
);
3168 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3169 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3172 wxGridCellAttr
* _arg0
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3190 wxPy_END_ALLOW_THREADS
;
3191 } _resultobj
= Py_BuildValue("i",_result
);
3195 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3196 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3199 wxGridCellAttr
* _arg0
;
3200 PyObject
* _argo0
= 0;
3201 char *_kwnames
[] = { "self", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3217 wxPy_END_ALLOW_THREADS
;
3218 } _resultobj
= Py_BuildValue("i",_result
);
3222 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3223 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3226 wxGridCellAttr
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3241 wxPy_BEGIN_ALLOW_THREADS
;
3242 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3244 wxPy_END_ALLOW_THREADS
;
3245 } _resultobj
= Py_BuildValue("i",_result
);
3249 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3250 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3253 wxGridCellAttr
* _arg0
;
3254 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3268 wxPy_BEGIN_ALLOW_THREADS
;
3269 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3271 wxPy_END_ALLOW_THREADS
;
3272 } _resultobj
= Py_BuildValue("i",_result
);
3276 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3277 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3280 wxGridCellAttr
* _arg0
;
3281 PyObject
* _argo0
= 0;
3282 char *_kwnames
[] = { "self", NULL
};
3285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3295 wxPy_BEGIN_ALLOW_THREADS
;
3296 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3298 wxPy_END_ALLOW_THREADS
;
3299 } _resultobj
= Py_BuildValue("i",_result
);
3303 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3304 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3307 wxGridCellAttr
* _arg0
;
3308 PyObject
* _argo0
= 0;
3309 char *_kwnames
[] = { "self", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3323 wxPy_BEGIN_ALLOW_THREADS
;
3324 const wxColour
& _result_ref
= wxGridCellAttr_GetTextColour(_arg0
);
3325 _result
= (wxColour
*) &_result_ref
;
3327 wxPy_END_ALLOW_THREADS
;
3329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3330 _resultobj
= Py_BuildValue("s",_ptemp
);
3333 _resultobj
= Py_None
;
3338 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3339 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3342 wxGridCellAttr
* _arg0
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "self", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3358 wxPy_BEGIN_ALLOW_THREADS
;
3359 const wxColour
& _result_ref
= wxGridCellAttr_GetBackgroundColour(_arg0
);
3360 _result
= (wxColour
*) &_result_ref
;
3362 wxPy_END_ALLOW_THREADS
;
3364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3365 _resultobj
= Py_BuildValue("s",_ptemp
);
3368 _resultobj
= Py_None
;
3373 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3374 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3377 wxGridCellAttr
* _arg0
;
3378 PyObject
* _argo0
= 0;
3379 char *_kwnames
[] = { "self", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3393 wxPy_BEGIN_ALLOW_THREADS
;
3394 const wxFont
& _result_ref
= wxGridCellAttr_GetFont(_arg0
);
3395 _result
= (wxFont
*) &_result_ref
;
3397 wxPy_END_ALLOW_THREADS
;
3399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3400 _resultobj
= Py_BuildValue("s",_ptemp
);
3403 _resultobj
= Py_None
;
3408 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3409 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3411 wxGridCellAttr
* _arg0
;
3416 PyObject
* _argo0
= 0;
3417 char *_kwnames
[] = { "self", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3436 wxPy_BEGIN_ALLOW_THREADS
;
3437 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3439 wxPy_END_ALLOW_THREADS
;
3440 } Py_INCREF(Py_None
);
3441 _resultobj
= Py_None
;
3444 o
= PyInt_FromLong((long) (*_arg1
));
3445 _resultobj
= t_output_helper(_resultobj
, o
);
3449 o
= PyInt_FromLong((long) (*_arg2
));
3450 _resultobj
= t_output_helper(_resultobj
, o
);
3455 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3456 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxGridCellRenderer
* _result
;
3459 wxGridCellAttr
* _arg0
;
3463 PyObject
* _argo0
= 0;
3464 PyObject
* _argo1
= 0;
3465 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3486 wxPy_BEGIN_ALLOW_THREADS
;
3487 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3489 wxPy_END_ALLOW_THREADS
;
3491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3492 _resultobj
= Py_BuildValue("s",_ptemp
);
3495 _resultobj
= Py_None
;
3500 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3501 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3503 wxGridCellEditor
* _result
;
3504 wxGridCellAttr
* _arg0
;
3508 PyObject
* _argo0
= 0;
3509 PyObject
* _argo1
= 0;
3510 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3531 wxPy_BEGIN_ALLOW_THREADS
;
3532 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3534 wxPy_END_ALLOW_THREADS
;
3536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3537 _resultobj
= Py_BuildValue("s",_ptemp
);
3540 _resultobj
= Py_None
;
3545 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3546 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3549 wxGridCellAttr
* _arg0
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3567 wxPy_END_ALLOW_THREADS
;
3568 } _resultobj
= Py_BuildValue("i",_result
);
3572 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3573 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3575 wxGridCellAttr
* _arg0
;
3576 wxGridCellAttr
* _arg1
;
3577 PyObject
* _argo0
= 0;
3578 PyObject
* _argo1
= 0;
3579 char *_kwnames
[] = { "self","defAttr", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3599 wxPy_BEGIN_ALLOW_THREADS
;
3600 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3602 wxPy_END_ALLOW_THREADS
;
3603 } Py_INCREF(Py_None
);
3604 _resultobj
= Py_None
;
3608 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3609 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3611 wxGridCellAttrProvider
* _result
;
3612 char *_kwnames
[] = { NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3619 wxPy_BEGIN_ALLOW_THREADS
;
3620 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3622 wxPy_END_ALLOW_THREADS
;
3624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3625 _resultobj
= Py_BuildValue("s",_ptemp
);
3628 _resultobj
= Py_None
;
3633 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3634 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3636 wxGridCellAttr
* _result
;
3637 wxGridCellAttrProvider
* _arg0
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self","row","col", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
);
3658 wxPy_END_ALLOW_THREADS
;
3660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3661 _resultobj
= Py_BuildValue("s",_ptemp
);
3664 _resultobj
= Py_None
;
3669 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3670 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3672 wxGridCellAttrProvider
* _arg0
;
3673 wxGridCellAttr
* _arg1
;
3676 PyObject
* _argo0
= 0;
3677 PyObject
* _argo1
= 0;
3678 char *_kwnames
[] = { "self","attr","row","col", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3698 wxPy_BEGIN_ALLOW_THREADS
;
3699 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3701 wxPy_END_ALLOW_THREADS
;
3702 } Py_INCREF(Py_None
);
3703 _resultobj
= Py_None
;
3707 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3708 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3710 wxGridCellAttrProvider
* _arg0
;
3711 wxGridCellAttr
* _arg1
;
3713 PyObject
* _argo0
= 0;
3714 PyObject
* _argo1
= 0;
3715 char *_kwnames
[] = { "self","attr","row", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3728 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3735 wxPy_BEGIN_ALLOW_THREADS
;
3736 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
3738 wxPy_END_ALLOW_THREADS
;
3739 } Py_INCREF(Py_None
);
3740 _resultobj
= Py_None
;
3744 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3745 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3747 wxGridCellAttrProvider
* _arg0
;
3748 wxGridCellAttr
* _arg1
;
3750 PyObject
* _argo0
= 0;
3751 PyObject
* _argo1
= 0;
3752 char *_kwnames
[] = { "self","attr","col", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3772 wxPy_BEGIN_ALLOW_THREADS
;
3773 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
3775 wxPy_END_ALLOW_THREADS
;
3776 } Py_INCREF(Py_None
);
3777 _resultobj
= Py_None
;
3781 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3782 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3784 wxGridCellAttrProvider
* _arg0
;
3787 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self","pos","numRows", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } Py_INCREF(Py_None
);
3806 _resultobj
= Py_None
;
3810 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3811 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3813 wxGridCellAttrProvider
* _arg0
;
3816 PyObject
* _argo0
= 0;
3817 char *_kwnames
[] = { "self","pos","numCols", NULL
};
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3830 wxPy_BEGIN_ALLOW_THREADS
;
3831 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
3833 wxPy_END_ALLOW_THREADS
;
3834 } Py_INCREF(Py_None
);
3835 _resultobj
= Py_None
;
3839 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
3840 wxPyGridCellAttrProvider
*src
;
3841 wxGridCellAttrProvider
*dest
;
3842 src
= (wxPyGridCellAttrProvider
*) ptr
;
3843 dest
= (wxGridCellAttrProvider
*) src
;
3844 return (void *) dest
;
3847 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3848 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3850 wxPyGridCellAttrProvider
* _result
;
3851 char *_kwnames
[] = { NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
3858 wxPy_BEGIN_ALLOW_THREADS
;
3859 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
3861 wxPy_END_ALLOW_THREADS
;
3863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
3864 _resultobj
= Py_BuildValue("s",_ptemp
);
3867 _resultobj
= Py_None
;
3872 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3873 static PyObject
*_wrap_wxPyGridCellAttrProvider__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3875 wxPyGridCellAttrProvider
* _arg0
;
3878 PyObject
* _argo0
= 0;
3879 PyObject
* _obj1
= 0;
3880 PyObject
* _obj2
= 0;
3881 char *_kwnames
[] = { "self","self","_class", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 wxPyGridCellAttrProvider__setSelf(_arg0
,_arg1
,_arg2
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } Py_INCREF(Py_None
);
3905 _resultobj
= Py_None
;
3909 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3910 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3912 wxGridCellAttr
* _result
;
3913 wxPyGridCellAttrProvider
* _arg0
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self","row","col", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
);
3934 wxPy_END_ALLOW_THREADS
;
3936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3937 _resultobj
= Py_BuildValue("s",_ptemp
);
3940 _resultobj
= Py_None
;
3945 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3946 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3948 wxPyGridCellAttrProvider
* _arg0
;
3949 wxGridCellAttr
* _arg1
;
3952 PyObject
* _argo0
= 0;
3953 PyObject
* _argo1
= 0;
3954 char *_kwnames
[] = { "self","attr","row","col", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
3967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3974 wxPy_BEGIN_ALLOW_THREADS
;
3975 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3977 wxPy_END_ALLOW_THREADS
;
3978 } Py_INCREF(Py_None
);
3979 _resultobj
= Py_None
;
3983 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3984 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
* _resultobj
;
3986 wxPyGridCellAttrProvider
* _arg0
;
3987 wxGridCellAttr
* _arg1
;
3989 PyObject
* _argo0
= 0;
3990 PyObject
* _argo1
= 0;
3991 char *_kwnames
[] = { "self","attr","row", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4011 wxPy_BEGIN_ALLOW_THREADS
;
4012 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4014 wxPy_END_ALLOW_THREADS
;
4015 } Py_INCREF(Py_None
);
4016 _resultobj
= Py_None
;
4020 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4021 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
* _resultobj
;
4023 wxPyGridCellAttrProvider
* _arg0
;
4024 wxGridCellAttr
* _arg1
;
4026 PyObject
* _argo0
= 0;
4027 PyObject
* _argo1
= 0;
4028 char *_kwnames
[] = { "self","attr","col", NULL
};
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4041 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4048 wxPy_BEGIN_ALLOW_THREADS
;
4049 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4051 wxPy_END_ALLOW_THREADS
;
4052 } Py_INCREF(Py_None
);
4053 _resultobj
= Py_None
;
4057 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4058 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
* _resultobj
;
4060 wxGridTableBase
* _arg0
;
4061 wxGridCellAttrProvider
* _arg1
;
4062 PyObject
* _argo0
= 0;
4063 PyObject
* _argo1
= 0;
4064 char *_kwnames
[] = { "self","attrProvider", NULL
};
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4087 wxPy_END_ALLOW_THREADS
;
4088 } Py_INCREF(Py_None
);
4089 _resultobj
= Py_None
;
4093 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4094 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4096 wxGridCellAttrProvider
* _result
;
4097 wxGridTableBase
* _arg0
;
4098 PyObject
* _argo0
= 0;
4099 char *_kwnames
[] = { "self", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4113 wxPy_BEGIN_ALLOW_THREADS
;
4114 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4116 wxPy_END_ALLOW_THREADS
;
4118 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4119 _resultobj
= Py_BuildValue("s",_ptemp
);
4122 _resultobj
= Py_None
;
4127 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4128 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4130 wxGridTableBase
* _arg0
;
4132 PyObject
* _argo0
= 0;
4133 PyObject
* _argo1
= 0;
4134 char *_kwnames
[] = { "self","grid", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 wxGridTableBase_SetView(_arg0
,_arg1
);
4157 wxPy_END_ALLOW_THREADS
;
4158 } Py_INCREF(Py_None
);
4159 _resultobj
= Py_None
;
4163 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4164 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4167 wxGridTableBase
* _arg0
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self", NULL
};
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4183 wxPy_BEGIN_ALLOW_THREADS
;
4184 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4186 wxPy_END_ALLOW_THREADS
;
4188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
4189 _resultobj
= Py_BuildValue("s",_ptemp
);
4192 _resultobj
= Py_None
;
4197 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4198 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4201 wxGridTableBase
* _arg0
;
4202 PyObject
* _argo0
= 0;
4203 char *_kwnames
[] = { "self", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4216 wxPy_BEGIN_ALLOW_THREADS
;
4217 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4219 wxPy_END_ALLOW_THREADS
;
4220 } _resultobj
= Py_BuildValue("i",_result
);
4224 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4225 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4228 wxGridTableBase
* _arg0
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4243 wxPy_BEGIN_ALLOW_THREADS
;
4244 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4246 wxPy_END_ALLOW_THREADS
;
4247 } _resultobj
= Py_BuildValue("i",_result
);
4251 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4252 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4255 wxGridTableBase
* _arg0
;
4258 PyObject
* _argo0
= 0;
4259 char *_kwnames
[] = { "self","row","col", NULL
};
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4272 wxPy_BEGIN_ALLOW_THREADS
;
4273 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4275 wxPy_END_ALLOW_THREADS
;
4276 } _resultobj
= Py_BuildValue("i",_result
);
4280 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4281 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4284 wxGridTableBase
* _arg0
;
4287 PyObject
* _argo0
= 0;
4288 char *_kwnames
[] = { "self","row","col", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4304 wxPy_END_ALLOW_THREADS
;
4306 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4314 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4315 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
* _resultobj
;
4317 wxGridTableBase
* _arg0
;
4321 PyObject
* _argo0
= 0;
4322 PyObject
* _obj3
= 0;
4323 char *_kwnames
[] = { "self","row","col","value", NULL
};
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4336 #if PYTHON_API_VERSION >= 1009
4337 char* tmpPtr
; int tmpSize
;
4338 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4342 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4344 _arg3
= new wxString(tmpPtr
, tmpSize
);
4346 if (!PyString_Check(_obj3
)) {
4347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4350 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4354 wxPy_BEGIN_ALLOW_THREADS
;
4355 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4357 wxPy_END_ALLOW_THREADS
;
4358 } Py_INCREF(Py_None
);
4359 _resultobj
= Py_None
;
4367 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4368 static PyObject
*_wrap_wxGridTableBase_GetTypeName(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_GetTypeName",_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_GetTypeName. Expected _wxGridTableBase_p.");
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4391 wxPy_END_ALLOW_THREADS
;
4393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4401 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4402 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4405 wxGridTableBase
* _arg0
;
4409 PyObject
* _argo0
= 0;
4410 PyObject
* _obj3
= 0;
4411 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4424 #if PYTHON_API_VERSION >= 1009
4425 char* tmpPtr
; int tmpSize
;
4426 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4430 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4432 _arg3
= new wxString(tmpPtr
, tmpSize
);
4434 if (!PyString_Check(_obj3
)) {
4435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4438 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4445 wxPy_END_ALLOW_THREADS
;
4446 } _resultobj
= Py_BuildValue("i",_result
);
4454 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4455 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4458 wxGridTableBase
* _arg0
;
4462 PyObject
* _argo0
= 0;
4463 PyObject
* _obj3
= 0;
4464 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4477 #if PYTHON_API_VERSION >= 1009
4478 char* tmpPtr
; int tmpSize
;
4479 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4483 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4485 _arg3
= new wxString(tmpPtr
, tmpSize
);
4487 if (!PyString_Check(_obj3
)) {
4488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4491 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4495 wxPy_BEGIN_ALLOW_THREADS
;
4496 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4498 wxPy_END_ALLOW_THREADS
;
4499 } _resultobj
= Py_BuildValue("i",_result
);
4507 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4508 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4511 wxGridTableBase
* _arg0
;
4514 PyObject
* _argo0
= 0;
4515 char *_kwnames
[] = { "self","row","col", NULL
};
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4528 wxPy_BEGIN_ALLOW_THREADS
;
4529 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4531 wxPy_END_ALLOW_THREADS
;
4532 } _resultobj
= Py_BuildValue("l",_result
);
4536 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4537 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4540 wxGridTableBase
* _arg0
;
4543 PyObject
* _argo0
= 0;
4544 char *_kwnames
[] = { "self","row","col", NULL
};
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4557 wxPy_BEGIN_ALLOW_THREADS
;
4558 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4560 wxPy_END_ALLOW_THREADS
;
4561 } _resultobj
= Py_BuildValue("d",_result
);
4565 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4566 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
* _resultobj
;
4569 wxGridTableBase
* _arg0
;
4572 PyObject
* _argo0
= 0;
4573 char *_kwnames
[] = { "self","row","col", NULL
};
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4586 wxPy_BEGIN_ALLOW_THREADS
;
4587 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4589 wxPy_END_ALLOW_THREADS
;
4590 } _resultobj
= Py_BuildValue("i",_result
);
4594 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4595 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4597 wxGridTableBase
* _arg0
;
4601 PyObject
* _argo0
= 0;
4602 char *_kwnames
[] = { "self","row","col","value", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
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_SetValueAsLong. Expected _wxGridTableBase_p.");
4615 wxPy_BEGIN_ALLOW_THREADS
;
4616 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4618 wxPy_END_ALLOW_THREADS
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4624 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4625 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4627 wxGridTableBase
* _arg0
;
4631 PyObject
* _argo0
= 0;
4632 char *_kwnames
[] = { "self","row","col","value", NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4645 wxPy_BEGIN_ALLOW_THREADS
;
4646 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
4648 wxPy_END_ALLOW_THREADS
;
4649 } Py_INCREF(Py_None
);
4650 _resultobj
= Py_None
;
4654 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4655 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4657 wxGridTableBase
* _arg0
;
4661 PyObject
* _argo0
= 0;
4663 char *_kwnames
[] = { "self","row","col","value", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4675 _arg3
= (bool ) tempbool3
;
4677 wxPy_BEGIN_ALLOW_THREADS
;
4678 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
4680 wxPy_END_ALLOW_THREADS
;
4681 } Py_INCREF(Py_None
);
4682 _resultobj
= Py_None
;
4686 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4687 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4689 wxGridTableBase
* _arg0
;
4690 PyObject
* _argo0
= 0;
4691 char *_kwnames
[] = { "self", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 wxGridTableBase_Clear(_arg0
);
4707 wxPy_END_ALLOW_THREADS
;
4708 } Py_INCREF(Py_None
);
4709 _resultobj
= Py_None
;
4713 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4714 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
* _resultobj
;
4717 wxGridTableBase
* _arg0
;
4718 size_t _arg1
= (size_t ) 0;
4719 size_t _arg2
= (size_t ) 1;
4720 PyObject
* _argo0
= 0;
4721 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4734 wxPy_BEGIN_ALLOW_THREADS
;
4735 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
4737 wxPy_END_ALLOW_THREADS
;
4738 } _resultobj
= Py_BuildValue("i",_result
);
4742 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4743 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4746 wxGridTableBase
* _arg0
;
4747 size_t _arg1
= (size_t ) 1;
4748 PyObject
* _argo0
= 0;
4749 char *_kwnames
[] = { "self","numRows", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4762 wxPy_BEGIN_ALLOW_THREADS
;
4763 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
4765 wxPy_END_ALLOW_THREADS
;
4766 } _resultobj
= Py_BuildValue("i",_result
);
4770 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4771 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
* _resultobj
;
4774 wxGridTableBase
* _arg0
;
4775 size_t _arg1
= (size_t ) 0;
4776 size_t _arg2
= (size_t ) 1;
4777 PyObject
* _argo0
= 0;
4778 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_DeleteRows. Expected _wxGridTableBase_p.");
4791 wxPy_BEGIN_ALLOW_THREADS
;
4792 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
4794 wxPy_END_ALLOW_THREADS
;
4795 } _resultobj
= Py_BuildValue("i",_result
);
4799 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4800 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4803 wxGridTableBase
* _arg0
;
4804 size_t _arg1
= (size_t ) 0;
4805 size_t _arg2
= (size_t ) 1;
4806 PyObject
* _argo0
= 0;
4807 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
4823 wxPy_END_ALLOW_THREADS
;
4824 } _resultobj
= Py_BuildValue("i",_result
);
4828 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4829 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4832 wxGridTableBase
* _arg0
;
4833 size_t _arg1
= (size_t ) 1;
4834 PyObject
* _argo0
= 0;
4835 char *_kwnames
[] = { "self","numCols", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4848 wxPy_BEGIN_ALLOW_THREADS
;
4849 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
4851 wxPy_END_ALLOW_THREADS
;
4852 } _resultobj
= Py_BuildValue("i",_result
);
4856 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4857 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4860 wxGridTableBase
* _arg0
;
4861 size_t _arg1
= (size_t ) 0;
4862 size_t _arg2
= (size_t ) 1;
4863 PyObject
* _argo0
= 0;
4864 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4877 wxPy_BEGIN_ALLOW_THREADS
;
4878 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
4880 wxPy_END_ALLOW_THREADS
;
4881 } _resultobj
= Py_BuildValue("i",_result
);
4885 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4886 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4889 wxGridTableBase
* _arg0
;
4891 PyObject
* _argo0
= 0;
4892 char *_kwnames
[] = { "self","row", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
4898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4905 wxPy_BEGIN_ALLOW_THREADS
;
4906 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
4908 wxPy_END_ALLOW_THREADS
;
4910 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4918 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4919 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
* _resultobj
;
4922 wxGridTableBase
* _arg0
;
4924 PyObject
* _argo0
= 0;
4925 char *_kwnames
[] = { "self","col", NULL
};
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
4931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
4938 wxPy_BEGIN_ALLOW_THREADS
;
4939 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
4941 wxPy_END_ALLOW_THREADS
;
4943 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4951 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4952 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4954 wxGridTableBase
* _arg0
;
4957 PyObject
* _argo0
= 0;
4958 PyObject
* _obj2
= 0;
4959 char *_kwnames
[] = { "self","row","value", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
4972 #if PYTHON_API_VERSION >= 1009
4973 char* tmpPtr
; int tmpSize
;
4974 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4978 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4980 _arg2
= new wxString(tmpPtr
, tmpSize
);
4982 if (!PyString_Check(_obj2
)) {
4983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4986 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4990 wxPy_BEGIN_ALLOW_THREADS
;
4991 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
4993 wxPy_END_ALLOW_THREADS
;
4994 } Py_INCREF(Py_None
);
4995 _resultobj
= Py_None
;
5003 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5004 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
* _resultobj
;
5006 wxGridTableBase
* _arg0
;
5009 PyObject
* _argo0
= 0;
5010 PyObject
* _obj2
= 0;
5011 char *_kwnames
[] = { "self","col","value", NULL
};
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5024 #if PYTHON_API_VERSION >= 1009
5025 char* tmpPtr
; int tmpSize
;
5026 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5030 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5032 _arg2
= new wxString(tmpPtr
, tmpSize
);
5034 if (!PyString_Check(_obj2
)) {
5035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5038 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5042 wxPy_BEGIN_ALLOW_THREADS
;
5043 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5045 wxPy_END_ALLOW_THREADS
;
5046 } Py_INCREF(Py_None
);
5047 _resultobj
= Py_None
;
5055 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5056 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
* _resultobj
;
5059 wxGridTableBase
* _arg0
;
5060 PyObject
* _argo0
= 0;
5061 char *_kwnames
[] = { "self", NULL
};
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5074 wxPy_BEGIN_ALLOW_THREADS
;
5075 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5077 wxPy_END_ALLOW_THREADS
;
5078 } _resultobj
= Py_BuildValue("i",_result
);
5082 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
5083 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5085 wxGridCellAttr
* _result
;
5086 wxGridTableBase
* _arg0
;
5089 PyObject
* _argo0
= 0;
5090 char *_kwnames
[] = { "self","row","col", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5104 wxPy_BEGIN_ALLOW_THREADS
;
5105 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
);
5107 wxPy_END_ALLOW_THREADS
;
5109 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5110 _resultobj
= Py_BuildValue("s",_ptemp
);
5113 _resultobj
= Py_None
;
5118 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5119 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
* _resultobj
;
5121 wxGridTableBase
* _arg0
;
5122 wxGridCellAttr
* _arg1
;
5125 PyObject
* _argo0
= 0;
5126 PyObject
* _argo1
= 0;
5127 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5147 wxPy_BEGIN_ALLOW_THREADS
;
5148 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5150 wxPy_END_ALLOW_THREADS
;
5151 } Py_INCREF(Py_None
);
5152 _resultobj
= Py_None
;
5156 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5157 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5159 wxGridTableBase
* _arg0
;
5160 wxGridCellAttr
* _arg1
;
5162 PyObject
* _argo0
= 0;
5163 PyObject
* _argo1
= 0;
5164 char *_kwnames
[] = { "self","attr","row", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5184 wxPy_BEGIN_ALLOW_THREADS
;
5185 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5187 wxPy_END_ALLOW_THREADS
;
5188 } Py_INCREF(Py_None
);
5189 _resultobj
= Py_None
;
5193 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5194 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5196 wxGridTableBase
* _arg0
;
5197 wxGridCellAttr
* _arg1
;
5199 PyObject
* _argo0
= 0;
5200 PyObject
* _argo1
= 0;
5201 char *_kwnames
[] = { "self","attr","col", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5221 wxPy_BEGIN_ALLOW_THREADS
;
5222 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5224 wxPy_END_ALLOW_THREADS
;
5225 } Py_INCREF(Py_None
);
5226 _resultobj
= Py_None
;
5230 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5231 wxPyGridTableBase
*src
;
5232 wxGridTableBase
*dest
;
5233 src
= (wxPyGridTableBase
*) ptr
;
5234 dest
= (wxGridTableBase
*) src
;
5235 return (void *) dest
;
5238 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5239 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5241 wxPyGridTableBase
* _result
;
5242 char *_kwnames
[] = { NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5252 wxPy_END_ALLOW_THREADS
;
5254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5255 _resultobj
= Py_BuildValue("s",_ptemp
);
5258 _resultobj
= Py_None
;
5263 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5264 static PyObject
*_wrap_wxPyGridTableBase__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5266 wxPyGridTableBase
* _arg0
;
5269 PyObject
* _argo0
= 0;
5270 PyObject
* _obj1
= 0;
5271 PyObject
* _obj2
= 0;
5272 char *_kwnames
[] = { "self","self","_class", NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5291 wxPy_BEGIN_ALLOW_THREADS
;
5292 wxPyGridTableBase__setSelf(_arg0
,_arg1
,_arg2
);
5294 wxPy_END_ALLOW_THREADS
;
5295 } Py_INCREF(Py_None
);
5296 _resultobj
= Py_None
;
5300 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5301 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5303 wxPyGridTableBase
* _arg0
;
5304 PyObject
* _argo0
= 0;
5305 char *_kwnames
[] = { "self", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 wxPyGridTableBase_Destroy(_arg0
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } Py_INCREF(Py_None
);
5323 _resultobj
= Py_None
;
5327 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5328 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
* _resultobj
;
5331 wxPyGridTableBase
* _arg0
;
5334 PyObject
* _argo0
= 0;
5335 char *_kwnames
[] = { "self","row","col", NULL
};
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5348 wxPy_BEGIN_ALLOW_THREADS
;
5349 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5351 wxPy_END_ALLOW_THREADS
;
5353 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5361 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5362 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
* _resultobj
;
5365 wxPyGridTableBase
* _arg0
;
5369 PyObject
* _argo0
= 0;
5370 PyObject
* _obj3
= 0;
5371 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5384 #if PYTHON_API_VERSION >= 1009
5385 char* tmpPtr
; int tmpSize
;
5386 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5390 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5392 _arg3
= new wxString(tmpPtr
, tmpSize
);
5394 if (!PyString_Check(_obj3
)) {
5395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5398 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5402 wxPy_BEGIN_ALLOW_THREADS
;
5403 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5405 wxPy_END_ALLOW_THREADS
;
5406 } _resultobj
= Py_BuildValue("i",_result
);
5414 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5415 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
* _resultobj
;
5418 wxPyGridTableBase
* _arg0
;
5422 PyObject
* _argo0
= 0;
5423 PyObject
* _obj3
= 0;
5424 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5437 #if PYTHON_API_VERSION >= 1009
5438 char* tmpPtr
; int tmpSize
;
5439 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5443 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5445 _arg3
= new wxString(tmpPtr
, tmpSize
);
5447 if (!PyString_Check(_obj3
)) {
5448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5451 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5455 wxPy_BEGIN_ALLOW_THREADS
;
5456 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5458 wxPy_END_ALLOW_THREADS
;
5459 } _resultobj
= Py_BuildValue("i",_result
);
5467 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5468 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5470 wxPyGridTableBase
* _arg0
;
5471 PyObject
* _argo0
= 0;
5472 char *_kwnames
[] = { "self", NULL
};
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5485 wxPy_BEGIN_ALLOW_THREADS
;
5486 wxPyGridTableBase_base_Clear(_arg0
);
5488 wxPy_END_ALLOW_THREADS
;
5489 } Py_INCREF(Py_None
);
5490 _resultobj
= Py_None
;
5494 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5495 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5498 wxPyGridTableBase
* _arg0
;
5499 size_t _arg1
= (size_t ) 0;
5500 size_t _arg2
= (size_t ) 1;
5501 PyObject
* _argo0
= 0;
5502 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } _resultobj
= Py_BuildValue("i",_result
);
5523 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5524 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
* _resultobj
;
5527 wxPyGridTableBase
* _arg0
;
5528 size_t _arg1
= (size_t ) 1;
5529 PyObject
* _argo0
= 0;
5530 char *_kwnames
[] = { "self","numRows", NULL
};
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5543 wxPy_BEGIN_ALLOW_THREADS
;
5544 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5546 wxPy_END_ALLOW_THREADS
;
5547 } _resultobj
= Py_BuildValue("i",_result
);
5551 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5552 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
* _resultobj
;
5555 wxPyGridTableBase
* _arg0
;
5556 size_t _arg1
= (size_t ) 0;
5557 size_t _arg2
= (size_t ) 1;
5558 PyObject
* _argo0
= 0;
5559 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5572 wxPy_BEGIN_ALLOW_THREADS
;
5573 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5575 wxPy_END_ALLOW_THREADS
;
5576 } _resultobj
= Py_BuildValue("i",_result
);
5580 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5581 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
* _resultobj
;
5584 wxPyGridTableBase
* _arg0
;
5585 size_t _arg1
= (size_t ) 0;
5586 size_t _arg2
= (size_t ) 1;
5587 PyObject
* _argo0
= 0;
5588 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5601 wxPy_BEGIN_ALLOW_THREADS
;
5602 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5604 wxPy_END_ALLOW_THREADS
;
5605 } _resultobj
= Py_BuildValue("i",_result
);
5609 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5610 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5613 wxPyGridTableBase
* _arg0
;
5614 size_t _arg1
= (size_t ) 1;
5615 PyObject
* _argo0
= 0;
5616 char *_kwnames
[] = { "self","numCols", NULL
};
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5629 wxPy_BEGIN_ALLOW_THREADS
;
5630 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
5632 wxPy_END_ALLOW_THREADS
;
5633 } _resultobj
= Py_BuildValue("i",_result
);
5637 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5638 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5641 wxPyGridTableBase
* _arg0
;
5642 size_t _arg1
= (size_t ) 0;
5643 size_t _arg2
= (size_t ) 1;
5644 PyObject
* _argo0
= 0;
5645 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5658 wxPy_BEGIN_ALLOW_THREADS
;
5659 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
5661 wxPy_END_ALLOW_THREADS
;
5662 } _resultobj
= Py_BuildValue("i",_result
);
5666 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5667 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5670 wxPyGridTableBase
* _arg0
;
5672 PyObject
* _argo0
= 0;
5673 char *_kwnames
[] = { "self","row", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5686 wxPy_BEGIN_ALLOW_THREADS
;
5687 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
5689 wxPy_END_ALLOW_THREADS
;
5691 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5699 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5700 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5703 wxPyGridTableBase
* _arg0
;
5705 PyObject
* _argo0
= 0;
5706 char *_kwnames
[] = { "self","col", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5719 wxPy_BEGIN_ALLOW_THREADS
;
5720 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
5722 wxPy_END_ALLOW_THREADS
;
5724 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5732 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5733 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
* _resultobj
;
5735 wxPyGridTableBase
* _arg0
;
5738 PyObject
* _argo0
= 0;
5739 PyObject
* _obj2
= 0;
5740 char *_kwnames
[] = { "self","row","value", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5753 #if PYTHON_API_VERSION >= 1009
5754 char* tmpPtr
; int tmpSize
;
5755 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5759 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5761 _arg2
= new wxString(tmpPtr
, tmpSize
);
5763 if (!PyString_Check(_obj2
)) {
5764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5767 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5771 wxPy_BEGIN_ALLOW_THREADS
;
5772 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5774 wxPy_END_ALLOW_THREADS
;
5775 } Py_INCREF(Py_None
);
5776 _resultobj
= Py_None
;
5784 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5785 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
* _resultobj
;
5787 wxPyGridTableBase
* _arg0
;
5790 PyObject
* _argo0
= 0;
5791 PyObject
* _obj2
= 0;
5792 char *_kwnames
[] = { "self","col","value", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5805 #if PYTHON_API_VERSION >= 1009
5806 char* tmpPtr
; int tmpSize
;
5807 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5811 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5813 _arg2
= new wxString(tmpPtr
, tmpSize
);
5815 if (!PyString_Check(_obj2
)) {
5816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5819 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5823 wxPy_BEGIN_ALLOW_THREADS
;
5824 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5826 wxPy_END_ALLOW_THREADS
;
5827 } Py_INCREF(Py_None
);
5828 _resultobj
= Py_None
;
5836 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5837 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
* _resultobj
;
5840 wxPyGridTableBase
* _arg0
;
5841 PyObject
* _argo0
= 0;
5842 char *_kwnames
[] = { "self", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5855 wxPy_BEGIN_ALLOW_THREADS
;
5856 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
5858 wxPy_END_ALLOW_THREADS
;
5859 } _resultobj
= Py_BuildValue("i",_result
);
5863 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5864 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5866 wxGridCellAttr
* _result
;
5867 wxPyGridTableBase
* _arg0
;
5870 PyObject
* _argo0
= 0;
5871 char *_kwnames
[] = { "self","row","col", NULL
};
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5885 wxPy_BEGIN_ALLOW_THREADS
;
5886 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
);
5888 wxPy_END_ALLOW_THREADS
;
5890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5891 _resultobj
= Py_BuildValue("s",_ptemp
);
5894 _resultobj
= Py_None
;
5899 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5900 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5902 wxPyGridTableBase
* _arg0
;
5903 wxGridCellAttr
* _arg1
;
5906 PyObject
* _argo0
= 0;
5907 PyObject
* _argo1
= 0;
5908 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5928 wxPy_BEGIN_ALLOW_THREADS
;
5929 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5931 wxPy_END_ALLOW_THREADS
;
5932 } Py_INCREF(Py_None
);
5933 _resultobj
= Py_None
;
5937 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5938 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
* _resultobj
;
5940 wxPyGridTableBase
* _arg0
;
5941 wxGridCellAttr
* _arg1
;
5943 PyObject
* _argo0
= 0;
5944 PyObject
* _argo1
= 0;
5945 char *_kwnames
[] = { "self","attr","row", NULL
};
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5965 wxPy_BEGIN_ALLOW_THREADS
;
5966 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
5968 wxPy_END_ALLOW_THREADS
;
5969 } Py_INCREF(Py_None
);
5970 _resultobj
= Py_None
;
5974 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5975 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
* _resultobj
;
5977 wxPyGridTableBase
* _arg0
;
5978 wxGridCellAttr
* _arg1
;
5980 PyObject
* _argo0
= 0;
5981 PyObject
* _argo1
= 0;
5982 char *_kwnames
[] = { "self","attr","col", NULL
};
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5995 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6005 wxPy_END_ALLOW_THREADS
;
6006 } Py_INCREF(Py_None
);
6007 _resultobj
= Py_None
;
6011 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6012 wxGridStringTable
*src
;
6013 wxGridTableBase
*dest
;
6014 src
= (wxGridStringTable
*) ptr
;
6015 dest
= (wxGridTableBase
*) src
;
6016 return (void *) dest
;
6019 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6020 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
* _resultobj
;
6022 wxGridStringTable
* _result
;
6023 int _arg0
= (int ) 0;
6024 int _arg1
= (int ) 0;
6025 char *_kwnames
[] = { "numRows","numCols", NULL
};
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6032 wxPy_BEGIN_ALLOW_THREADS
;
6033 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6035 wxPy_END_ALLOW_THREADS
;
6037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6038 _resultobj
= Py_BuildValue("s",_ptemp
);
6041 _resultobj
= Py_None
;
6046 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6047 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
* _resultobj
;
6049 wxGridTableMessage
* _result
;
6050 wxGridTableBase
* _arg0
;
6052 int _arg2
= (int ) -1;
6053 int _arg3
= (int ) -1;
6054 PyObject
* _argo0
= 0;
6055 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6069 wxPy_BEGIN_ALLOW_THREADS
;
6070 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6072 wxPy_END_ALLOW_THREADS
;
6074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6075 _resultobj
= Py_BuildValue("s",_ptemp
);
6078 _resultobj
= Py_None
;
6083 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6084 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
* _resultobj
;
6086 wxGridTableMessage
* _arg0
;
6087 PyObject
* _argo0
= 0;
6088 char *_kwnames
[] = { "self", NULL
};
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 delete_wxGridTableMessage(_arg0
);
6104 wxPy_END_ALLOW_THREADS
;
6105 } Py_INCREF(Py_None
);
6106 _resultobj
= Py_None
;
6110 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6111 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6113 wxGridTableMessage
* _arg0
;
6114 wxGridTableBase
* _arg1
;
6115 PyObject
* _argo0
= 0;
6116 PyObject
* _argo1
= 0;
6117 char *_kwnames
[] = { "self","table", NULL
};
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6137 wxPy_BEGIN_ALLOW_THREADS
;
6138 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6140 wxPy_END_ALLOW_THREADS
;
6141 } Py_INCREF(Py_None
);
6142 _resultobj
= Py_None
;
6146 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6147 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
* _resultobj
;
6149 wxGridTableBase
* _result
;
6150 wxGridTableMessage
* _arg0
;
6151 PyObject
* _argo0
= 0;
6152 char *_kwnames
[] = { "self", NULL
};
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6166 wxPy_BEGIN_ALLOW_THREADS
;
6167 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6169 wxPy_END_ALLOW_THREADS
;
6171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableBase_p");
6172 _resultobj
= Py_BuildValue("s",_ptemp
);
6175 _resultobj
= Py_None
;
6180 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6181 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6183 wxGridTableMessage
* _arg0
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self","id", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6199 wxPy_BEGIN_ALLOW_THREADS
;
6200 wxGridTableMessage_SetId(_arg0
,_arg1
);
6202 wxPy_END_ALLOW_THREADS
;
6203 } Py_INCREF(Py_None
);
6204 _resultobj
= Py_None
;
6208 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6209 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6212 wxGridTableMessage
* _arg0
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self", NULL
};
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6227 wxPy_BEGIN_ALLOW_THREADS
;
6228 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6230 wxPy_END_ALLOW_THREADS
;
6231 } _resultobj
= Py_BuildValue("i",_result
);
6235 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6236 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6238 wxGridTableMessage
* _arg0
;
6240 PyObject
* _argo0
= 0;
6241 char *_kwnames
[] = { "self","comInt1", NULL
};
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6254 wxPy_BEGIN_ALLOW_THREADS
;
6255 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6257 wxPy_END_ALLOW_THREADS
;
6258 } Py_INCREF(Py_None
);
6259 _resultobj
= Py_None
;
6263 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6264 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
* _resultobj
;
6267 wxGridTableMessage
* _arg0
;
6268 PyObject
* _argo0
= 0;
6269 char *_kwnames
[] = { "self", NULL
};
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6282 wxPy_BEGIN_ALLOW_THREADS
;
6283 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6285 wxPy_END_ALLOW_THREADS
;
6286 } _resultobj
= Py_BuildValue("i",_result
);
6290 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6291 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6293 wxGridTableMessage
* _arg0
;
6295 PyObject
* _argo0
= 0;
6296 char *_kwnames
[] = { "self","comInt2", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6309 wxPy_BEGIN_ALLOW_THREADS
;
6310 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6312 wxPy_END_ALLOW_THREADS
;
6313 } Py_INCREF(Py_None
);
6314 _resultobj
= Py_None
;
6318 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6319 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
* _resultobj
;
6322 wxGridTableMessage
* _arg0
;
6323 PyObject
* _argo0
= 0;
6324 char *_kwnames
[] = { "self", NULL
};
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6337 wxPy_BEGIN_ALLOW_THREADS
;
6338 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6340 wxPy_END_ALLOW_THREADS
;
6341 } _resultobj
= Py_BuildValue("i",_result
);
6345 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6346 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
* _resultobj
;
6348 wxGridCellCoords
* _result
;
6349 int _arg0
= (int ) -1;
6350 int _arg1
= (int ) -1;
6351 char *_kwnames
[] = { "r","c", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6358 wxPy_BEGIN_ALLOW_THREADS
;
6359 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6361 wxPy_END_ALLOW_THREADS
;
6363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6364 _resultobj
= Py_BuildValue("s",_ptemp
);
6367 _resultobj
= Py_None
;
6372 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6373 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
* _resultobj
;
6375 wxGridCellCoords
* _arg0
;
6376 PyObject
* _argo0
= 0;
6377 char *_kwnames
[] = { "self", NULL
};
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6390 wxPy_BEGIN_ALLOW_THREADS
;
6391 delete_wxGridCellCoords(_arg0
);
6393 wxPy_END_ALLOW_THREADS
;
6394 } Py_INCREF(Py_None
);
6395 _resultobj
= Py_None
;
6399 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6400 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6403 wxGridCellCoords
* _arg0
;
6404 PyObject
* _argo0
= 0;
6405 char *_kwnames
[] = { "self", NULL
};
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6418 wxPy_BEGIN_ALLOW_THREADS
;
6419 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6421 wxPy_END_ALLOW_THREADS
;
6422 } _resultobj
= Py_BuildValue("i",_result
);
6426 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6427 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
* _resultobj
;
6429 wxGridCellCoords
* _arg0
;
6431 PyObject
* _argo0
= 0;
6432 char *_kwnames
[] = { "self","n", NULL
};
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6445 wxPy_BEGIN_ALLOW_THREADS
;
6446 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6448 wxPy_END_ALLOW_THREADS
;
6449 } Py_INCREF(Py_None
);
6450 _resultobj
= Py_None
;
6454 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6455 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
* _resultobj
;
6458 wxGridCellCoords
* _arg0
;
6459 PyObject
* _argo0
= 0;
6460 char *_kwnames
[] = { "self", NULL
};
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6473 wxPy_BEGIN_ALLOW_THREADS
;
6474 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6476 wxPy_END_ALLOW_THREADS
;
6477 } _resultobj
= Py_BuildValue("i",_result
);
6481 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6482 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
* _resultobj
;
6484 wxGridCellCoords
* _arg0
;
6486 PyObject
* _argo0
= 0;
6487 char *_kwnames
[] = { "self","n", NULL
};
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6500 wxPy_BEGIN_ALLOW_THREADS
;
6501 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6503 wxPy_END_ALLOW_THREADS
;
6504 } Py_INCREF(Py_None
);
6505 _resultobj
= Py_None
;
6509 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6510 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
* _resultobj
;
6512 wxGridCellCoords
* _arg0
;
6515 PyObject
* _argo0
= 0;
6516 char *_kwnames
[] = { "self","row","col", NULL
};
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6529 wxPy_BEGIN_ALLOW_THREADS
;
6530 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6532 wxPy_END_ALLOW_THREADS
;
6533 } Py_INCREF(Py_None
);
6534 _resultobj
= Py_None
;
6538 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6539 PyObject
* tup
= PyTuple_New(2);
6540 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6541 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6544 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
* _resultobj
;
6547 wxGridCellCoords
* _arg0
;
6548 PyObject
* _argo0
= 0;
6549 char *_kwnames
[] = { "self", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6562 wxPy_BEGIN_ALLOW_THREADS
;
6563 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6565 wxPy_END_ALLOW_THREADS
;
6567 _resultobj
= _result
;
6572 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6573 return *self
!= other
;
6575 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6578 wxGridCellCoords
* _arg0
;
6579 wxGridCellCoords
* _arg1
;
6580 PyObject
* _argo0
= 0;
6581 PyObject
* _argo1
= 0;
6582 char *_kwnames
[] = { "self","other", NULL
};
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6602 wxPy_BEGIN_ALLOW_THREADS
;
6603 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6605 wxPy_END_ALLOW_THREADS
;
6606 } _resultobj
= Py_BuildValue("i",_result
);
6610 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6612 wxScrolledWindow
*dest
;
6613 src
= (wxGrid
*) ptr
;
6614 dest
= (wxScrolledWindow
*) src
;
6615 return (void *) dest
;
6618 static void *SwigwxGridTowxPanel(void *ptr
) {
6621 src
= (wxGrid
*) ptr
;
6622 dest
= (wxPanel
*) src
;
6623 return (void *) dest
;
6626 static void *SwigwxGridTowxWindow(void *ptr
) {
6629 src
= (wxGrid
*) ptr
;
6630 dest
= (wxWindow
*) src
;
6631 return (void *) dest
;
6634 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
6637 src
= (wxGrid
*) ptr
;
6638 dest
= (wxEvtHandler
*) src
;
6639 return (void *) dest
;
6642 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6643 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6648 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6649 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6650 long _arg4
= (long ) wxWANTS_CHARS
;
6651 char * _arg5
= (char *) wxPanelNameStr
;
6652 PyObject
* _argo0
= 0;
6654 PyObject
* _obj2
= 0;
6656 PyObject
* _obj3
= 0;
6657 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6673 if (! wxPoint_helper(_obj2
, &_arg2
))
6679 if (! wxSize_helper(_obj3
, &_arg3
))
6683 wxPy_BEGIN_ALLOW_THREADS
;
6684 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6686 wxPy_END_ALLOW_THREADS
;
6688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
6689 _resultobj
= Py_BuildValue("s",_ptemp
);
6692 _resultobj
= Py_None
;
6697 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6698 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
* _resultobj
;
6704 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6705 PyObject
* _argo0
= 0;
6706 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6719 wxPy_BEGIN_ALLOW_THREADS
;
6720 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
6722 wxPy_END_ALLOW_THREADS
;
6723 } _resultobj
= Py_BuildValue("i",_result
);
6727 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6728 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6731 WXGRIDSELECTIONMODES _arg1
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self","selmode", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6746 wxPy_BEGIN_ALLOW_THREADS
;
6747 wxGrid_SetSelectionMode(_arg0
,_arg1
);
6749 wxPy_END_ALLOW_THREADS
;
6750 } Py_INCREF(Py_None
);
6751 _resultobj
= Py_None
;
6755 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6756 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6774 wxPy_BEGIN_ALLOW_THREADS
;
6775 _result
= (int )wxGrid_GetNumberRows(_arg0
);
6777 wxPy_END_ALLOW_THREADS
;
6778 } _resultobj
= Py_BuildValue("i",_result
);
6782 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6783 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
* _resultobj
;
6787 PyObject
* _argo0
= 0;
6788 char *_kwnames
[] = { "self", NULL
};
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
6794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6801 wxPy_BEGIN_ALLOW_THREADS
;
6802 _result
= (int )wxGrid_GetNumberCols(_arg0
);
6804 wxPy_END_ALLOW_THREADS
;
6805 } _resultobj
= Py_BuildValue("i",_result
);
6809 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6810 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
* _resultobj
;
6814 wxGridTableMessage
* _arg1
;
6815 PyObject
* _argo0
= 0;
6816 PyObject
* _argo1
= 0;
6817 char *_kwnames
[] = { "self","arg2", NULL
};
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
6823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6837 wxPy_BEGIN_ALLOW_THREADS
;
6838 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
6840 wxPy_END_ALLOW_THREADS
;
6841 } _resultobj
= Py_BuildValue("i",_result
);
6845 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6846 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
* _resultobj
;
6848 wxGridTableBase
* _result
;
6850 PyObject
* _argo0
= 0;
6851 char *_kwnames
[] = { "self", NULL
};
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
6858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6865 wxPy_BEGIN_ALLOW_THREADS
;
6866 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
6868 wxPy_END_ALLOW_THREADS
;
6870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableBase_p");
6871 _resultobj
= Py_BuildValue("s",_ptemp
);
6874 _resultobj
= Py_None
;
6879 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6880 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
* _resultobj
;
6884 wxGridTableBase
* _arg1
;
6885 bool _arg2
= (bool ) FALSE
;
6886 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6887 PyObject
* _argo0
= 0;
6888 PyObject
* _argo1
= 0;
6889 int tempbool2
= (int) FALSE
;
6890 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
6896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6903 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6904 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6909 _arg2
= (bool ) tempbool2
;
6911 wxPy_BEGIN_ALLOW_THREADS
;
6912 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
6914 wxPy_END_ALLOW_THREADS
;
6915 } _resultobj
= Py_BuildValue("i",_result
);
6919 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6920 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
* _resultobj
;
6923 PyObject
* _argo0
= 0;
6924 char *_kwnames
[] = { "self", NULL
};
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
6930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6937 wxPy_BEGIN_ALLOW_THREADS
;
6938 wxGrid_ClearGrid(_arg0
);
6940 wxPy_END_ALLOW_THREADS
;
6941 } Py_INCREF(Py_None
);
6942 _resultobj
= Py_None
;
6946 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6947 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
* _resultobj
;
6951 int _arg1
= (int ) 0;
6952 int _arg2
= (int ) 1;
6953 bool _arg3
= (bool ) TRUE
;
6954 PyObject
* _argo0
= 0;
6955 int tempbool3
= (int) TRUE
;
6956 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
6962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6968 _arg3
= (bool ) tempbool3
;
6970 wxPy_BEGIN_ALLOW_THREADS
;
6971 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
6973 wxPy_END_ALLOW_THREADS
;
6974 } _resultobj
= Py_BuildValue("i",_result
);
6978 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6979 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
* _resultobj
;
6983 int _arg1
= (int ) 1;
6984 bool _arg2
= (bool ) TRUE
;
6985 PyObject
* _argo0
= 0;
6986 int tempbool2
= (int) TRUE
;
6987 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6999 _arg2
= (bool ) tempbool2
;
7001 wxPy_BEGIN_ALLOW_THREADS
;
7002 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7004 wxPy_END_ALLOW_THREADS
;
7005 } _resultobj
= Py_BuildValue("i",_result
);
7009 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7010 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
* _resultobj
;
7014 int _arg1
= (int ) 0;
7015 int _arg2
= (int ) 1;
7016 bool _arg3
= (bool ) TRUE
;
7017 PyObject
* _argo0
= 0;
7018 int tempbool3
= (int) TRUE
;
7019 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7031 _arg3
= (bool ) tempbool3
;
7033 wxPy_BEGIN_ALLOW_THREADS
;
7034 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7036 wxPy_END_ALLOW_THREADS
;
7037 } _resultobj
= Py_BuildValue("i",_result
);
7041 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7042 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7046 int _arg1
= (int ) 0;
7047 int _arg2
= (int ) 1;
7048 bool _arg3
= (bool ) TRUE
;
7049 PyObject
* _argo0
= 0;
7050 int tempbool3
= (int) TRUE
;
7051 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7063 _arg3
= (bool ) tempbool3
;
7065 wxPy_BEGIN_ALLOW_THREADS
;
7066 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7068 wxPy_END_ALLOW_THREADS
;
7069 } _resultobj
= Py_BuildValue("i",_result
);
7073 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7074 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7078 int _arg1
= (int ) 1;
7079 bool _arg2
= (bool ) TRUE
;
7080 PyObject
* _argo0
= 0;
7081 int tempbool2
= (int) TRUE
;
7082 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7094 _arg2
= (bool ) tempbool2
;
7096 wxPy_BEGIN_ALLOW_THREADS
;
7097 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7099 wxPy_END_ALLOW_THREADS
;
7100 } _resultobj
= Py_BuildValue("i",_result
);
7104 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7105 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
* _resultobj
;
7109 int _arg1
= (int ) 0;
7110 int _arg2
= (int ) 1;
7111 bool _arg3
= (bool ) TRUE
;
7112 PyObject
* _argo0
= 0;
7113 int tempbool3
= (int) TRUE
;
7114 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7126 _arg3
= (bool ) tempbool3
;
7128 wxPy_BEGIN_ALLOW_THREADS
;
7129 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7131 wxPy_END_ALLOW_THREADS
;
7132 } _resultobj
= Py_BuildValue("i",_result
);
7136 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7137 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
* _resultobj
;
7141 wxGridCellAttr
* _arg2
;
7142 PyObject
* _argo0
= 0;
7143 PyObject
* _argo1
= 0;
7144 PyObject
* _argo2
= 0;
7145 char *_kwnames
[] = { "self","dc","attr", NULL
};
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7165 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7172 wxPy_BEGIN_ALLOW_THREADS
;
7173 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7175 wxPy_END_ALLOW_THREADS
;
7176 } Py_INCREF(Py_None
);
7177 _resultobj
= Py_None
;
7181 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7182 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7188 int _arg4
= (int ) wxLEFT
;
7189 int _arg5
= (int ) wxTOP
;
7190 PyObject
* _argo0
= 0;
7191 PyObject
* _argo1
= 0;
7192 PyObject
* _obj2
= 0;
7194 PyObject
* _obj3
= 0;
7195 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7215 #if PYTHON_API_VERSION >= 1009
7216 char* tmpPtr
; int tmpSize
;
7217 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7221 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7223 _arg2
= new wxString(tmpPtr
, tmpSize
);
7225 if (!PyString_Check(_obj2
)) {
7226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7229 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7234 if (! wxRect_helper(_obj3
, &_arg3
))
7238 wxPy_BEGIN_ALLOW_THREADS
;
7239 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7241 wxPy_END_ALLOW_THREADS
;
7242 } Py_INCREF(Py_None
);
7243 _resultobj
= Py_None
;
7251 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7252 static PyObject
*_wrap_wxGrid_StringToLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7256 wxArrayString
* _arg2
;
7257 PyObject
* _argo0
= 0;
7258 PyObject
* _obj1
= 0;
7259 PyObject
* _argo2
= 0;
7260 char *_kwnames
[] = { "self","value","lines", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_StringToLines",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7273 #if PYTHON_API_VERSION >= 1009
7274 char* tmpPtr
; int tmpSize
;
7275 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7279 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7281 _arg1
= new wxString(tmpPtr
, tmpSize
);
7283 if (!PyString_Check(_obj1
)) {
7284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7287 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7291 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7298 wxPy_BEGIN_ALLOW_THREADS
;
7299 wxGrid_StringToLines(_arg0
,*_arg1
,*_arg2
);
7301 wxPy_END_ALLOW_THREADS
;
7302 } Py_INCREF(Py_None
);
7303 _resultobj
= Py_None
;
7311 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7312 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
* _resultobj
;
7316 wxArrayString
* _arg2
;
7321 PyObject
* _argo0
= 0;
7322 PyObject
* _argo1
= 0;
7323 PyObject
* _argo2
= 0;
7324 char *_kwnames
[] = { "self","dc","lines", NULL
};
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7343 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7350 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7357 wxPy_BEGIN_ALLOW_THREADS
;
7358 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7360 wxPy_END_ALLOW_THREADS
;
7361 } Py_INCREF(Py_None
);
7362 _resultobj
= Py_None
;
7365 o
= PyInt_FromLong((long) (*_arg3
));
7366 _resultobj
= t_output_helper(_resultobj
, o
);
7370 o
= PyInt_FromLong((long) (*_arg4
));
7371 _resultobj
= t_output_helper(_resultobj
, o
);
7376 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7377 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
* _resultobj
;
7380 PyObject
* _argo0
= 0;
7381 char *_kwnames
[] = { "self", NULL
};
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7394 wxPy_BEGIN_ALLOW_THREADS
;
7395 wxGrid_BeginBatch(_arg0
);
7397 wxPy_END_ALLOW_THREADS
;
7398 } Py_INCREF(Py_None
);
7399 _resultobj
= Py_None
;
7403 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7404 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7407 PyObject
* _argo0
= 0;
7408 char *_kwnames
[] = { "self", NULL
};
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7421 wxPy_BEGIN_ALLOW_THREADS
;
7422 wxGrid_EndBatch(_arg0
);
7424 wxPy_END_ALLOW_THREADS
;
7425 } Py_INCREF(Py_None
);
7426 _resultobj
= Py_None
;
7430 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7431 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
* _resultobj
;
7435 PyObject
* _argo0
= 0;
7436 char *_kwnames
[] = { "self", NULL
};
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7449 wxPy_BEGIN_ALLOW_THREADS
;
7450 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7452 wxPy_END_ALLOW_THREADS
;
7453 } _resultobj
= Py_BuildValue("i",_result
);
7457 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7458 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
* _resultobj
;
7462 PyObject
* _argo0
= 0;
7463 char *_kwnames
[] = { "self", NULL
};
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7476 wxPy_BEGIN_ALLOW_THREADS
;
7477 _result
= (bool )wxGrid_IsEditable(_arg0
);
7479 wxPy_END_ALLOW_THREADS
;
7480 } _resultobj
= Py_BuildValue("i",_result
);
7484 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7485 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7489 PyObject
* _argo0
= 0;
7491 char *_kwnames
[] = { "self","edit", NULL
};
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7503 _arg1
= (bool ) tempbool1
;
7505 wxPy_BEGIN_ALLOW_THREADS
;
7506 wxGrid_EnableEditing(_arg0
,_arg1
);
7508 wxPy_END_ALLOW_THREADS
;
7509 } Py_INCREF(Py_None
);
7510 _resultobj
= Py_None
;
7514 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7515 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
* _resultobj
;
7518 bool _arg1
= (bool ) TRUE
;
7519 PyObject
* _argo0
= 0;
7520 int tempbool1
= (int) TRUE
;
7521 char *_kwnames
[] = { "self","enable", NULL
};
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7533 _arg1
= (bool ) tempbool1
;
7535 wxPy_BEGIN_ALLOW_THREADS
;
7536 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7538 wxPy_END_ALLOW_THREADS
;
7539 } Py_INCREF(Py_None
);
7540 _resultobj
= Py_None
;
7544 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7545 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
* _resultobj
;
7548 PyObject
* _argo0
= 0;
7549 char *_kwnames
[] = { "self", NULL
};
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7562 wxPy_BEGIN_ALLOW_THREADS
;
7563 wxGrid_DisableCellEditControl(_arg0
);
7565 wxPy_END_ALLOW_THREADS
;
7566 } Py_INCREF(Py_None
);
7567 _resultobj
= Py_None
;
7571 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7572 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
* _resultobj
;
7576 PyObject
* _argo0
= 0;
7577 char *_kwnames
[] = { "self", NULL
};
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
7583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7590 wxPy_BEGIN_ALLOW_THREADS
;
7591 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7593 wxPy_END_ALLOW_THREADS
;
7594 } _resultobj
= Py_BuildValue("i",_result
);
7598 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7599 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
* _resultobj
;
7603 PyObject
* _argo0
= 0;
7604 char *_kwnames
[] = { "self", NULL
};
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
7610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7617 wxPy_BEGIN_ALLOW_THREADS
;
7618 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
7620 wxPy_END_ALLOW_THREADS
;
7621 } _resultobj
= Py_BuildValue("i",_result
);
7625 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7626 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
* _resultobj
;
7630 PyObject
* _argo0
= 0;
7631 char *_kwnames
[] = { "self", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7644 wxPy_BEGIN_ALLOW_THREADS
;
7645 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
7647 wxPy_END_ALLOW_THREADS
;
7648 } _resultobj
= Py_BuildValue("i",_result
);
7652 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7653 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
* _resultobj
;
7657 PyObject
* _argo0
= 0;
7658 char *_kwnames
[] = { "self", NULL
};
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
7664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7671 wxPy_BEGIN_ALLOW_THREADS
;
7672 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
7674 wxPy_END_ALLOW_THREADS
;
7675 } _resultobj
= Py_BuildValue("i",_result
);
7679 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7680 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
* _resultobj
;
7683 PyObject
* _argo0
= 0;
7684 char *_kwnames
[] = { "self", NULL
};
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
7690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7697 wxPy_BEGIN_ALLOW_THREADS
;
7698 wxGrid_ShowCellEditControl(_arg0
);
7700 wxPy_END_ALLOW_THREADS
;
7701 } Py_INCREF(Py_None
);
7702 _resultobj
= Py_None
;
7706 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7707 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
* _resultobj
;
7710 PyObject
* _argo0
= 0;
7711 char *_kwnames
[] = { "self", NULL
};
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
7717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7724 wxPy_BEGIN_ALLOW_THREADS
;
7725 wxGrid_HideCellEditControl(_arg0
);
7727 wxPy_END_ALLOW_THREADS
;
7728 } Py_INCREF(Py_None
);
7729 _resultobj
= Py_None
;
7733 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7734 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
* _resultobj
;
7737 PyObject
* _argo0
= 0;
7738 char *_kwnames
[] = { "self", NULL
};
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
7744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7751 wxPy_BEGIN_ALLOW_THREADS
;
7752 wxGrid_SaveEditControlValue(_arg0
);
7754 wxPy_END_ALLOW_THREADS
;
7755 } Py_INCREF(Py_None
);
7756 _resultobj
= Py_None
;
7760 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
7761 wxGridCellCoords rv
;
7762 self
->XYToCell(x
, y
, rv
);
7763 return new wxGridCellCoords(rv
);
7765 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
* _resultobj
;
7767 wxGridCellCoords
* _result
;
7771 PyObject
* _argo0
= 0;
7772 char *_kwnames
[] = { "self","x","y", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7786 wxPy_BEGIN_ALLOW_THREADS
;
7787 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
7789 wxPy_END_ALLOW_THREADS
;
7791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7792 _resultobj
= Py_BuildValue("s",_ptemp
);
7795 _resultobj
= Py_None
;
7800 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7801 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
* _resultobj
;
7806 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self","y", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7820 wxPy_BEGIN_ALLOW_THREADS
;
7821 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
7823 wxPy_END_ALLOW_THREADS
;
7824 } _resultobj
= Py_BuildValue("i",_result
);
7828 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7829 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
* _resultobj
;
7834 PyObject
* _argo0
= 0;
7835 char *_kwnames
[] = { "self","x", NULL
};
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
7841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7848 wxPy_BEGIN_ALLOW_THREADS
;
7849 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
7851 wxPy_END_ALLOW_THREADS
;
7852 } _resultobj
= Py_BuildValue("i",_result
);
7856 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7857 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
* _resultobj
;
7862 PyObject
* _argo0
= 0;
7863 char *_kwnames
[] = { "self","y", NULL
};
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
7869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7876 wxPy_BEGIN_ALLOW_THREADS
;
7877 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
7879 wxPy_END_ALLOW_THREADS
;
7880 } _resultobj
= Py_BuildValue("i",_result
);
7884 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7885 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
* _resultobj
;
7890 PyObject
* _argo0
= 0;
7891 char *_kwnames
[] = { "self","x", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7904 wxPy_BEGIN_ALLOW_THREADS
;
7905 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
7907 wxPy_END_ALLOW_THREADS
;
7908 } _resultobj
= Py_BuildValue("i",_result
);
7912 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7913 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
* _resultobj
;
7919 PyObject
* _argo0
= 0;
7920 char *_kwnames
[] = { "self","row","col", NULL
};
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7934 wxPy_BEGIN_ALLOW_THREADS
;
7935 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
7937 wxPy_END_ALLOW_THREADS
;
7938 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
7939 _resultobj
= Py_BuildValue("s",_ptemp
);
7943 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7944 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
* _resultobj
;
7948 PyObject
* _argo0
= 0;
7949 char *_kwnames
[] = { "self", NULL
};
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
7955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7962 wxPy_BEGIN_ALLOW_THREADS
;
7963 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
7965 wxPy_END_ALLOW_THREADS
;
7966 } _resultobj
= Py_BuildValue("i",_result
);
7970 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7971 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
* _resultobj
;
7975 PyObject
* _argo0
= 0;
7976 char *_kwnames
[] = { "self", NULL
};
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
7982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7989 wxPy_BEGIN_ALLOW_THREADS
;
7990 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
7992 wxPy_END_ALLOW_THREADS
;
7993 } _resultobj
= Py_BuildValue("i",_result
);
7997 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7998 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
* _resultobj
;
8004 bool _arg3
= (bool ) TRUE
;
8005 PyObject
* _argo0
= 0;
8006 int tempbool3
= (int) TRUE
;
8007 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8019 _arg3
= (bool ) tempbool3
;
8021 wxPy_BEGIN_ALLOW_THREADS
;
8022 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8024 wxPy_END_ALLOW_THREADS
;
8025 } _resultobj
= Py_BuildValue("i",_result
);
8029 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8030 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
* _resultobj
;
8035 PyObject
* _argo0
= 0;
8036 char *_kwnames
[] = { "self","row","col", NULL
};
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8049 wxPy_BEGIN_ALLOW_THREADS
;
8050 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8052 wxPy_END_ALLOW_THREADS
;
8053 } Py_INCREF(Py_None
);
8054 _resultobj
= Py_None
;
8058 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8059 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
* _resultobj
;
8064 PyObject
* _argo0
= 0;
8065 char *_kwnames
[] = { "self","row","col", NULL
};
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8078 wxPy_BEGIN_ALLOW_THREADS
;
8079 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8081 wxPy_END_ALLOW_THREADS
;
8082 } Py_INCREF(Py_None
);
8083 _resultobj
= Py_None
;
8087 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8088 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
* _resultobj
;
8093 PyObject
* _argo0
= 0;
8095 char *_kwnames
[] = { "self","expandSelection", NULL
};
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8107 _arg1
= (bool ) tempbool1
;
8109 wxPy_BEGIN_ALLOW_THREADS
;
8110 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8112 wxPy_END_ALLOW_THREADS
;
8113 } _resultobj
= Py_BuildValue("i",_result
);
8117 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8118 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
* _resultobj
;
8123 PyObject
* _argo0
= 0;
8125 char *_kwnames
[] = { "self","expandSelection", NULL
};
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8137 _arg1
= (bool ) tempbool1
;
8139 wxPy_BEGIN_ALLOW_THREADS
;
8140 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8142 wxPy_END_ALLOW_THREADS
;
8143 } _resultobj
= Py_BuildValue("i",_result
);
8147 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8148 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
* _resultobj
;
8153 PyObject
* _argo0
= 0;
8155 char *_kwnames
[] = { "self","expandSelection", NULL
};
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8167 _arg1
= (bool ) tempbool1
;
8169 wxPy_BEGIN_ALLOW_THREADS
;
8170 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8172 wxPy_END_ALLOW_THREADS
;
8173 } _resultobj
= Py_BuildValue("i",_result
);
8177 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8178 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
* _resultobj
;
8183 PyObject
* _argo0
= 0;
8185 char *_kwnames
[] = { "self","expandSelection", NULL
};
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8197 _arg1
= (bool ) tempbool1
;
8199 wxPy_BEGIN_ALLOW_THREADS
;
8200 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8202 wxPy_END_ALLOW_THREADS
;
8203 } _resultobj
= Py_BuildValue("i",_result
);
8207 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8208 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
* _resultobj
;
8212 PyObject
* _argo0
= 0;
8213 char *_kwnames
[] = { "self", NULL
};
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8226 wxPy_BEGIN_ALLOW_THREADS
;
8227 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8229 wxPy_END_ALLOW_THREADS
;
8230 } _resultobj
= Py_BuildValue("i",_result
);
8234 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8235 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
* _resultobj
;
8239 PyObject
* _argo0
= 0;
8240 char *_kwnames
[] = { "self", NULL
};
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8253 wxPy_BEGIN_ALLOW_THREADS
;
8254 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8256 wxPy_END_ALLOW_THREADS
;
8257 } _resultobj
= Py_BuildValue("i",_result
);
8261 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8262 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
* _resultobj
;
8267 PyObject
* _argo0
= 0;
8269 char *_kwnames
[] = { "self","expandSelection", NULL
};
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8281 _arg1
= (bool ) tempbool1
;
8283 wxPy_BEGIN_ALLOW_THREADS
;
8284 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8286 wxPy_END_ALLOW_THREADS
;
8287 } _resultobj
= Py_BuildValue("i",_result
);
8291 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8292 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
* _resultobj
;
8297 PyObject
* _argo0
= 0;
8299 char *_kwnames
[] = { "self","expandSelection", NULL
};
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8311 _arg1
= (bool ) tempbool1
;
8313 wxPy_BEGIN_ALLOW_THREADS
;
8314 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8316 wxPy_END_ALLOW_THREADS
;
8317 } _resultobj
= Py_BuildValue("i",_result
);
8321 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8322 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
* _resultobj
;
8327 PyObject
* _argo0
= 0;
8329 char *_kwnames
[] = { "self","expandSelection", NULL
};
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8341 _arg1
= (bool ) tempbool1
;
8343 wxPy_BEGIN_ALLOW_THREADS
;
8344 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8346 wxPy_END_ALLOW_THREADS
;
8347 } _resultobj
= Py_BuildValue("i",_result
);
8351 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8352 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
* _resultobj
;
8357 PyObject
* _argo0
= 0;
8359 char *_kwnames
[] = { "self","expandSelection", NULL
};
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8371 _arg1
= (bool ) tempbool1
;
8373 wxPy_BEGIN_ALLOW_THREADS
;
8374 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8376 wxPy_END_ALLOW_THREADS
;
8377 } _resultobj
= Py_BuildValue("i",_result
);
8381 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8382 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
* _resultobj
;
8386 PyObject
* _argo0
= 0;
8387 char *_kwnames
[] = { "self", NULL
};
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8400 wxPy_BEGIN_ALLOW_THREADS
;
8401 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8403 wxPy_END_ALLOW_THREADS
;
8404 } _resultobj
= Py_BuildValue("i",_result
);
8408 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8409 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8413 PyObject
* _argo0
= 0;
8414 char *_kwnames
[] = { "self", NULL
};
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8427 wxPy_BEGIN_ALLOW_THREADS
;
8428 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8430 wxPy_END_ALLOW_THREADS
;
8431 } _resultobj
= Py_BuildValue("i",_result
);
8435 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8436 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
* _resultobj
;
8440 PyObject
* _argo0
= 0;
8441 char *_kwnames
[] = { "self", NULL
};
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8454 wxPy_BEGIN_ALLOW_THREADS
;
8455 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8457 wxPy_END_ALLOW_THREADS
;
8458 } _resultobj
= Py_BuildValue("i",_result
);
8462 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8463 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
* _resultobj
;
8467 PyObject
* _argo0
= 0;
8468 char *_kwnames
[] = { "self", NULL
};
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8481 wxPy_BEGIN_ALLOW_THREADS
;
8482 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8484 wxPy_END_ALLOW_THREADS
;
8485 } _resultobj
= Py_BuildValue("i",_result
);
8489 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8490 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
* _resultobj
;
8494 PyObject
* _argo0
= 0;
8495 char *_kwnames
[] = { "self", NULL
};
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8509 wxPy_BEGIN_ALLOW_THREADS
;
8510 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8512 wxPy_END_ALLOW_THREADS
;
8513 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8514 _resultobj
= Py_BuildValue("s",_ptemp
);
8518 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8519 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
* _resultobj
;
8523 PyObject
* _argo0
= 0;
8524 char *_kwnames
[] = { "self", NULL
};
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8538 wxPy_BEGIN_ALLOW_THREADS
;
8539 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8541 wxPy_END_ALLOW_THREADS
;
8542 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8543 _resultobj
= Py_BuildValue("s",_ptemp
);
8547 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8548 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
* _resultobj
;
8552 PyObject
* _argo0
= 0;
8553 char *_kwnames
[] = { "self", NULL
};
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8567 wxPy_BEGIN_ALLOW_THREADS
;
8568 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8570 wxPy_END_ALLOW_THREADS
;
8571 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8572 _resultobj
= Py_BuildValue("s",_ptemp
);
8576 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8577 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
* _resultobj
;
8584 PyObject
* _argo0
= 0;
8585 char *_kwnames
[] = { "self", NULL
};
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
8597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8604 wxPy_BEGIN_ALLOW_THREADS
;
8605 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8607 wxPy_END_ALLOW_THREADS
;
8608 } Py_INCREF(Py_None
);
8609 _resultobj
= Py_None
;
8612 o
= PyInt_FromLong((long) (*_arg1
));
8613 _resultobj
= t_output_helper(_resultobj
, o
);
8617 o
= PyInt_FromLong((long) (*_arg2
));
8618 _resultobj
= t_output_helper(_resultobj
, o
);
8623 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8624 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
* _resultobj
;
8631 PyObject
* _argo0
= 0;
8632 char *_kwnames
[] = { "self", NULL
};
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
8644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8651 wxPy_BEGIN_ALLOW_THREADS
;
8652 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
8654 wxPy_END_ALLOW_THREADS
;
8655 } Py_INCREF(Py_None
);
8656 _resultobj
= Py_None
;
8659 o
= PyInt_FromLong((long) (*_arg1
));
8660 _resultobj
= t_output_helper(_resultobj
, o
);
8664 o
= PyInt_FromLong((long) (*_arg2
));
8665 _resultobj
= t_output_helper(_resultobj
, o
);
8670 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8671 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
* _resultobj
;
8676 PyObject
* _argo0
= 0;
8677 char *_kwnames
[] = { "self","row", NULL
};
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
8683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8690 wxPy_BEGIN_ALLOW_THREADS
;
8691 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
8693 wxPy_END_ALLOW_THREADS
;
8695 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8703 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8704 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
* _resultobj
;
8709 PyObject
* _argo0
= 0;
8710 char *_kwnames
[] = { "self","col", NULL
};
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
8716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8723 wxPy_BEGIN_ALLOW_THREADS
;
8724 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
8726 wxPy_END_ALLOW_THREADS
;
8728 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8736 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8737 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
* _resultobj
;
8741 PyObject
* _argo0
= 0;
8742 char *_kwnames
[] = { "self", NULL
};
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
8749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8756 wxPy_BEGIN_ALLOW_THREADS
;
8757 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
8759 wxPy_END_ALLOW_THREADS
;
8760 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8761 _resultobj
= Py_BuildValue("s",_ptemp
);
8765 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8766 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
* _resultobj
;
8770 PyObject
* _argo0
= 0;
8771 char *_kwnames
[] = { "self", NULL
};
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
8778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8785 wxPy_BEGIN_ALLOW_THREADS
;
8786 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
8788 wxPy_END_ALLOW_THREADS
;
8789 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8790 _resultobj
= Py_BuildValue("s",_ptemp
);
8794 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8795 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
* _resultobj
;
8799 PyObject
* _argo0
= 0;
8800 char *_kwnames
[] = { "self","width", NULL
};
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
8806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8813 wxPy_BEGIN_ALLOW_THREADS
;
8814 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
8816 wxPy_END_ALLOW_THREADS
;
8817 } Py_INCREF(Py_None
);
8818 _resultobj
= Py_None
;
8822 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8823 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
* _resultobj
;
8827 PyObject
* _argo0
= 0;
8828 char *_kwnames
[] = { "self","height", NULL
};
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
8834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8841 wxPy_BEGIN_ALLOW_THREADS
;
8842 wxGrid_SetColLabelSize(_arg0
,_arg1
);
8844 wxPy_END_ALLOW_THREADS
;
8845 } Py_INCREF(Py_None
);
8846 _resultobj
= Py_None
;
8850 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8851 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
* _resultobj
;
8855 PyObject
* _argo0
= 0;
8857 PyObject
* _obj1
= 0;
8858 char *_kwnames
[] = { "self","arg2", NULL
};
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
8864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8872 if (! wxColour_helper(_obj1
, &_arg1
))
8876 wxPy_BEGIN_ALLOW_THREADS
;
8877 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
8879 wxPy_END_ALLOW_THREADS
;
8880 } Py_INCREF(Py_None
);
8881 _resultobj
= Py_None
;
8885 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8886 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
* _resultobj
;
8890 PyObject
* _argo0
= 0;
8892 PyObject
* _obj1
= 0;
8893 char *_kwnames
[] = { "self","arg2", NULL
};
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
8899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8907 if (! wxColour_helper(_obj1
, &_arg1
))
8911 wxPy_BEGIN_ALLOW_THREADS
;
8912 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
8914 wxPy_END_ALLOW_THREADS
;
8915 } Py_INCREF(Py_None
);
8916 _resultobj
= Py_None
;
8920 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8921 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
* _resultobj
;
8925 PyObject
* _argo0
= 0;
8926 PyObject
* _argo1
= 0;
8927 char *_kwnames
[] = { "self","arg2", NULL
};
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
8933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8947 wxPy_BEGIN_ALLOW_THREADS
;
8948 wxGrid_SetLabelFont(_arg0
,*_arg1
);
8950 wxPy_END_ALLOW_THREADS
;
8951 } Py_INCREF(Py_None
);
8952 _resultobj
= Py_None
;
8956 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8957 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
* _resultobj
;
8962 PyObject
* _argo0
= 0;
8963 char *_kwnames
[] = { "self","horiz","vert", NULL
};
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8976 wxPy_BEGIN_ALLOW_THREADS
;
8977 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8979 wxPy_END_ALLOW_THREADS
;
8980 } Py_INCREF(Py_None
);
8981 _resultobj
= Py_None
;
8985 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8986 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
* _resultobj
;
8991 PyObject
* _argo0
= 0;
8992 char *_kwnames
[] = { "self","horiz","vert", NULL
};
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9005 wxPy_BEGIN_ALLOW_THREADS
;
9006 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9008 wxPy_END_ALLOW_THREADS
;
9009 } Py_INCREF(Py_None
);
9010 _resultobj
= Py_None
;
9014 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9015 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
* _resultobj
;
9020 PyObject
* _argo0
= 0;
9021 PyObject
* _obj2
= 0;
9022 char *_kwnames
[] = { "self","row","arg3", NULL
};
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9035 #if PYTHON_API_VERSION >= 1009
9036 char* tmpPtr
; int tmpSize
;
9037 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9041 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9043 _arg2
= new wxString(tmpPtr
, tmpSize
);
9045 if (!PyString_Check(_obj2
)) {
9046 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9049 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9053 wxPy_BEGIN_ALLOW_THREADS
;
9054 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9056 wxPy_END_ALLOW_THREADS
;
9057 } Py_INCREF(Py_None
);
9058 _resultobj
= Py_None
;
9066 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9067 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
* _resultobj
;
9072 PyObject
* _argo0
= 0;
9073 PyObject
* _obj2
= 0;
9074 char *_kwnames
[] = { "self","col","arg3", NULL
};
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9087 #if PYTHON_API_VERSION >= 1009
9088 char* tmpPtr
; int tmpSize
;
9089 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9090 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9093 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9095 _arg2
= new wxString(tmpPtr
, tmpSize
);
9097 if (!PyString_Check(_obj2
)) {
9098 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9101 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9105 wxPy_BEGIN_ALLOW_THREADS
;
9106 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9108 wxPy_END_ALLOW_THREADS
;
9109 } Py_INCREF(Py_None
);
9110 _resultobj
= Py_None
;
9118 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9119 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
* _resultobj
;
9123 PyObject
* _argo0
= 0;
9125 PyObject
* _obj1
= 0;
9126 char *_kwnames
[] = { "self","arg2", NULL
};
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9140 if (! wxColour_helper(_obj1
, &_arg1
))
9144 wxPy_BEGIN_ALLOW_THREADS
;
9145 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9147 wxPy_END_ALLOW_THREADS
;
9148 } Py_INCREF(Py_None
);
9149 _resultobj
= Py_None
;
9153 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9154 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
* _resultobj
;
9158 PyObject
* _argo0
= 0;
9160 PyObject
* _obj1
= 0;
9161 char *_kwnames
[] = { "self","arg2", NULL
};
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9175 if (! wxColour_helper(_obj1
, &_arg1
))
9179 wxPy_BEGIN_ALLOW_THREADS
;
9180 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9182 wxPy_END_ALLOW_THREADS
;
9183 } Py_INCREF(Py_None
);
9184 _resultobj
= Py_None
;
9188 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9189 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
* _resultobj
;
9192 bool _arg1
= (bool ) TRUE
;
9193 PyObject
* _argo0
= 0;
9194 int tempbool1
= (int) TRUE
;
9195 char *_kwnames
[] = { "self","enable", NULL
};
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9207 _arg1
= (bool ) tempbool1
;
9209 wxPy_BEGIN_ALLOW_THREADS
;
9210 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9212 wxPy_END_ALLOW_THREADS
;
9213 } Py_INCREF(Py_None
);
9214 _resultobj
= Py_None
;
9218 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9219 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
* _resultobj
;
9222 PyObject
* _argo0
= 0;
9223 char *_kwnames
[] = { "self", NULL
};
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9236 wxPy_BEGIN_ALLOW_THREADS
;
9237 wxGrid_DisableDragRowSize(_arg0
);
9239 wxPy_END_ALLOW_THREADS
;
9240 } Py_INCREF(Py_None
);
9241 _resultobj
= Py_None
;
9245 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9246 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
* _resultobj
;
9250 PyObject
* _argo0
= 0;
9251 char *_kwnames
[] = { "self", NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9264 wxPy_BEGIN_ALLOW_THREADS
;
9265 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9267 wxPy_END_ALLOW_THREADS
;
9268 } _resultobj
= Py_BuildValue("i",_result
);
9272 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9273 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
* _resultobj
;
9276 bool _arg1
= (bool ) TRUE
;
9277 PyObject
* _argo0
= 0;
9278 int tempbool1
= (int) TRUE
;
9279 char *_kwnames
[] = { "self","enable", NULL
};
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
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_EnableDragColSize. Expected _wxGrid_p.");
9291 _arg1
= (bool ) tempbool1
;
9293 wxPy_BEGIN_ALLOW_THREADS
;
9294 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9296 wxPy_END_ALLOW_THREADS
;
9297 } Py_INCREF(Py_None
);
9298 _resultobj
= Py_None
;
9302 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9303 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
* _resultobj
;
9306 PyObject
* _argo0
= 0;
9307 char *_kwnames
[] = { "self", NULL
};
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9320 wxPy_BEGIN_ALLOW_THREADS
;
9321 wxGrid_DisableDragColSize(_arg0
);
9323 wxPy_END_ALLOW_THREADS
;
9324 } Py_INCREF(Py_None
);
9325 _resultobj
= Py_None
;
9329 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9330 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
* _resultobj
;
9334 PyObject
* _argo0
= 0;
9335 char *_kwnames
[] = { "self", NULL
};
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9348 wxPy_BEGIN_ALLOW_THREADS
;
9349 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9351 wxPy_END_ALLOW_THREADS
;
9352 } _resultobj
= Py_BuildValue("i",_result
);
9356 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9357 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
* _resultobj
;
9360 bool _arg1
= (bool ) TRUE
;
9361 PyObject
* _argo0
= 0;
9362 int tempbool1
= (int) TRUE
;
9363 char *_kwnames
[] = { "self","enable", NULL
};
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9375 _arg1
= (bool ) tempbool1
;
9377 wxPy_BEGIN_ALLOW_THREADS
;
9378 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9380 wxPy_END_ALLOW_THREADS
;
9381 } Py_INCREF(Py_None
);
9382 _resultobj
= Py_None
;
9386 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9387 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
* _resultobj
;
9390 PyObject
* _argo0
= 0;
9391 char *_kwnames
[] = { "self", NULL
};
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9404 wxPy_BEGIN_ALLOW_THREADS
;
9405 wxGrid_DisableDragGridSize(_arg0
);
9407 wxPy_END_ALLOW_THREADS
;
9408 } Py_INCREF(Py_None
);
9409 _resultobj
= Py_None
;
9413 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9414 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
* _resultobj
;
9418 PyObject
* _argo0
= 0;
9419 char *_kwnames
[] = { "self", NULL
};
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9432 wxPy_BEGIN_ALLOW_THREADS
;
9433 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9435 wxPy_END_ALLOW_THREADS
;
9436 } _resultobj
= Py_BuildValue("i",_result
);
9440 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9441 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
* _resultobj
;
9445 wxGridCellAttr
* _arg2
;
9446 PyObject
* _argo0
= 0;
9447 PyObject
* _argo2
= 0;
9448 char *_kwnames
[] = { "self","row","attr", NULL
};
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9461 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9462 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9468 wxPy_BEGIN_ALLOW_THREADS
;
9469 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
9471 wxPy_END_ALLOW_THREADS
;
9472 } Py_INCREF(Py_None
);
9473 _resultobj
= Py_None
;
9477 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9478 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9482 wxGridCellAttr
* _arg2
;
9483 PyObject
* _argo0
= 0;
9484 PyObject
* _argo2
= 0;
9485 char *_kwnames
[] = { "self","col","attr", NULL
};
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9498 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9499 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9505 wxPy_BEGIN_ALLOW_THREADS
;
9506 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
9508 wxPy_END_ALLOW_THREADS
;
9509 } Py_INCREF(Py_None
);
9510 _resultobj
= Py_None
;
9514 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9515 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
* _resultobj
;
9519 PyObject
* _argo0
= 0;
9520 char *_kwnames
[] = { "self","col", NULL
};
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
9526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9533 wxPy_BEGIN_ALLOW_THREADS
;
9534 wxGrid_SetColFormatBool(_arg0
,_arg1
);
9536 wxPy_END_ALLOW_THREADS
;
9537 } Py_INCREF(Py_None
);
9538 _resultobj
= Py_None
;
9542 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9543 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
* _resultobj
;
9547 PyObject
* _argo0
= 0;
9548 char *_kwnames
[] = { "self","col", NULL
};
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
9554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9561 wxPy_BEGIN_ALLOW_THREADS
;
9562 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
9564 wxPy_END_ALLOW_THREADS
;
9565 } Py_INCREF(Py_None
);
9566 _resultobj
= Py_None
;
9570 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9571 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
* _resultobj
;
9575 int _arg2
= (int ) -1;
9576 int _arg3
= (int ) -1;
9577 PyObject
* _argo0
= 0;
9578 char *_kwnames
[] = { "self","col","width","precision", NULL
};
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9591 wxPy_BEGIN_ALLOW_THREADS
;
9592 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
9594 wxPy_END_ALLOW_THREADS
;
9595 } Py_INCREF(Py_None
);
9596 _resultobj
= Py_None
;
9600 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9601 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
* _resultobj
;
9606 PyObject
* _argo0
= 0;
9607 PyObject
* _obj2
= 0;
9608 char *_kwnames
[] = { "self","col","typeName", NULL
};
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9621 #if PYTHON_API_VERSION >= 1009
9622 char* tmpPtr
; int tmpSize
;
9623 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9627 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9629 _arg2
= new wxString(tmpPtr
, tmpSize
);
9631 if (!PyString_Check(_obj2
)) {
9632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9635 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9639 wxPy_BEGIN_ALLOW_THREADS
;
9640 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
9642 wxPy_END_ALLOW_THREADS
;
9643 } Py_INCREF(Py_None
);
9644 _resultobj
= Py_None
;
9652 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9653 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
* _resultobj
;
9656 bool _arg1
= (bool ) TRUE
;
9657 PyObject
* _argo0
= 0;
9658 int tempbool1
= (int) TRUE
;
9659 char *_kwnames
[] = { "self","enable", NULL
};
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
9665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9671 _arg1
= (bool ) tempbool1
;
9673 wxPy_BEGIN_ALLOW_THREADS
;
9674 wxGrid_EnableGridLines(_arg0
,_arg1
);
9676 wxPy_END_ALLOW_THREADS
;
9677 } Py_INCREF(Py_None
);
9678 _resultobj
= Py_None
;
9682 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9683 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
* _resultobj
;
9687 PyObject
* _argo0
= 0;
9688 char *_kwnames
[] = { "self", NULL
};
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
9694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9701 wxPy_BEGIN_ALLOW_THREADS
;
9702 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
9704 wxPy_END_ALLOW_THREADS
;
9705 } _resultobj
= Py_BuildValue("i",_result
);
9709 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9710 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
* _resultobj
;
9714 PyObject
* _argo0
= 0;
9715 char *_kwnames
[] = { "self", NULL
};
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
9721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9728 wxPy_BEGIN_ALLOW_THREADS
;
9729 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
9731 wxPy_END_ALLOW_THREADS
;
9732 } _resultobj
= Py_BuildValue("i",_result
);
9736 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9737 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
* _resultobj
;
9742 PyObject
* _argo0
= 0;
9743 char *_kwnames
[] = { "self","row", NULL
};
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
9749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9756 wxPy_BEGIN_ALLOW_THREADS
;
9757 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
9759 wxPy_END_ALLOW_THREADS
;
9760 } _resultobj
= Py_BuildValue("i",_result
);
9764 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9765 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
* _resultobj
;
9769 PyObject
* _argo0
= 0;
9770 char *_kwnames
[] = { "self", NULL
};
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
9776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9783 wxPy_BEGIN_ALLOW_THREADS
;
9784 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
9786 wxPy_END_ALLOW_THREADS
;
9787 } _resultobj
= Py_BuildValue("i",_result
);
9791 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9792 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
* _resultobj
;
9797 PyObject
* _argo0
= 0;
9798 char *_kwnames
[] = { "self","col", NULL
};
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
9804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9811 wxPy_BEGIN_ALLOW_THREADS
;
9812 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
9814 wxPy_END_ALLOW_THREADS
;
9815 } _resultobj
= Py_BuildValue("i",_result
);
9819 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9820 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
* _resultobj
;
9824 PyObject
* _argo0
= 0;
9825 char *_kwnames
[] = { "self", NULL
};
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
9832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9839 wxPy_BEGIN_ALLOW_THREADS
;
9840 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
9842 wxPy_END_ALLOW_THREADS
;
9843 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9844 _resultobj
= Py_BuildValue("s",_ptemp
);
9848 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9849 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
* _resultobj
;
9855 PyObject
* _argo0
= 0;
9856 char *_kwnames
[] = { "self","row","col", NULL
};
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
9870 wxPy_BEGIN_ALLOW_THREADS
;
9871 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
9873 wxPy_END_ALLOW_THREADS
;
9874 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9875 _resultobj
= Py_BuildValue("s",_ptemp
);
9879 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9880 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
* _resultobj
;
9884 PyObject
* _argo0
= 0;
9885 char *_kwnames
[] = { "self", NULL
};
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
9892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
9899 wxPy_BEGIN_ALLOW_THREADS
;
9900 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
9902 wxPy_END_ALLOW_THREADS
;
9903 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9904 _resultobj
= Py_BuildValue("s",_ptemp
);
9908 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9909 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
* _resultobj
;
9915 PyObject
* _argo0
= 0;
9916 char *_kwnames
[] = { "self","row","col", NULL
};
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9930 wxPy_BEGIN_ALLOW_THREADS
;
9931 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
9933 wxPy_END_ALLOW_THREADS
;
9934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9935 _resultobj
= Py_BuildValue("s",_ptemp
);
9939 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9940 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
* _resultobj
;
9944 PyObject
* _argo0
= 0;
9945 char *_kwnames
[] = { "self", NULL
};
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
9952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9959 wxPy_BEGIN_ALLOW_THREADS
;
9960 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
9962 wxPy_END_ALLOW_THREADS
;
9963 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9964 _resultobj
= Py_BuildValue("s",_ptemp
);
9968 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9969 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
* _resultobj
;
9975 PyObject
* _argo0
= 0;
9976 char *_kwnames
[] = { "self","row","col", NULL
};
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9990 wxPy_BEGIN_ALLOW_THREADS
;
9991 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
9993 wxPy_END_ALLOW_THREADS
;
9994 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9995 _resultobj
= Py_BuildValue("s",_ptemp
);
9999 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10000 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
* _resultobj
;
10005 PyObject
* _argo0
= 0;
10006 PyObject
* _argo1
= 0;
10007 PyObject
* _argo2
= 0;
10008 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10021 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10022 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10028 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10029 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10035 wxPy_BEGIN_ALLOW_THREADS
;
10036 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10038 wxPy_END_ALLOW_THREADS
;
10039 } Py_INCREF(Py_None
);
10040 _resultobj
= Py_None
;
10044 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10045 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
* _resultobj
;
10052 PyObject
* _argo0
= 0;
10053 PyObject
* _argo3
= 0;
10054 PyObject
* _argo4
= 0;
10055 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10068 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10069 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10075 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10076 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10082 wxPy_BEGIN_ALLOW_THREADS
;
10083 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10085 wxPy_END_ALLOW_THREADS
;
10086 } Py_INCREF(Py_None
);
10087 _resultobj
= Py_None
;
10091 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10092 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
* _resultobj
;
10096 bool _arg2
= (bool ) FALSE
;
10097 PyObject
* _argo0
= 0;
10098 int tempbool2
= (int) FALSE
;
10099 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10111 _arg2
= (bool ) tempbool2
;
10113 wxPy_BEGIN_ALLOW_THREADS
;
10114 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10116 wxPy_END_ALLOW_THREADS
;
10117 } Py_INCREF(Py_None
);
10118 _resultobj
= Py_None
;
10122 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10123 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
* _resultobj
;
10128 PyObject
* _argo0
= 0;
10129 char *_kwnames
[] = { "self","row","height", NULL
};
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10142 wxPy_BEGIN_ALLOW_THREADS
;
10143 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10145 wxPy_END_ALLOW_THREADS
;
10146 } Py_INCREF(Py_None
);
10147 _resultobj
= Py_None
;
10151 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10152 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
* _resultobj
;
10156 bool _arg2
= (bool ) FALSE
;
10157 PyObject
* _argo0
= 0;
10158 int tempbool2
= (int) FALSE
;
10159 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10171 _arg2
= (bool ) tempbool2
;
10173 wxPy_BEGIN_ALLOW_THREADS
;
10174 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10176 wxPy_END_ALLOW_THREADS
;
10177 } Py_INCREF(Py_None
);
10178 _resultobj
= Py_None
;
10182 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10183 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
* _resultobj
;
10188 PyObject
* _argo0
= 0;
10189 char *_kwnames
[] = { "self","col","width", NULL
};
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10202 wxPy_BEGIN_ALLOW_THREADS
;
10203 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10205 wxPy_END_ALLOW_THREADS
;
10206 } Py_INCREF(Py_None
);
10207 _resultobj
= Py_None
;
10211 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10212 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
* _resultobj
;
10216 bool _arg2
= (bool ) TRUE
;
10217 PyObject
* _argo0
= 0;
10218 int tempbool2
= (int) TRUE
;
10219 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10231 _arg2
= (bool ) tempbool2
;
10233 wxPy_BEGIN_ALLOW_THREADS
;
10234 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10236 wxPy_END_ALLOW_THREADS
;
10237 } Py_INCREF(Py_None
);
10238 _resultobj
= Py_None
;
10242 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10243 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
* _resultobj
;
10247 bool _arg2
= (bool ) TRUE
;
10248 PyObject
* _argo0
= 0;
10249 int tempbool2
= (int) TRUE
;
10250 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10262 _arg2
= (bool ) tempbool2
;
10264 wxPy_BEGIN_ALLOW_THREADS
;
10265 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10267 wxPy_END_ALLOW_THREADS
;
10268 } Py_INCREF(Py_None
);
10269 _resultobj
= Py_None
;
10273 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10274 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
* _resultobj
;
10277 bool _arg1
= (bool ) TRUE
;
10278 PyObject
* _argo0
= 0;
10279 int tempbool1
= (int) TRUE
;
10280 char *_kwnames
[] = { "self","setAsMin", NULL
};
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10292 _arg1
= (bool ) tempbool1
;
10294 wxPy_BEGIN_ALLOW_THREADS
;
10295 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10297 wxPy_END_ALLOW_THREADS
;
10298 } Py_INCREF(Py_None
);
10299 _resultobj
= Py_None
;
10303 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10304 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
* _resultobj
;
10307 bool _arg1
= (bool ) TRUE
;
10308 PyObject
* _argo0
= 0;
10309 int tempbool1
= (int) TRUE
;
10310 char *_kwnames
[] = { "self","setAsMin", NULL
};
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10322 _arg1
= (bool ) tempbool1
;
10324 wxPy_BEGIN_ALLOW_THREADS
;
10325 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10327 wxPy_END_ALLOW_THREADS
;
10328 } Py_INCREF(Py_None
);
10329 _resultobj
= Py_None
;
10333 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10334 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
* _resultobj
;
10337 PyObject
* _argo0
= 0;
10338 char *_kwnames
[] = { "self", NULL
};
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
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_AutoSize. Expected _wxGrid_p.");
10351 wxPy_BEGIN_ALLOW_THREADS
;
10352 wxGrid_AutoSize(_arg0
);
10354 wxPy_END_ALLOW_THREADS
;
10355 } Py_INCREF(Py_None
);
10356 _resultobj
= Py_None
;
10360 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10361 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
* _resultobj
;
10366 PyObject
* _argo0
= 0;
10367 char *_kwnames
[] = { "self","col","width", NULL
};
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10380 wxPy_BEGIN_ALLOW_THREADS
;
10381 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10383 wxPy_END_ALLOW_THREADS
;
10384 } Py_INCREF(Py_None
);
10385 _resultobj
= Py_None
;
10389 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10390 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
* _resultobj
;
10395 PyObject
* _argo0
= 0;
10396 char *_kwnames
[] = { "self","row","width", NULL
};
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10409 wxPy_BEGIN_ALLOW_THREADS
;
10410 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10412 wxPy_END_ALLOW_THREADS
;
10413 } Py_INCREF(Py_None
);
10414 _resultobj
= Py_None
;
10418 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10419 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
* _resultobj
;
10423 PyObject
* _argo0
= 0;
10425 PyObject
* _obj1
= 0;
10426 char *_kwnames
[] = { "self","arg2", NULL
};
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10440 if (! wxColour_helper(_obj1
, &_arg1
))
10444 wxPy_BEGIN_ALLOW_THREADS
;
10445 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
10447 wxPy_END_ALLOW_THREADS
;
10448 } Py_INCREF(Py_None
);
10449 _resultobj
= Py_None
;
10453 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10454 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
* _resultobj
;
10460 PyObject
* _argo0
= 0;
10462 PyObject
* _obj3
= 0;
10463 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10477 if (! wxColour_helper(_obj3
, &_arg3
))
10481 wxPy_BEGIN_ALLOW_THREADS
;
10482 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10484 wxPy_END_ALLOW_THREADS
;
10485 } Py_INCREF(Py_None
);
10486 _resultobj
= Py_None
;
10490 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10491 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
* _resultobj
;
10495 PyObject
* _argo0
= 0;
10497 PyObject
* _obj1
= 0;
10498 char *_kwnames
[] = { "self","arg2", NULL
};
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
10504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10512 if (! wxColour_helper(_obj1
, &_arg1
))
10516 wxPy_BEGIN_ALLOW_THREADS
;
10517 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
10519 wxPy_END_ALLOW_THREADS
;
10520 } Py_INCREF(Py_None
);
10521 _resultobj
= Py_None
;
10525 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10526 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
* _resultobj
;
10532 PyObject
* _argo0
= 0;
10534 PyObject
* _obj3
= 0;
10535 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10549 if (! wxColour_helper(_obj3
, &_arg3
))
10553 wxPy_BEGIN_ALLOW_THREADS
;
10554 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10556 wxPy_END_ALLOW_THREADS
;
10557 } Py_INCREF(Py_None
);
10558 _resultobj
= Py_None
;
10562 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10563 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
* _resultobj
;
10567 PyObject
* _argo0
= 0;
10568 PyObject
* _argo1
= 0;
10569 char *_kwnames
[] = { "self","arg2", NULL
};
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
10575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10589 wxPy_BEGIN_ALLOW_THREADS
;
10590 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
10592 wxPy_END_ALLOW_THREADS
;
10593 } Py_INCREF(Py_None
);
10594 _resultobj
= Py_None
;
10598 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10599 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
* _resultobj
;
10605 PyObject
* _argo0
= 0;
10606 PyObject
* _argo3
= 0;
10607 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10620 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10621 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
10622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10627 wxPy_BEGIN_ALLOW_THREADS
;
10628 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
10630 wxPy_END_ALLOW_THREADS
;
10631 } Py_INCREF(Py_None
);
10632 _resultobj
= Py_None
;
10636 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10637 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
* _resultobj
;
10642 PyObject
* _argo0
= 0;
10643 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10656 wxPy_BEGIN_ALLOW_THREADS
;
10657 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10659 wxPy_END_ALLOW_THREADS
;
10660 } Py_INCREF(Py_None
);
10661 _resultobj
= Py_None
;
10665 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10666 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
* _resultobj
;
10673 PyObject
* _argo0
= 0;
10674 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10687 wxPy_BEGIN_ALLOW_THREADS
;
10688 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10690 wxPy_END_ALLOW_THREADS
;
10691 } Py_INCREF(Py_None
);
10692 _resultobj
= Py_None
;
10696 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10697 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
* _resultobj
;
10700 wxGridCellRenderer
* _arg1
;
10701 PyObject
* _argo0
= 0;
10702 PyObject
* _argo1
= 0;
10703 char *_kwnames
[] = { "self","renderer", NULL
};
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
10709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
10718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10723 wxPy_BEGIN_ALLOW_THREADS
;
10724 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
10726 wxPy_END_ALLOW_THREADS
;
10727 } Py_INCREF(Py_None
);
10728 _resultobj
= Py_None
;
10732 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10733 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
* _resultobj
;
10738 wxGridCellRenderer
* _arg3
;
10739 PyObject
* _argo0
= 0;
10740 PyObject
* _argo3
= 0;
10741 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10754 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10755 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
10756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10761 wxPy_BEGIN_ALLOW_THREADS
;
10762 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
10764 wxPy_END_ALLOW_THREADS
;
10765 } Py_INCREF(Py_None
);
10766 _resultobj
= Py_None
;
10770 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10771 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
* _resultobj
;
10773 wxGridCellRenderer
* _result
;
10775 PyObject
* _argo0
= 0;
10776 char *_kwnames
[] = { "self", NULL
};
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
10783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10790 wxPy_BEGIN_ALLOW_THREADS
;
10791 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
10793 wxPy_END_ALLOW_THREADS
;
10795 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
10796 _resultobj
= Py_BuildValue("s",_ptemp
);
10798 Py_INCREF(Py_None
);
10799 _resultobj
= Py_None
;
10804 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10805 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
* _resultobj
;
10807 wxGridCellRenderer
* _result
;
10811 PyObject
* _argo0
= 0;
10812 char *_kwnames
[] = { "self","row","col", NULL
};
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
10826 wxPy_BEGIN_ALLOW_THREADS
;
10827 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
10829 wxPy_END_ALLOW_THREADS
;
10831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
10832 _resultobj
= Py_BuildValue("s",_ptemp
);
10834 Py_INCREF(Py_None
);
10835 _resultobj
= Py_None
;
10840 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10841 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
* _resultobj
;
10844 wxGridCellEditor
* _arg1
;
10845 PyObject
* _argo0
= 0;
10846 PyObject
* _argo1
= 0;
10847 char *_kwnames
[] = { "self","editor", NULL
};
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
10853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
10862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10867 wxPy_BEGIN_ALLOW_THREADS
;
10868 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
10870 wxPy_END_ALLOW_THREADS
;
10871 } Py_INCREF(Py_None
);
10872 _resultobj
= Py_None
;
10876 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10877 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
* _resultobj
;
10882 wxGridCellEditor
* _arg3
;
10883 PyObject
* _argo0
= 0;
10884 PyObject
* _argo3
= 0;
10885 char *_kwnames
[] = { "self","row","col","editor", NULL
};
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10898 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10899 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
10900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10905 wxPy_BEGIN_ALLOW_THREADS
;
10906 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
10908 wxPy_END_ALLOW_THREADS
;
10909 } Py_INCREF(Py_None
);
10910 _resultobj
= Py_None
;
10914 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10915 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
* _resultobj
;
10917 wxGridCellEditor
* _result
;
10919 PyObject
* _argo0
= 0;
10920 char *_kwnames
[] = { "self", NULL
};
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
10927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10934 wxPy_BEGIN_ALLOW_THREADS
;
10935 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
10937 wxPy_END_ALLOW_THREADS
;
10939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
10940 _resultobj
= Py_BuildValue("s",_ptemp
);
10942 Py_INCREF(Py_None
);
10943 _resultobj
= Py_None
;
10948 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10949 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
* _resultobj
;
10951 wxGridCellEditor
* _result
;
10955 PyObject
* _argo0
= 0;
10956 char *_kwnames
[] = { "self","row","col", NULL
};
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10970 wxPy_BEGIN_ALLOW_THREADS
;
10971 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
10973 wxPy_END_ALLOW_THREADS
;
10975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
10976 _resultobj
= Py_BuildValue("s",_ptemp
);
10978 Py_INCREF(Py_None
);
10979 _resultobj
= Py_None
;
10984 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10985 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
* _resultobj
;
10987 wxString
* _result
;
10991 PyObject
* _argo0
= 0;
10992 char *_kwnames
[] = { "self","row","col", NULL
};
10995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11005 wxPy_BEGIN_ALLOW_THREADS
;
11006 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11008 wxPy_END_ALLOW_THREADS
;
11010 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11018 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11019 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
* _resultobj
;
11025 PyObject
* _argo0
= 0;
11026 PyObject
* _obj3
= 0;
11027 char *_kwnames
[] = { "self","row","col","s", NULL
};
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11040 #if PYTHON_API_VERSION >= 1009
11041 char* tmpPtr
; int tmpSize
;
11042 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11046 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11048 _arg3
= new wxString(tmpPtr
, tmpSize
);
11050 if (!PyString_Check(_obj3
)) {
11051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11054 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11058 wxPy_BEGIN_ALLOW_THREADS
;
11059 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11061 wxPy_END_ALLOW_THREADS
;
11062 } Py_INCREF(Py_None
);
11063 _resultobj
= Py_None
;
11071 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11072 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
* _resultobj
;
11078 PyObject
* _argo0
= 0;
11079 char *_kwnames
[] = { "self","row","col", NULL
};
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11092 wxPy_BEGIN_ALLOW_THREADS
;
11093 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11095 wxPy_END_ALLOW_THREADS
;
11096 } _resultobj
= Py_BuildValue("i",_result
);
11100 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11101 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
* _resultobj
;
11106 bool _arg3
= (bool ) TRUE
;
11107 PyObject
* _argo0
= 0;
11108 int tempbool3
= (int) TRUE
;
11109 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11121 _arg3
= (bool ) tempbool3
;
11123 wxPy_BEGIN_ALLOW_THREADS
;
11124 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11126 wxPy_END_ALLOW_THREADS
;
11127 } Py_INCREF(Py_None
);
11128 _resultobj
= Py_None
;
11132 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11133 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
* _resultobj
;
11137 bool _arg2
= (bool ) FALSE
;
11138 PyObject
* _argo0
= 0;
11139 int tempbool2
= (int) FALSE
;
11140 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11152 _arg2
= (bool ) tempbool2
;
11154 wxPy_BEGIN_ALLOW_THREADS
;
11155 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11157 wxPy_END_ALLOW_THREADS
;
11158 } Py_INCREF(Py_None
);
11159 _resultobj
= Py_None
;
11163 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11164 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
* _resultobj
;
11168 bool _arg2
= (bool ) FALSE
;
11169 PyObject
* _argo0
= 0;
11170 int tempbool2
= (int) FALSE
;
11171 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11183 _arg2
= (bool ) tempbool2
;
11185 wxPy_BEGIN_ALLOW_THREADS
;
11186 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11188 wxPy_END_ALLOW_THREADS
;
11189 } Py_INCREF(Py_None
);
11190 _resultobj
= Py_None
;
11194 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11195 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
* _resultobj
;
11202 bool _arg5
= (bool ) FALSE
;
11203 PyObject
* _argo0
= 0;
11204 int tempbool5
= (int) FALSE
;
11205 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11217 _arg5
= (bool ) tempbool5
;
11219 wxPy_BEGIN_ALLOW_THREADS
;
11220 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11222 wxPy_END_ALLOW_THREADS
;
11223 } Py_INCREF(Py_None
);
11224 _resultobj
= Py_None
;
11228 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11229 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
* _resultobj
;
11232 PyObject
* _argo0
= 0;
11233 char *_kwnames
[] = { "self", NULL
};
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11246 wxPy_BEGIN_ALLOW_THREADS
;
11247 wxGrid_SelectAll(_arg0
);
11249 wxPy_END_ALLOW_THREADS
;
11250 } Py_INCREF(Py_None
);
11251 _resultobj
= Py_None
;
11255 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11256 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
* _resultobj
;
11260 PyObject
* _argo0
= 0;
11261 char *_kwnames
[] = { "self", NULL
};
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11274 wxPy_BEGIN_ALLOW_THREADS
;
11275 _result
= (bool )wxGrid_IsSelection(_arg0
);
11277 wxPy_END_ALLOW_THREADS
;
11278 } _resultobj
= Py_BuildValue("i",_result
);
11282 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11283 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
* _resultobj
;
11286 PyObject
* _argo0
= 0;
11287 char *_kwnames
[] = { "self", NULL
};
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11300 wxPy_BEGIN_ALLOW_THREADS
;
11301 wxGrid_ClearSelection(_arg0
);
11303 wxPy_END_ALLOW_THREADS
;
11304 } Py_INCREF(Py_None
);
11305 _resultobj
= Py_None
;
11309 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11310 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
* _resultobj
;
11316 PyObject
* _argo0
= 0;
11317 char *_kwnames
[] = { "self","row","col", NULL
};
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11330 wxPy_BEGIN_ALLOW_THREADS
;
11331 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11333 wxPy_END_ALLOW_THREADS
;
11334 } _resultobj
= Py_BuildValue("i",_result
);
11338 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11339 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
* _resultobj
;
11343 wxGridCellCoords
* _arg1
;
11344 wxGridCellCoords
* _arg2
;
11345 PyObject
* _argo0
= 0;
11346 wxGridCellCoords temp
;
11347 PyObject
* _obj1
= 0;
11348 wxGridCellCoords temp0
;
11349 PyObject
* _obj2
= 0;
11350 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11365 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11370 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11374 wxPy_BEGIN_ALLOW_THREADS
;
11375 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11377 wxPy_END_ALLOW_THREADS
;
11378 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11379 _resultobj
= Py_BuildValue("s",_ptemp
);
11383 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11384 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
* _resultobj
;
11386 wxColour
* _result
;
11388 PyObject
* _argo0
= 0;
11389 char *_kwnames
[] = { "self", NULL
};
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11403 wxPy_BEGIN_ALLOW_THREADS
;
11404 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11406 wxPy_END_ALLOW_THREADS
;
11407 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11408 _resultobj
= Py_BuildValue("s",_ptemp
);
11412 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11413 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
* _resultobj
;
11415 wxColour
* _result
;
11417 PyObject
* _argo0
= 0;
11418 char *_kwnames
[] = { "self", NULL
};
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
11425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11432 wxPy_BEGIN_ALLOW_THREADS
;
11433 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
11435 wxPy_END_ALLOW_THREADS
;
11436 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11437 _resultobj
= Py_BuildValue("s",_ptemp
);
11441 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11442 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
* _resultobj
;
11446 PyObject
* _argo0
= 0;
11448 PyObject
* _obj1
= 0;
11449 char *_kwnames
[] = { "self","c", NULL
};
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
11455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11463 if (! wxColour_helper(_obj1
, &_arg1
))
11467 wxPy_BEGIN_ALLOW_THREADS
;
11468 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
11470 wxPy_END_ALLOW_THREADS
;
11471 } Py_INCREF(Py_None
);
11472 _resultobj
= Py_None
;
11476 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11477 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
* _resultobj
;
11481 PyObject
* _argo0
= 0;
11483 PyObject
* _obj1
= 0;
11484 char *_kwnames
[] = { "self","c", NULL
};
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
11490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11498 if (! wxColour_helper(_obj1
, &_arg1
))
11502 wxPy_BEGIN_ALLOW_THREADS
;
11503 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
11505 wxPy_END_ALLOW_THREADS
;
11506 } Py_INCREF(Py_None
);
11507 _resultobj
= Py_None
;
11511 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11512 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
* _resultobj
;
11516 wxGridCellRenderer
* _arg2
;
11517 wxGridCellEditor
* _arg3
;
11518 PyObject
* _argo0
= 0;
11519 PyObject
* _obj1
= 0;
11520 PyObject
* _argo2
= 0;
11521 PyObject
* _argo3
= 0;
11522 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11535 #if PYTHON_API_VERSION >= 1009
11536 char* tmpPtr
; int tmpSize
;
11537 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11538 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11541 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11543 _arg1
= new wxString(tmpPtr
, tmpSize
);
11545 if (!PyString_Check(_obj1
)) {
11546 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11549 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11553 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11554 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
11555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11560 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11561 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11567 wxPy_BEGIN_ALLOW_THREADS
;
11568 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
11570 wxPy_END_ALLOW_THREADS
;
11571 } Py_INCREF(Py_None
);
11572 _resultobj
= Py_None
;
11580 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11581 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
* _resultobj
;
11583 wxGridCellEditor
* _result
;
11587 PyObject
* _argo0
= 0;
11588 char *_kwnames
[] = { "self","row","col", NULL
};
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11602 wxPy_BEGIN_ALLOW_THREADS
;
11603 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
11605 wxPy_END_ALLOW_THREADS
;
11607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11608 _resultobj
= Py_BuildValue("s",_ptemp
);
11610 Py_INCREF(Py_None
);
11611 _resultobj
= Py_None
;
11616 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11617 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
* _resultobj
;
11619 wxGridCellRenderer
* _result
;
11623 PyObject
* _argo0
= 0;
11624 char *_kwnames
[] = { "self","row","col", NULL
};
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11638 wxPy_BEGIN_ALLOW_THREADS
;
11639 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
11641 wxPy_END_ALLOW_THREADS
;
11643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11644 _resultobj
= Py_BuildValue("s",_ptemp
);
11646 Py_INCREF(Py_None
);
11647 _resultobj
= Py_None
;
11652 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11653 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
* _resultobj
;
11655 wxGridCellEditor
* _result
;
11658 PyObject
* _argo0
= 0;
11659 PyObject
* _obj1
= 0;
11660 char *_kwnames
[] = { "self","typeName", NULL
};
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
11667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
11674 #if PYTHON_API_VERSION >= 1009
11675 char* tmpPtr
; int tmpSize
;
11676 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11680 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11682 _arg1
= new wxString(tmpPtr
, tmpSize
);
11684 if (!PyString_Check(_obj1
)) {
11685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11688 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11692 wxPy_BEGIN_ALLOW_THREADS
;
11693 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
11695 wxPy_END_ALLOW_THREADS
;
11697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11698 _resultobj
= Py_BuildValue("s",_ptemp
);
11700 Py_INCREF(Py_None
);
11701 _resultobj
= Py_None
;
11710 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11711 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
* _resultobj
;
11713 wxGridCellRenderer
* _result
;
11716 PyObject
* _argo0
= 0;
11717 PyObject
* _obj1
= 0;
11718 char *_kwnames
[] = { "self","typeName", NULL
};
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
11725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11732 #if PYTHON_API_VERSION >= 1009
11733 char* tmpPtr
; int tmpSize
;
11734 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11735 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11738 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11740 _arg1
= new wxString(tmpPtr
, tmpSize
);
11742 if (!PyString_Check(_obj1
)) {
11743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11746 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11750 wxPy_BEGIN_ALLOW_THREADS
;
11751 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
11753 wxPy_END_ALLOW_THREADS
;
11755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11756 _resultobj
= Py_BuildValue("s",_ptemp
);
11758 Py_INCREF(Py_None
);
11759 _resultobj
= Py_None
;
11768 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11769 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
* _resultobj
;
11774 PyObject
* _argo0
= 0;
11775 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11788 wxPy_BEGIN_ALLOW_THREADS
;
11789 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
11791 wxPy_END_ALLOW_THREADS
;
11792 } Py_INCREF(Py_None
);
11793 _resultobj
= Py_None
;
11797 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
11799 wxNotifyEvent
*dest
;
11800 src
= (wxGridEvent
*) ptr
;
11801 dest
= (wxNotifyEvent
*) src
;
11802 return (void *) dest
;
11805 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
11807 wxCommandEvent
*dest
;
11808 src
= (wxGridEvent
*) ptr
;
11809 dest
= (wxCommandEvent
*) src
;
11810 return (void *) dest
;
11813 static void *SwigwxGridEventTowxEvent(void *ptr
) {
11816 src
= (wxGridEvent
*) ptr
;
11817 dest
= (wxEvent
*) src
;
11818 return (void *) dest
;
11821 #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))
11822 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
* _resultobj
;
11824 wxGridEvent
* _result
;
11828 int _arg3
= (int ) -1;
11829 int _arg4
= (int ) -1;
11830 int _arg5
= (int ) -1;
11831 int _arg6
= (int ) -1;
11832 bool _arg7
= (bool ) TRUE
;
11833 bool _arg8
= (bool ) FALSE
;
11834 bool _arg9
= (bool ) FALSE
;
11835 bool _arg10
= (bool ) FALSE
;
11836 bool _arg11
= (bool ) FALSE
;
11837 PyObject
* _argo2
= 0;
11838 int tempbool7
= (int) TRUE
;
11839 int tempbool8
= (int) FALSE
;
11840 int tempbool9
= (int) FALSE
;
11841 int tempbool10
= (int) FALSE
;
11842 int tempbool11
= (int) FALSE
;
11843 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
11847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
11850 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11851 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
11852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11856 _arg7
= (bool ) tempbool7
;
11857 _arg8
= (bool ) tempbool8
;
11858 _arg9
= (bool ) tempbool9
;
11859 _arg10
= (bool ) tempbool10
;
11860 _arg11
= (bool ) tempbool11
;
11862 wxPy_BEGIN_ALLOW_THREADS
;
11863 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
11865 wxPy_END_ALLOW_THREADS
;
11867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
11868 _resultobj
= Py_BuildValue("s",_ptemp
);
11870 Py_INCREF(Py_None
);
11871 _resultobj
= Py_None
;
11876 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11877 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
* _resultobj
;
11880 wxGridEvent
* _arg0
;
11881 PyObject
* _argo0
= 0;
11882 char *_kwnames
[] = { "self", NULL
};
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
11888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11895 wxPy_BEGIN_ALLOW_THREADS
;
11896 _result
= (int )wxGridEvent_GetRow(_arg0
);
11898 wxPy_END_ALLOW_THREADS
;
11899 } _resultobj
= Py_BuildValue("i",_result
);
11903 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11904 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
* _resultobj
;
11907 wxGridEvent
* _arg0
;
11908 PyObject
* _argo0
= 0;
11909 char *_kwnames
[] = { "self", NULL
};
11912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
11915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11922 wxPy_BEGIN_ALLOW_THREADS
;
11923 _result
= (int )wxGridEvent_GetCol(_arg0
);
11925 wxPy_END_ALLOW_THREADS
;
11926 } _resultobj
= Py_BuildValue("i",_result
);
11930 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11931 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
* _resultobj
;
11934 wxGridEvent
* _arg0
;
11935 PyObject
* _argo0
= 0;
11936 char *_kwnames
[] = { "self", NULL
};
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
11943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11950 wxPy_BEGIN_ALLOW_THREADS
;
11951 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
11953 wxPy_END_ALLOW_THREADS
;
11954 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
11955 _resultobj
= Py_BuildValue("s",_ptemp
);
11959 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11960 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
* _resultobj
;
11963 wxGridEvent
* _arg0
;
11964 PyObject
* _argo0
= 0;
11965 char *_kwnames
[] = { "self", NULL
};
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
11971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11978 wxPy_BEGIN_ALLOW_THREADS
;
11979 _result
= (bool )wxGridEvent_Selecting(_arg0
);
11981 wxPy_END_ALLOW_THREADS
;
11982 } _resultobj
= Py_BuildValue("i",_result
);
11986 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11987 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
* _resultobj
;
11990 wxGridEvent
* _arg0
;
11991 PyObject
* _argo0
= 0;
11992 char *_kwnames
[] = { "self", NULL
};
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
11998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12005 wxPy_BEGIN_ALLOW_THREADS
;
12006 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12008 wxPy_END_ALLOW_THREADS
;
12009 } _resultobj
= Py_BuildValue("i",_result
);
12013 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12014 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
* _resultobj
;
12017 wxGridEvent
* _arg0
;
12018 PyObject
* _argo0
= 0;
12019 char *_kwnames
[] = { "self", NULL
};
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12032 wxPy_BEGIN_ALLOW_THREADS
;
12033 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12035 wxPy_END_ALLOW_THREADS
;
12036 } _resultobj
= Py_BuildValue("i",_result
);
12040 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12041 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
* _resultobj
;
12044 wxGridEvent
* _arg0
;
12045 PyObject
* _argo0
= 0;
12046 char *_kwnames
[] = { "self", NULL
};
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12059 wxPy_BEGIN_ALLOW_THREADS
;
12060 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12062 wxPy_END_ALLOW_THREADS
;
12063 } _resultobj
= Py_BuildValue("i",_result
);
12067 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12068 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
* _resultobj
;
12071 wxGridEvent
* _arg0
;
12072 PyObject
* _argo0
= 0;
12073 char *_kwnames
[] = { "self", NULL
};
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12086 wxPy_BEGIN_ALLOW_THREADS
;
12087 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12089 wxPy_END_ALLOW_THREADS
;
12090 } _resultobj
= Py_BuildValue("i",_result
);
12094 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12095 wxGridSizeEvent
*src
;
12096 wxNotifyEvent
*dest
;
12097 src
= (wxGridSizeEvent
*) ptr
;
12098 dest
= (wxNotifyEvent
*) src
;
12099 return (void *) dest
;
12102 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12103 wxGridSizeEvent
*src
;
12104 wxCommandEvent
*dest
;
12105 src
= (wxGridSizeEvent
*) ptr
;
12106 dest
= (wxCommandEvent
*) src
;
12107 return (void *) dest
;
12110 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12111 wxGridSizeEvent
*src
;
12113 src
= (wxGridSizeEvent
*) ptr
;
12114 dest
= (wxEvent
*) src
;
12115 return (void *) dest
;
12118 #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))
12119 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
* _resultobj
;
12121 wxGridSizeEvent
* _result
;
12125 int _arg3
= (int ) -1;
12126 int _arg4
= (int ) -1;
12127 int _arg5
= (int ) -1;
12128 bool _arg6
= (bool ) FALSE
;
12129 bool _arg7
= (bool ) FALSE
;
12130 bool _arg8
= (bool ) FALSE
;
12131 bool _arg9
= (bool ) FALSE
;
12132 PyObject
* _argo2
= 0;
12133 int tempbool6
= (int) FALSE
;
12134 int tempbool7
= (int) FALSE
;
12135 int tempbool8
= (int) FALSE
;
12136 int tempbool9
= (int) FALSE
;
12137 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12144 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12145 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12150 _arg6
= (bool ) tempbool6
;
12151 _arg7
= (bool ) tempbool7
;
12152 _arg8
= (bool ) tempbool8
;
12153 _arg9
= (bool ) tempbool9
;
12155 wxPy_BEGIN_ALLOW_THREADS
;
12156 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12158 wxPy_END_ALLOW_THREADS
;
12160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12161 _resultobj
= Py_BuildValue("s",_ptemp
);
12163 Py_INCREF(Py_None
);
12164 _resultobj
= Py_None
;
12169 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12170 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
* _resultobj
;
12173 wxGridSizeEvent
* _arg0
;
12174 PyObject
* _argo0
= 0;
12175 char *_kwnames
[] = { "self", NULL
};
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12188 wxPy_BEGIN_ALLOW_THREADS
;
12189 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12191 wxPy_END_ALLOW_THREADS
;
12192 } _resultobj
= Py_BuildValue("i",_result
);
12196 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12197 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
* _resultobj
;
12200 wxGridSizeEvent
* _arg0
;
12201 PyObject
* _argo0
= 0;
12202 char *_kwnames
[] = { "self", NULL
};
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12216 wxPy_BEGIN_ALLOW_THREADS
;
12217 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12219 wxPy_END_ALLOW_THREADS
;
12220 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12221 _resultobj
= Py_BuildValue("s",_ptemp
);
12225 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12226 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
* _resultobj
;
12229 wxGridSizeEvent
* _arg0
;
12230 PyObject
* _argo0
= 0;
12231 char *_kwnames
[] = { "self", NULL
};
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12244 wxPy_BEGIN_ALLOW_THREADS
;
12245 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12247 wxPy_END_ALLOW_THREADS
;
12248 } _resultobj
= Py_BuildValue("i",_result
);
12252 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12253 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
* _resultobj
;
12256 wxGridSizeEvent
* _arg0
;
12257 PyObject
* _argo0
= 0;
12258 char *_kwnames
[] = { "self", NULL
};
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12271 wxPy_BEGIN_ALLOW_THREADS
;
12272 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12274 wxPy_END_ALLOW_THREADS
;
12275 } _resultobj
= Py_BuildValue("i",_result
);
12279 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12280 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
* _resultobj
;
12283 wxGridSizeEvent
* _arg0
;
12284 PyObject
* _argo0
= 0;
12285 char *_kwnames
[] = { "self", NULL
};
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12298 wxPy_BEGIN_ALLOW_THREADS
;
12299 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12301 wxPy_END_ALLOW_THREADS
;
12302 } _resultobj
= Py_BuildValue("i",_result
);
12306 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12307 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
* _resultobj
;
12310 wxGridSizeEvent
* _arg0
;
12311 PyObject
* _argo0
= 0;
12312 char *_kwnames
[] = { "self", NULL
};
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
12318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12325 wxPy_BEGIN_ALLOW_THREADS
;
12326 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
12328 wxPy_END_ALLOW_THREADS
;
12329 } _resultobj
= Py_BuildValue("i",_result
);
12333 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
12334 wxGridRangeSelectEvent
*src
;
12335 wxNotifyEvent
*dest
;
12336 src
= (wxGridRangeSelectEvent
*) ptr
;
12337 dest
= (wxNotifyEvent
*) src
;
12338 return (void *) dest
;
12341 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
12342 wxGridRangeSelectEvent
*src
;
12343 wxCommandEvent
*dest
;
12344 src
= (wxGridRangeSelectEvent
*) ptr
;
12345 dest
= (wxCommandEvent
*) src
;
12346 return (void *) dest
;
12349 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
12350 wxGridRangeSelectEvent
*src
;
12352 src
= (wxGridRangeSelectEvent
*) ptr
;
12353 dest
= (wxEvent
*) src
;
12354 return (void *) dest
;
12357 #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))
12358 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
* _resultobj
;
12360 wxGridRangeSelectEvent
* _result
;
12364 wxGridCellCoords
* _arg3
;
12365 wxGridCellCoords
* _arg4
;
12366 bool _arg5
= (bool ) TRUE
;
12367 bool _arg6
= (bool ) FALSE
;
12368 bool _arg7
= (bool ) FALSE
;
12369 bool _arg8
= (bool ) FALSE
;
12370 bool _arg9
= (bool ) FALSE
;
12371 PyObject
* _argo2
= 0;
12372 wxGridCellCoords temp
;
12373 PyObject
* _obj3
= 0;
12374 wxGridCellCoords temp0
;
12375 PyObject
* _obj4
= 0;
12376 int tempbool5
= (int) TRUE
;
12377 int tempbool6
= (int) FALSE
;
12378 int tempbool7
= (int) FALSE
;
12379 int tempbool8
= (int) FALSE
;
12380 int tempbool9
= (int) FALSE
;
12381 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12388 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12389 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12396 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
12401 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
12404 _arg5
= (bool ) tempbool5
;
12405 _arg6
= (bool ) tempbool6
;
12406 _arg7
= (bool ) tempbool7
;
12407 _arg8
= (bool ) tempbool8
;
12408 _arg9
= (bool ) tempbool9
;
12410 wxPy_BEGIN_ALLOW_THREADS
;
12411 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12413 wxPy_END_ALLOW_THREADS
;
12415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
12416 _resultobj
= Py_BuildValue("s",_ptemp
);
12418 Py_INCREF(Py_None
);
12419 _resultobj
= Py_None
;
12424 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12425 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
* _resultobj
;
12427 wxGridCellCoords
* _result
;
12428 wxGridRangeSelectEvent
* _arg0
;
12429 PyObject
* _argo0
= 0;
12430 char *_kwnames
[] = { "self", NULL
};
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
12437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12444 wxPy_BEGIN_ALLOW_THREADS
;
12445 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
12447 wxPy_END_ALLOW_THREADS
;
12448 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
12449 _resultobj
= Py_BuildValue("s",_ptemp
);
12453 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12454 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
* _resultobj
;
12456 wxGridCellCoords
* _result
;
12457 wxGridRangeSelectEvent
* _arg0
;
12458 PyObject
* _argo0
= 0;
12459 char *_kwnames
[] = { "self", NULL
};
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
12466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12473 wxPy_BEGIN_ALLOW_THREADS
;
12474 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
12476 wxPy_END_ALLOW_THREADS
;
12477 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
12478 _resultobj
= Py_BuildValue("s",_ptemp
);
12482 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12483 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
* _resultobj
;
12486 wxGridRangeSelectEvent
* _arg0
;
12487 PyObject
* _argo0
= 0;
12488 char *_kwnames
[] = { "self", NULL
};
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
12494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12501 wxPy_BEGIN_ALLOW_THREADS
;
12502 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
12504 wxPy_END_ALLOW_THREADS
;
12505 } _resultobj
= Py_BuildValue("i",_result
);
12509 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12510 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
* _resultobj
;
12513 wxGridRangeSelectEvent
* _arg0
;
12514 PyObject
* _argo0
= 0;
12515 char *_kwnames
[] = { "self", NULL
};
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
12521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12528 wxPy_BEGIN_ALLOW_THREADS
;
12529 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
12531 wxPy_END_ALLOW_THREADS
;
12532 } _resultobj
= Py_BuildValue("i",_result
);
12536 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12537 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
* _resultobj
;
12540 wxGridRangeSelectEvent
* _arg0
;
12541 PyObject
* _argo0
= 0;
12542 char *_kwnames
[] = { "self", NULL
};
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
12548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12555 wxPy_BEGIN_ALLOW_THREADS
;
12556 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
12558 wxPy_END_ALLOW_THREADS
;
12559 } _resultobj
= Py_BuildValue("i",_result
);
12563 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12564 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
* _resultobj
;
12567 wxGridRangeSelectEvent
* _arg0
;
12568 PyObject
* _argo0
= 0;
12569 char *_kwnames
[] = { "self", NULL
};
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
12575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12582 wxPy_BEGIN_ALLOW_THREADS
;
12583 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
12585 wxPy_END_ALLOW_THREADS
;
12586 } _resultobj
= Py_BuildValue("i",_result
);
12590 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12591 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
* _resultobj
;
12594 wxGridRangeSelectEvent
* _arg0
;
12595 PyObject
* _argo0
= 0;
12596 char *_kwnames
[] = { "self", NULL
};
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
12602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12609 wxPy_BEGIN_ALLOW_THREADS
;
12610 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
12612 wxPy_END_ALLOW_THREADS
;
12613 } _resultobj
= Py_BuildValue("i",_result
);
12617 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12618 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
* _resultobj
;
12621 wxGridRangeSelectEvent
* _arg0
;
12622 PyObject
* _argo0
= 0;
12623 char *_kwnames
[] = { "self", NULL
};
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
12629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12636 wxPy_BEGIN_ALLOW_THREADS
;
12637 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
12639 wxPy_END_ALLOW_THREADS
;
12640 } _resultobj
= Py_BuildValue("i",_result
);
12644 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12645 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
* _resultobj
;
12648 wxGridRangeSelectEvent
* _arg0
;
12649 PyObject
* _argo0
= 0;
12650 char *_kwnames
[] = { "self", NULL
};
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
12656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12663 wxPy_BEGIN_ALLOW_THREADS
;
12664 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
12666 wxPy_END_ALLOW_THREADS
;
12667 } _resultobj
= Py_BuildValue("i",_result
);
12671 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12672 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
* _resultobj
;
12675 wxGridRangeSelectEvent
* _arg0
;
12676 PyObject
* _argo0
= 0;
12677 char *_kwnames
[] = { "self", NULL
};
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
12683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12690 wxPy_BEGIN_ALLOW_THREADS
;
12691 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
12693 wxPy_END_ALLOW_THREADS
;
12694 } _resultobj
= Py_BuildValue("i",_result
);
12698 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12699 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
* _resultobj
;
12702 wxGridRangeSelectEvent
* _arg0
;
12703 PyObject
* _argo0
= 0;
12704 char *_kwnames
[] = { "self", NULL
};
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
12710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12717 wxPy_BEGIN_ALLOW_THREADS
;
12718 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
12720 wxPy_END_ALLOW_THREADS
;
12721 } _resultobj
= Py_BuildValue("i",_result
);
12725 static PyMethodDef gridcMethods
[] = {
12726 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12727 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12728 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12729 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12730 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
12731 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
12732 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
12733 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
12734 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
12735 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
12736 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
12737 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
12738 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12739 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12740 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12741 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12742 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12743 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
12744 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
12745 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12746 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12747 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12748 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12749 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
12750 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12751 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
12752 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
12753 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
12754 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
12755 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
12756 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
12757 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
12758 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
12759 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
12760 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
12761 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
12762 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
12763 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
12764 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
12765 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
12766 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
12767 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
12768 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
12769 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
12770 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
12771 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
12772 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12773 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12774 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
12775 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
12776 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
12777 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
12778 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
12779 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
12780 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12781 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12782 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12783 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12784 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12785 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12786 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12787 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12788 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12789 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12790 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12791 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12792 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
12793 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
12794 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
12795 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
12796 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
12797 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
12798 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
12799 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
12800 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
12801 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12802 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12803 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12804 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12805 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12806 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12807 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12808 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12809 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12810 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12811 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
12812 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
12813 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12814 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12815 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12816 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
12817 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
12818 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
12819 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
12820 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
12821 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12822 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12823 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12824 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12825 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12826 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12827 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12828 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12829 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12830 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12831 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12832 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
12833 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
12834 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12835 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12836 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12837 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12838 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
12839 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12840 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12841 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12842 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12843 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
12844 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
12845 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12846 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12847 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12848 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12849 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
12850 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12851 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12852 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12853 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12854 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12855 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12856 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
12857 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
12858 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
12859 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
12860 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
12861 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
12862 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
12863 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
12864 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
12865 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
12866 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
12867 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
12868 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
12869 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
12870 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
12871 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
12872 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
12873 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
12874 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
12875 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
12876 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
12877 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
12878 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12879 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12880 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12881 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
12882 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12883 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
12884 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12885 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12886 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
12887 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
12888 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
12889 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
12890 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
12891 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
12892 { "wxGrid_StringToLines", (PyCFunction
) _wrap_wxGrid_StringToLines
, METH_VARARGS
| METH_KEYWORDS
},
12893 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12894 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12895 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12896 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12897 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12898 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12899 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12900 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12901 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
12902 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
12903 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
12904 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12905 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
12906 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
12907 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
12908 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
12909 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
12910 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
12911 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
12912 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
12913 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
12914 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
12915 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
12916 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
12917 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
12918 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
12919 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
12920 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
12921 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
12922 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
12923 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
12924 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
12925 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
12926 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
12927 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12928 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12929 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
12930 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12931 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12932 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12933 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12934 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
12935 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12936 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12937 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12938 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12939 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12940 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12941 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12942 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12943 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12944 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12945 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12946 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12947 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12948 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
12949 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12950 { "wxPyGridTableBase__setSelf", (PyCFunction
) _wrap_wxPyGridTableBase__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
12951 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
12952 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12953 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12954 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12955 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12956 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
12957 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12958 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12959 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12960 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12961 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12962 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12963 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12964 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12965 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12966 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12967 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12968 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
12969 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
12970 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
12971 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
12972 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
12973 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
12974 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12975 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12976 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
12977 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12978 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12979 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
12980 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
12981 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
12982 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
12983 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
12984 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12985 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12986 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12987 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12988 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12989 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12990 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
12991 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12992 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
12993 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
12994 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12995 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12996 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12997 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12998 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12999 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13000 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13001 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13002 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13003 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13004 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13005 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13006 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13007 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13008 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13009 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13010 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13011 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13012 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13013 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13014 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13015 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13016 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13017 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13018 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13019 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13020 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13021 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13022 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13023 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13024 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13025 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13026 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13027 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13028 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13029 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13030 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13031 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13032 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13033 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13034 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13035 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13036 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13037 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13038 { "wxPyGridCellEditor__setSelf", (PyCFunction
) _wrap_wxPyGridCellEditor__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13039 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13040 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13041 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13042 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13043 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13044 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13045 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13046 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13047 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13048 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13049 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13050 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
13051 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
13052 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
13053 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13054 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13055 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13056 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13057 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13058 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
13059 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13060 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13061 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13062 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13063 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13064 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13065 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13066 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13067 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13068 { "wxPyGridCellRenderer__setSelf", (PyCFunction
) _wrap_wxPyGridCellRenderer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13069 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13070 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13071 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
13072 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13073 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13074 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13075 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13082 * This table is used by the pointer type-checker
13084 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
13085 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13086 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13087 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13088 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13089 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13090 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
13091 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
13092 { "_wxEvent","_class_wxEvent",0},
13093 { "_class_wxActivateEvent","_wxActivateEvent",0},
13094 { "_signed_long","_long",0},
13095 { "_wxMenuEvent","_class_wxMenuEvent",0},
13096 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13097 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13098 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13099 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13100 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13101 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13102 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13103 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13104 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13105 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13106 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13107 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13108 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13109 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13110 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13111 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13112 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13113 { "_wxPrintQuality","_wxCoord",0},
13114 { "_wxPrintQuality","_int",0},
13115 { "_wxPrintQuality","_signed_int",0},
13116 { "_wxPrintQuality","_unsigned_int",0},
13117 { "_wxPrintQuality","_wxWindowID",0},
13118 { "_wxPrintQuality","_uint",0},
13119 { "_wxPrintQuality","_EBool",0},
13120 { "_wxPrintQuality","_size_t",0},
13121 { "_wxPrintQuality","_time_t",0},
13122 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13123 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13124 { "_class_wxRegionIterator","_wxRegionIterator",0},
13125 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13126 { "_class_wxMenuBar","_wxMenuBar",0},
13127 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13128 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
13129 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
13130 { "_class_wxEvtHandler","_wxEvtHandler",0},
13131 { "_wxPaintEvent","_class_wxPaintEvent",0},
13132 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13133 { "_wxCursor","_class_wxCursor",0},
13134 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13135 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13136 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13137 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13138 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13139 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13140 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13141 { "_wxMask","_class_wxMask",0},
13142 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13143 { "_wxGrid","_class_wxGrid",0},
13144 { "_wxPen","_class_wxPen",0},
13145 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13146 { "_byte","_unsigned_char",0},
13147 { "_wxDataObject","_class_wxDataObject",0},
13148 { "_wxStaticBox","_class_wxStaticBox",0},
13149 { "_wxColourDatabase","_class_wxColourDatabase",0},
13150 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13151 { "_wxPyDropSource","_class_wxPyDropSource",0},
13152 { "_wxChoice","_class_wxChoice",0},
13153 { "_wxSlider","_class_wxSlider",0},
13154 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13155 { "_long","_unsigned_long",0},
13156 { "_long","_signed_long",0},
13157 { "_wxImageList","_class_wxImageList",0},
13158 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13159 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13160 { "_wxBitmapButton","_class_wxBitmapButton",0},
13161 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13162 { "_class_wxClipboard","_wxClipboard",0},
13163 { "_class_wxGauge","_wxGauge",0},
13164 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13165 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
13166 { "_wxDC","_class_wxDC",0},
13167 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13168 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13169 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
13170 { "_wxSpinEvent","_class_wxSpinEvent",0},
13171 { "_size_t","_WXGRIDSELECTIONMODES",0},
13172 { "_size_t","_wxCoord",0},
13173 { "_size_t","_wxPrintQuality",0},
13174 { "_size_t","_time_t",0},
13175 { "_size_t","_unsigned_int",0},
13176 { "_size_t","_int",0},
13177 { "_size_t","_wxWindowID",0},
13178 { "_size_t","_uint",0},
13179 { "_class_wxRealPoint","_wxRealPoint",0},
13180 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13181 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
13182 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13183 { "_class_wxMenuItem","_wxMenuItem",0},
13184 { "_class_wxPaintEvent","_wxPaintEvent",0},
13185 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13186 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
13187 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
13188 { "_wxPanel","_class_wxPanel",0},
13189 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13190 { "_wxCheckBox","_class_wxCheckBox",0},
13191 { "_wxPyEvent","_class_wxPyEvent",0},
13192 { "_wxTextCtrl","_class_wxTextCtrl",0},
13193 { "_class_wxMask","_wxMask",0},
13194 { "_wxTextDataObject","_class_wxTextDataObject",0},
13195 { "_class_wxKeyEvent","_wxKeyEvent",0},
13196 { "_class_wxGrid","_wxGrid",0},
13197 { "_wxColour","_class_wxColour",0},
13198 { "_class_wxDialog","_wxDialog",0},
13199 { "_class_wxFileDataObject","_wxFileDataObject",0},
13200 { "_wxIdleEvent","_class_wxIdleEvent",0},
13201 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13202 { "_class_wxDataObject","_wxDataObject",0},
13203 { "_wxStaticLine","_class_wxStaticLine",0},
13204 { "_wxBrush","_class_wxBrush",0},
13205 { "_wxToggleButton","_class_wxToggleButton",0},
13206 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13207 { "_wxDataFormat","_class_wxDataFormat",0},
13208 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13209 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13210 { "_wxShowEvent","_class_wxShowEvent",0},
13211 { "_uint","_WXGRIDSELECTIONMODES",0},
13212 { "_uint","_wxCoord",0},
13213 { "_uint","_wxPrintQuality",0},
13214 { "_uint","_time_t",0},
13215 { "_uint","_size_t",0},
13216 { "_uint","_unsigned_int",0},
13217 { "_uint","_int",0},
13218 { "_uint","_wxWindowID",0},
13219 { "_wxChar","_char",0},
13220 { "_wxPyValidator","_class_wxPyValidator",0},
13221 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13222 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13223 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13224 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13225 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
13226 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
13227 { "_class_wxEvent","_wxEvent",0},
13228 { "_wxCheckListBox","_class_wxCheckListBox",0},
13229 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13230 { "_wxGridEvent","_class_wxGridEvent",0},
13231 { "_wxRect","_class_wxRect",0},
13232 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13233 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13234 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13235 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13236 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13237 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13238 { "_wxCommandEvent","_class_wxCommandEvent",0},
13239 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13240 { "_wxSizeEvent","_class_wxSizeEvent",0},
13241 { "_wxPoint","_class_wxPoint",0},
13242 { "_class_wxButton","_wxButton",0},
13243 { "_wxRadioBox","_class_wxRadioBox",0},
13244 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13245 { "_char","_wxChar",0},
13246 { "_wxBitmap","_class_wxBitmap",0},
13247 { "_wxPenList","_class_wxPenList",0},
13248 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13249 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13250 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13251 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13252 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13253 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13254 { "_wxWindowDC","_class_wxWindowDC",0},
13255 { "_wxTimerEvent","_class_wxTimerEvent",0},
13256 { "_wxScrollBar","_class_wxScrollBar",0},
13257 { "_wxSpinButton","_class_wxSpinButton",0},
13258 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13259 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13260 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13261 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13262 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13263 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13264 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13265 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13266 { "_class_wxValidator","_wxValidator",0},
13267 { "_class_wxPyEvent","_wxPyEvent",0},
13268 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13269 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13270 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13271 { "_wxDropTarget","_class_wxDropTarget",0},
13272 { "_class_wxStaticLine","_wxStaticLine",0},
13273 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13274 { "_class_wxColourDatabase","_wxColourDatabase",0},
13275 { "_wxScrollEvent","_class_wxScrollEvent",0},
13276 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13277 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13278 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13279 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13280 { "_wxGridTableBase","_class_wxGridTableBase",0},
13281 { "_wxGridStringTable","_class_wxGridStringTable",0},
13282 { "_EBool","_WXGRIDSELECTIONMODES",0},
13283 { "_EBool","_wxCoord",0},
13284 { "_EBool","_wxPrintQuality",0},
13285 { "_EBool","_signed_int",0},
13286 { "_EBool","_int",0},
13287 { "_EBool","_wxWindowID",0},
13288 { "_class_wxRegion","_wxRegion",0},
13289 { "_class_wxDataFormat","_wxDataFormat",0},
13290 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13291 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13292 { "_wxStaticText","_class_wxStaticText",0},
13293 { "_wxFont","_class_wxFont",0},
13294 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13295 { "_wxCloseEvent","_class_wxCloseEvent",0},
13296 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13297 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13298 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13299 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13300 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13301 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13302 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13303 { "_unsigned_long","_long",0},
13304 { "_class_wxRect","_wxRect",0},
13305 { "_class_wxDC","_wxDC",0},
13306 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13307 { "_WXGRIDSELECTIONMODES","_int",0},
13308 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13309 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13310 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13311 { "_WXGRIDSELECTIONMODES","_uint",0},
13312 { "_WXGRIDSELECTIONMODES","_EBool",0},
13313 { "_WXGRIDSELECTIONMODES","_size_t",0},
13314 { "_WXGRIDSELECTIONMODES","_time_t",0},
13315 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13316 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13317 { "_class_wxBrushList","_wxBrushList",0},
13318 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13319 { "_class_wxPenList","_wxPenList",0},
13320 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13321 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13322 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13323 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13324 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13325 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13326 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13327 { "_wxFocusEvent","_class_wxFocusEvent",0},
13328 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13329 { "_class_wxTimerEvent","_wxTimerEvent",0},
13330 { "_class_wxSpinButton","_wxSpinButton",0},
13331 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13332 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
13333 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
13334 { "_class_wxPanel","_wxPanel",0},
13335 { "_class_wxCheckBox","_wxCheckBox",0},
13336 { "_wxComboBox","_class_wxComboBox",0},
13337 { "_wxRadioButton","_class_wxRadioButton",0},
13338 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13339 { "_signed_int","_wxCoord",0},
13340 { "_signed_int","_wxPrintQuality",0},
13341 { "_signed_int","_EBool",0},
13342 { "_signed_int","_wxWindowID",0},
13343 { "_signed_int","_int",0},
13344 { "_class_wxTextCtrl","_wxTextCtrl",0},
13345 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13346 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
13347 { "_class_wxTextDataObject","_wxTextDataObject",0},
13348 { "_wxMenu","_class_wxMenu",0},
13349 { "_class_wxMoveEvent","_wxMoveEvent",0},
13350 { "_wxListBox","_class_wxListBox",0},
13351 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13352 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13353 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13354 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13355 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13356 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13357 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13358 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13359 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13360 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13361 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13362 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13363 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13364 { "_wxScreenDC","_class_wxScreenDC",0},
13365 { "_WXTYPE","_short",0},
13366 { "_WXTYPE","_signed_short",0},
13367 { "_WXTYPE","_unsigned_short",0},
13368 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13369 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13370 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13371 { "_class_wxDropTarget","_wxDropTarget",0},
13372 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13373 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13374 { "_class_wxBrush","_wxBrush",0},
13375 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13376 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13377 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13378 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13379 { "_class_wxGridTableBase","_wxGridTableBase",0},
13380 { "_unsigned_short","_WXTYPE",0},
13381 { "_unsigned_short","_short",0},
13382 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
13383 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
13384 { "_class_wxWindow","_wxWindow",0},
13385 { "_class_wxStaticText","_wxStaticText",0},
13386 { "_class_wxFont","_wxFont",0},
13387 { "_wxClipboard","_class_wxClipboard",0},
13388 { "_class_wxPyValidator","_wxPyValidator",0},
13389 { "_class_wxCloseEvent","_wxCloseEvent",0},
13390 { "_wxBusyInfo","_class_wxBusyInfo",0},
13391 { "_wxFontList","_class_wxFontList",0},
13392 { "_class_wxMenuEvent","_wxMenuEvent",0},
13393 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13394 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13395 { "_wxClientDC","_class_wxClientDC",0},
13396 { "_wxMouseEvent","_class_wxMouseEvent",0},
13397 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13398 { "_class_wxPoint","_wxPoint",0},
13399 { "_wxRealPoint","_class_wxRealPoint",0},
13400 { "_class_wxRadioBox","_wxRadioBox",0},
13401 { "_signed_short","_WXTYPE",0},
13402 { "_signed_short","_short",0},
13403 { "_wxMemoryDC","_class_wxMemoryDC",0},
13404 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13405 { "_wxPaintDC","_class_wxPaintDC",0},
13406 { "_class_wxWindowDC","_wxWindowDC",0},
13407 { "_class_wxFocusEvent","_wxFocusEvent",0},
13408 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13409 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13410 { "_class_wxCursor","_wxCursor",0},
13411 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13412 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
13413 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
13414 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13415 { "_unsigned_char","_byte",0},
13416 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
13417 { "_class_wxMenu","_wxMenu",0},
13418 { "_wxControl","_class_wxControl",0},
13419 { "_class_wxListBox","_wxListBox",0},
13420 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13421 { "_unsigned_int","_wxCoord",0},
13422 { "_unsigned_int","_wxPrintQuality",0},
13423 { "_unsigned_int","_time_t",0},
13424 { "_unsigned_int","_size_t",0},
13425 { "_unsigned_int","_uint",0},
13426 { "_unsigned_int","_wxWindowID",0},
13427 { "_unsigned_int","_int",0},
13428 { "_wxIcon","_class_wxIcon",0},
13429 { "_wxDialog","_class_wxDialog",0},
13430 { "_class_wxPen","_wxPen",0},
13431 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13432 { "_short","_WXTYPE",0},
13433 { "_short","_unsigned_short",0},
13434 { "_short","_signed_short",0},
13435 { "_class_wxStaticBox","_wxStaticBox",0},
13436 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13437 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13438 { "_class_wxPyDropSource","_wxPyDropSource",0},
13439 { "_class_wxScrollEvent","_wxScrollEvent",0},
13440 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13441 { "_class_wxChoice","_wxChoice",0},
13442 { "_class_wxSlider","_wxSlider",0},
13443 { "_class_wxImageList","_wxImageList",0},
13444 { "_class_wxBitmapButton","_wxBitmapButton",0},
13445 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13446 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13447 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13448 { "_wxWindowID","_wxCoord",0},
13449 { "_wxWindowID","_wxPrintQuality",0},
13450 { "_wxWindowID","_time_t",0},
13451 { "_wxWindowID","_size_t",0},
13452 { "_wxWindowID","_EBool",0},
13453 { "_wxWindowID","_uint",0},
13454 { "_wxWindowID","_int",0},
13455 { "_wxWindowID","_signed_int",0},
13456 { "_wxWindowID","_unsigned_int",0},
13457 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13458 { "_int","_WXGRIDSELECTIONMODES",0},
13459 { "_int","_wxCoord",0},
13460 { "_int","_wxPrintQuality",0},
13461 { "_int","_time_t",0},
13462 { "_int","_size_t",0},
13463 { "_int","_EBool",0},
13464 { "_int","_uint",0},
13465 { "_int","_wxWindowID",0},
13466 { "_int","_unsigned_int",0},
13467 { "_int","_signed_int",0},
13468 { "_class_wxMouseEvent","_wxMouseEvent",0},
13469 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13470 { "_class_wxSpinEvent","_wxSpinEvent",0},
13471 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
13472 { "_time_t","_WXGRIDSELECTIONMODES",0},
13473 { "_time_t","_wxCoord",0},
13474 { "_time_t","_wxPrintQuality",0},
13475 { "_time_t","_unsigned_int",0},
13476 { "_time_t","_int",0},
13477 { "_time_t","_wxWindowID",0},
13478 { "_time_t","_uint",0},
13479 { "_time_t","_size_t",0},
13480 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13481 { "_wxButton","_class_wxButton",0},
13482 { "_wxSize","_class_wxSize",0},
13483 { "_wxRegionIterator","_class_wxRegionIterator",0},
13484 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13485 { "_class_wxPaintDC","_wxPaintDC",0},
13486 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13487 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13488 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13489 { "_class_wxComboBox","_wxComboBox",0},
13490 { "_class_wxRadioButton","_wxRadioButton",0},
13491 { "_wxValidator","_class_wxValidator",0},
13492 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13493 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13494 { "_class_wxControl","_wxControl",0},
13495 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13496 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13497 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13498 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13499 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13500 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13501 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13502 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13503 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13504 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13505 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13506 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13507 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13508 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13509 { "_class_wxIcon","_wxIcon",0},
13510 { "_class_wxColour","_wxColour",0},
13511 { "_class_wxScreenDC","_wxScreenDC",0},
13512 { "_wxPalette","_class_wxPalette",0},
13513 { "_class_wxIdleEvent","_wxIdleEvent",0},
13514 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13515 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13516 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13517 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13518 { "_wxCoord","_int",0},
13519 { "_wxCoord","_signed_int",0},
13520 { "_wxCoord","_unsigned_int",0},
13521 { "_wxCoord","_wxWindowID",0},
13522 { "_wxCoord","_uint",0},
13523 { "_wxCoord","_EBool",0},
13524 { "_wxCoord","_size_t",0},
13525 { "_wxCoord","_time_t",0},
13526 { "_wxCoord","_wxPrintQuality",0},
13527 { "_wxEraseEvent","_class_wxEraseEvent",0},
13528 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13529 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13530 { "_class_wxToggleButton","_wxToggleButton",0},
13531 { "_wxRegion","_class_wxRegion",0},
13532 { "_class_wxShowEvent","_wxShowEvent",0},
13533 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13534 { "_wxActivateEvent","_class_wxActivateEvent",0},
13535 { "_wxGauge","_class_wxGauge",0},
13536 { "_class_wxCheckListBox","_wxCheckListBox",0},
13537 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13538 { "_class_wxBusyInfo","_wxBusyInfo",0},
13539 { "_class_wxFontList","_wxFontList",0},
13540 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13541 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13542 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13543 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13544 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13545 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13546 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13547 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13548 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13549 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13550 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13551 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13552 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13553 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13554 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13555 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13556 { "_class_wxGridEvent","_wxGridEvent",0},
13557 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13558 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13559 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13560 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13561 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13562 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13563 { "_class_wxCommandEvent","_wxCommandEvent",0},
13564 { "_class_wxClientDC","_wxClientDC",0},
13565 { "_class_wxSizeEvent","_wxSizeEvent",0},
13566 { "_wxBrushList","_class_wxBrushList",0},
13567 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13568 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13569 { "_class_wxSize","_wxSize",0},
13570 { "_class_wxBitmap","_wxBitmap",0},
13571 { "_class_wxMemoryDC","_wxMemoryDC",0},
13572 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13573 { "_wxMenuBar","_class_wxMenuBar",0},
13574 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13575 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13576 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13577 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
13578 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
13579 { "_wxEvtHandler","_class_wxEvtHandler",0},
13580 { "_wxMenuItem","_class_wxMenuItem",0},
13581 { "_class_wxScrollBar","_wxScrollBar",0},
13582 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
13583 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
13584 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13585 { "_wxKeyEvent","_class_wxKeyEvent",0},
13586 { "_wxMoveEvent","_class_wxMoveEvent",0},
13587 { "_class_wxPalette","_wxPalette",0},
13588 { "_wxFileDataObject","_class_wxFileDataObject",0},
13589 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13590 { "_class_wxEraseEvent","_wxEraseEvent",0},
13591 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13592 { "_class_wxGridStringTable","_wxGridStringTable",0},
13593 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
13594 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
13595 { "_wxWindow","_class_wxWindow",0},
13596 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13599 static PyObject
*SWIG_globals
;
13603 SWIGEXPORT(void) initgridc() {
13605 SWIG_globals
= SWIG_newvarlink();
13606 m
= Py_InitModule("gridc", gridcMethods
);
13607 d
= PyModule_GetDict(m
);
13608 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13609 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13610 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13611 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13612 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13613 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13614 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13615 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
13616 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
13617 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
13618 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
13619 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
13620 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
13621 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
13622 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
13623 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
13624 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
13625 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
13626 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
13627 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
13628 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
13629 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
13630 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
13631 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
13632 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
13633 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
13634 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
13635 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
13636 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
13637 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
13638 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
13639 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
13640 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
13642 wxClassInfo::CleanUpClasses();
13643 wxClassInfo::InitializeClasses();
13644 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
13645 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
13646 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
13649 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
13650 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);